Return true if the specified edge is a critical edge.
Declared in <llvm/Analysis/CFG.h>
bool
isCriticalEdge(
Instruction const* TI,
unsigned int SuccNum,
bool AllowIdenticalEdges = false);
Critical edges are edges from a block with multiple successors to a block with multiple predecessors.
True if the edge is critical.
| Name | Description |
|---|---|
| TI | Terminator instruction that defines the edge source. |
| SuccNum | Zero-based successor index of the edge. |
| AllowIdenticalEdges | If true, identical edges are not critical. |