Home
last modified time | relevance | path

Searched refs:VersionedLoop (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DLoopVersioning.cpp29 : VersionedLoop(L), NonVersionedLoop(nullptr), LAI(LAI), LI(LI), DT(DT), in LoopVersioning()
56 BasicBlock *RuntimeCheckBB = VersionedLoop->getLoopPreheader(); in versionLoop()
84 RuntimeCheckBB->setName(VersionedLoop->getHeader()->getName() + in versionLoop()
91 PH->setName(VersionedLoop->getHeader()->getName() + ".ph"); in versionLoop()
99 cloneLoopWithPreheader(PH, RuntimeCheckBB, VersionedLoop, VMap, in versionLoop()
106 VersionedLoop->getLoopPreheader(), RuntimeCheck, OrigTerm); in versionLoop()
111 DT->changeImmediateDominator(VersionedLoop->getExitBlock(), RuntimeCheckBB); in versionLoop()
120 BasicBlock *PHIBlock = VersionedLoop->getExitBlock(); in addPHINodes()
140 if (!VersionedLoop->contains(cast<Instruction>(User)->getParent())) in addPHINodes()
142 PN->addIncoming(Inst, VersionedLoop->getExitingBlock()); in addPHINodes()
/external/llvm/include/llvm/Transforms/Utils/
DLoopVersioning.h59 void versionLoop() { versionLoop(findDefsUsedOutsideOfLoop(VersionedLoop)); } in versionLoop()
68 Loop *getVersionedLoop() { return VersionedLoop; } in getVersionedLoop()
91 Loop *VersionedLoop; variable