Bit‐Tracking Dead Code Elimination pass.

Synopsis

Declared in <llvm/Transforms/Scalar/BDCE.h>

Description

Some instructions (shifts, some ands, ors, etc.) kill some of their input bits. This pass tracks those dead bits and removes instructions that compute only dead bits.

Base Classes

Name

Description

OptionalPassInfoMixin<BDCEPass>

A CRTP mix‐in for passes that can be skipped.

Member Functions

Name

Description

run

Run bit‐tracking dead code elimination over the function.

Static Member Functions

Name

Description

isRequired

Return false; optional passes may be skipped.

Created with MrDocs