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

Method FoldBranchToCommonDest

lib/Transforms/Utils/SimplifyCFG.cpp:2194–2478  ·  view source on GitHub ↗

If this basic block is simple enough, and if a predecessor branches to us and one of our successors, fold the block into the predecessor and use logical operations to pick the right destination.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

checkCSEInPredecessorFunction · 0.85
SafeToMergeTerminatorsFunction · 0.85
DEBUGFunction · 0.85
RemapInstructionFunction · 0.85
extractPredSuccWeightsFunction · 0.85
AddPredecessorToBlockFunction · 0.85
FitWeightsFunction · 0.85
MDBuilderClass · 0.85
isConditionalMethod · 0.80
canTrapMethod · 0.80

Tested by

no test coverage detected