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

Function SimplifyBranchOnICmpChain

lib/Transforms/Utils/SimplifyCFG.cpp:3257–3365  ·  view source on GitHub ↗

The specified branch is a conditional branch. Check to see if it is branching on an or/and chain of icmp instructions, and fold it into a switch instruction if so.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

SimplifyCondBranchMethod · 0.85

Calls 15

array_pod_sortFunction · 0.85
DEBUGFunction · 0.85
AddPredecessorToBlockFunction · 0.85
isPointerTyMethod · 0.80
addCaseMethod · 0.80
swapFunction · 0.50
getConditionMethod · 0.45
getOpcodeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected