llvm::isCriticalEdge

Return true if the specified edge is a critical edge. Critical edges are edges from a block with multiple successors to a block with multiple predecessors.

Synopses

Declared in <llvm/Analysis/CFG.h>

Return true if the specified edge is a critical edge. Critical edges are edges from a block with multiple successors to a block with multiple predecessors.

bool
isCriticalEdge(
    Instruction const* TI,
    unsigned int SuccNum,
    bool AllowIdenticalEdges = false);
» more...
bool
isCriticalEdge(
    Instruction const* TI,
    BasicBlock const* Succ,
    bool AllowIdenticalEdges = false);
» more...