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

Function isLoopInvariant

lib/Transforms/Scalar/IndVarSimplify.cpp:947–953  ·  view source on GitHub ↗

Perform a quick domtree based check for loop invariance assuming that V is used within the loop. LoopInfo::isLoopInvariant() seems gratuitous for this purpose.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

createExtendInstMethod · 0.85
getLoopPhiForCounterFunction · 0.85
needsLFTRFunction · 0.85
isLoopInvariantMethod · 0.85
checkSrcSubscriptMethod · 0.85
checkDstSubscriptMethod · 0.85
dependsMethod · 0.85
getSplitIterationMethod · 0.85
makeLoopInvariantMethod · 0.85
getAddExprMethod · 0.85
getMulExprMethod · 0.85

Calls 3

properlyDominatesMethod · 0.45
getParentMethod · 0.45
getHeaderMethod · 0.45

Tested by

no test coverage detected