Pass that transforms regions into structured control flow.
Declared in <llvm/Transforms/Scalar/StructurizeCFG.h>
struct StructurizeCFGPass
: RequiredPassInfoMixin<StructurizeCFGPass>
Rewrites arbitrary CFGs into a structured form (if/then/else and loops) suitable for targets that require structured control flow. Optionally skips regions that are already uniform.
| Name | Description |
|---|---|
RequiredPassInfoMixin<StructurizeCFGPass> | A CRTP mix-in for passes that should not be skipped. |
| Name | Description |
|---|---|
StructurizeCFGPass [constructor] | Construct a StructurizeCFG pass. |
printPipeline | Print this pass's pipeline representation to OS. |
run | Run the pass over the function. |
| Name | Description |
|---|---|
isRequired | Return true; required passes cannot be skipped. |