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

Method rewriteLoopExitValues

lib/Transforms/Scalar/IndVarSimplify.cpp:507–659  ·  view source on GitHub ↗

Check to see if this loop has a computable loop-invariant execution count. If so, this means that we can compute the final value of any expressions that are recurrent in the loop, and substitute the exit values from the loop into any instructions outside of the loop that use the final values of the current expressions. This is mostly redundant with the regular IndVarSimplify activities that happe

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 15

isSafeToExpandFunction · 0.85
DEBUGFunction · 0.85
getUniqueExitBlocksMethod · 0.80
isSCEVableMethod · 0.80
forgetValueMethod · 0.80
getSCEVAtScopeMethod · 0.80
getParentLoopMethod · 0.80
getSCEVTypeMethod · 0.80
user_beginMethod · 0.80
user_endMethod · 0.80
isHighCostExpansionMethod · 0.80

Tested by

no test coverage detected