MCPcopy Create free account
hub / github.com/GoSSIP-SJTU/Armariris / getUniquePredecessor

Method getUniquePredecessor

lib/IR/BasicBlock.cpp:239–251  ·  view source on GitHub ↗

If this basic block has a unique predecessor block, return the block, otherwise return a null pointer. Note that unique predecessor doesn't mean single edge, there can be multiple edges from the unique predecessor to this block (for example a switch statement with multiple cases having the same destination).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

runOnFunctionMethod · 0.45
isDynamicConstantFunction · 0.45
IsAcceptableTargetFunction · 0.45
canInterchangeLoopsMethod · 0.45
adjustLoopBranchesMethod · 0.45
reuseTableCompareFunction · 0.45

Calls 2

pred_beginFunction · 0.50
pred_endFunction · 0.50

Tested by 3

runOnFunctionMethod · 0.36