Searched refs:OrigPH (Results 1 – 5 of 5) sorted by relevance
395 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops() local398 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()
431 BasicBlock *OrigPH = L->getLoopPreheader(); in cloneLoops() local434 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()
1106 auto *OrigPH = OrigL.getLoopPreheader(); in buildClonedLoops() local1109 auto *ClonedPH = cast<BasicBlock>(VMap.lookup(OrigPH)); in buildClonedLoops()
671 BasicBlock *OrigPH = OrigLoop->getLoopPreheader(); in cloneLoopWithPreheader() local672 assert(OrigPH && "No preheader"); in cloneLoopWithPreheader()673 BasicBlock *NewPH = CloneBasicBlock(OrigPH, VMap, NameSuffix, F); in cloneLoopWithPreheader()675 VMap[OrigPH] = NewPH; in cloneLoopWithPreheader()
753 BasicBlock *OrigPH = OrigLoop->getLoopPreheader(); in cloneLoopWithPreheader() local754 assert(OrigPH && "No preheader"); in cloneLoopWithPreheader()755 BasicBlock *NewPH = CloneBasicBlock(OrigPH, VMap, NameSuffix, F); in cloneLoopWithPreheader()757 VMap[OrigPH] = NewPH; in cloneLoopWithPreheader()