Searched refs:OrigPH (Results 1 – 2 of 2) 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()
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()