Pass that flattens a function's CFG.
Declared in <llvm/Transforms/Scalar/FlattenCFG.h>
struct FlattenCFGPass
: OptionalPassInfoMixin<FlattenCFGPass>
Uses the FlattenCFG utility function, iteratively flattening until no further changes are made.
| Name | Description |
|---|---|
OptionalPassInfoMixin<FlattenCFGPass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
run | Run the pass over the function. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |