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

Method MergeBlocks

lib/CodeGen/IfConversion.cpp:1722–1839  ·  view source on GitHub ↗

MergeBlocks - Move all instructions from FromBB to the end of ToBB. This will leave FromBB as an empty block, so remove all of its successor edges except for the fall-through edge. If AddEdges is true, i.e., when FromBBI's branch is being moved, add those successor edges to ToBBI.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

getNextBlockFunction · 0.85
normalizeSuccProbsMethod · 0.80
setSuccProbabilityMethod · 0.80
assertFunction · 0.50
getZeroFunction · 0.50
findFunction · 0.50
hasAddressTakenMethod · 0.45
getFirstTerminatorMethod · 0.45
spliceMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
isPredicatedMethod · 0.45

Tested by

no test coverage detected