Home
last modified time | relevance | path

Searched refs:OrigPH (Results 1 – 5 of 5) sorted by relevance

/external/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp395 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops() local
398 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops()
407 assert(&*OrigPH->begin() == OrigPH->getTerminator() && in cloneLoops()
413 BasicBlock *TopPH = OrigPH; in cloneLoops()
425 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH); in cloneLoops()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopDistribute.cpp431 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops() local
434 BasicBlock *Pred = OrigPH->getSinglePredecessor(); in cloneLoops()
443 assert(&*OrigPH->begin() == OrigPH->getTerminator() && in cloneLoops()
449 BasicBlock *TopPH = OrigPH; in cloneLoops()
461 Pred->getTerminator()->replaceUsesOfWith(OrigPH, TopPH); in cloneLoops()
DSimpleLoopUnswitch.cpp1106 auto *OrigPH = OrigL.getLoopPreheader(); in buildClonedLoops() local
1109 auto *ClonedPH = cast<BasicBlock>(VMap.lookup(OrigPH)); in buildClonedLoops()
/external/llvm/lib/Transforms/Utils/
DCloneFunction.cpp671 BasicBlock *OrigPH = OrigLoop->getLoopPreheader(); in cloneLoopWithPreheader() local
672 assert(OrigPH && "No preheader"); in cloneLoopWithPreheader()
673 BasicBlock *NewPH = CloneBasicBlock(OrigPH, VMap, NameSuffix, F); in cloneLoopWithPreheader()
675 VMap[OrigPH] = NewPH; in cloneLoopWithPreheader()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DCloneFunction.cpp753 BasicBlock *OrigPH = OrigLoop->getLoopPreheader(); in cloneLoopWithPreheader() local
754 assert(OrigPH && "No preheader"); in cloneLoopWithPreheader()
755 BasicBlock *NewPH = CloneBasicBlock(OrigPH, VMap, NameSuffix, F); in cloneLoopWithPreheader()
757 VMap[OrigPH] = NewPH; in cloneLoopWithPreheader()