Pass that transforms regions into structured control flow.

Synopsis

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

struct StructurizeCFGPass
    : RequiredPassInfoMixin<StructurizeCFGPass>

Description

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.

Base Classes

Name

Description

RequiredPassInfoMixin<StructurizeCFGPass>

A CRTP mix‐in for passes that should not be skipped.

Member Functions

Name

Description

StructurizeCFGPass [constructor]

Construct a StructurizeCFG pass.

printPipeline

Print this pass's pipeline representation to OS.

run

Run the pass over the function.

Static Member Functions

Name

Description

isRequired

Return true; required passes cannot be skipped.

Created with MrDocs