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

Method getSinglePredecessor

lib/IR/BasicBlock.cpp:226–232  ·  view source on GitHub ↗

If this basic block has a single predecessor block, return the block, otherwise return a null pointer.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

SimplifyCleanupEntryFunction · 0.45
runOnBasicBlockMethod · 0.45
SimplifyCodeMethod · 0.45
cloneLoopsMethod · 0.45
processLoopMethod · 0.45
processNodeMethod · 0.45
rotateLoopMethod · 0.45
simplifyLoopLatchMethod · 0.45
isDiamondHeadMethod · 0.45
canHoistFromBlockMethod · 0.45
recognizePopcountMethod · 0.45

Calls 2

pred_beginFunction · 0.50
pred_endFunction · 0.50

Tested by 1

runOnBasicBlockMethod · 0.36