Pass that breaks critical edges in the CFG by inserting dummy basic blocks.
Declared in <llvm/Transforms/Utils/BreakCriticalEdges.h>
struct BreakCriticalEdgesPass
: OptionalPassInfoMixin<BreakCriticalEdgesPass>
This pass may be required by passes that cannot deal with critical edges. For that usage, the structure type is forward declared. This pass invalidates the CFG, but can update dominator trees.
| Name | Description |
|---|---|
OptionalPassInfoMixin<BreakCriticalEdgesPass> | A CRTP mix-in for passes that can be skipped. |
| Name | Description |
|---|---|
run | Run the break-critical-edges pass over the function. |
| Name | Description |
|---|---|
isRequired | Return false; optional passes may be skipped. |