Lines Matching refs:OrigPreheader
81 BasicBlock *OrigPreheader, in RewriteUsesOfClonedInstructions() argument
86 PN->removeIncomingValue(PN->getBasicBlockIndex(OrigPreheader)); in RewriteUsesOfClonedInstructions()
105 SSA.AddAvailableValue(OrigPreheader, OrigPreHeaderVal); in RewriteUsesOfClonedInstructions()
130 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
164 if (UserBB == OrigPreheader) in RewriteUsesOfClonedInstructions()
240 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() local
244 if (!OrigPreheader) in rotateLoop()
279 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
285 TerminatorInst *LoopEntryBranch = OrigPreheader->getTerminator(); in rotateLoop()
339 PN->addIncoming(PN->getIncomingValueForBlock(OrigHeader), OrigPreheader); in rotateLoop()
348 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
361 BranchInst *PHBI = cast<BranchInst>(OrigPreheader->getTerminator()); in rotateLoop()
377 DomTreeNode *OrigPreheaderNode = DT->getNode(OrigPreheader); in rotateLoop()
392 OrigPreheader, NewHeader, in rotateLoop()
420 Exit->removePredecessor(OrigPreheader, true /*preserve LCSSA*/); in rotateLoop()
428 DT->changeImmediateDominator(NewHeader, OrigPreheader); in rotateLoop()