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

Method removePredecessor

lib/IR/BasicBlock.cpp:281–349  ·  view source on GitHub ↗

This method is used to notify a BasicBlock that the specified Predecessor of the block is no longer able to reach it. This is actually not used to update the Predecessor list, but is actually used to update the PHI nodes that reside in the block. Note that this should be called while the predecessor still refers to this block.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestBlocksMethod · 0.45
rotateLoopMethod · 0.45
processSwitchFunction · 0.45
runIPSCCPFunction · 0.45
ProcessBlockMethod · 0.45
ThreadEdgeMethod · 0.45
SplitCriticalEdgeMethod · 0.45
changeToUnreachableMethod · 0.45

Calls 15

frontFunction · 0.85
hasConstantValueMethod · 0.80
assertFunction · 0.50
findFunction · 0.50
pred_beginFunction · 0.50
pred_endFunction · 0.50
getFunction · 0.50
beginFunction · 0.50
emptyMethod · 0.45
getNumIncomingValuesMethod · 0.45
getIncomingBlockMethod · 0.45
removeIncomingValueMethod · 0.45

Tested by 1

TestBlocksMethod · 0.36