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

Function placeSplitBlockCarefully

lib/Transforms/Utils/LoopSimplify.cpp:81–112  ·  view source on GitHub ↗

If the block isn't already, move the new block to right after some 'outside block' block. This prevents the preheader from being placed inside the loop body, e.g. when the loop hasn't been rotated.

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

separateNestedLoopFunction · 0.85

Calls 6

getIteratorMethod · 0.45
sizeMethod · 0.45
endMethod · 0.45
getParentMethod · 0.45
containsMethod · 0.45
moveAfterMethod · 0.45

Tested by

no test coverage detected