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

Method getConstantEvolutionLoopExitValue

lib/Analysis/ScalarEvolution.cpp:6454–6538  ·  view source on GitHub ↗

getConstantEvolutionLoopExitValue - If we know that the specified Phi is in the header of its containing loop, we know the loop executes a constant number of times, and the PHI node is just a recurrence involving constants, fold it.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

getOtherIncomingValueFunction · 0.85
EvaluateExpressionFunction · 0.85
ugtMethod · 0.80
getLoopLatchMethod · 0.80
getActiveBitsMethod · 0.80
emplace_backMethod · 0.80
assertFunction · 0.50
findMethod · 0.45
endMethod · 0.45
getHeaderMethod · 0.45
getParentMethod · 0.45
countMethod · 0.45

Tested by

no test coverage detected