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

Function CloneLoopBlocks

lib/Transforms/Utils/LoopUnrollRuntime.cpp:268–391  ·  view source on GitHub ↗

Create a clone of the blocks in a loop and connect them together. If CreateRemainderLoop is false, loop structure will not be cloned, otherwise a new loop will be created including all cloned blocks, and the iterator of it switches to count NewIter down to 0. The cloned blocks should be inserted between InsertTop and InsertBot. If loop structure is cloned InsertTop should be new preheader, InsertB

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 15

getLoopLatchMethod · 0.80
beginRPOMethod · 0.80
endRPOMethod · 0.80
getParentLoopMethod · 0.80
addChildLoopMethod · 0.80
setLoopIDMethod · 0.80
getFunction · 0.50
getHeaderMethod · 0.45
getParentMethod · 0.45
addTopLevelLoopMethod · 0.45
push_backMethod · 0.45
setSuccessorMethod · 0.45

Tested by

no test coverage detected