• Home
  • Raw
  • Download

Lines Matching refs:OrigHeader

80 static void RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader,  in RewriteUsesOfClonedInstructions()  argument
84 BasicBlock::iterator I, E = OrigHeader->end(); in RewriteUsesOfClonedInstructions()
85 for (I = OrigHeader->begin(); PHINode *PN = dyn_cast<PHINode>(I); ++I) in RewriteUsesOfClonedInstructions()
91 for (I = OrigHeader->begin(); I != E; ++I) { in RewriteUsesOfClonedInstructions()
104 SSA.AddAvailableValue(OrigHeader, OrigHeaderVal); in RewriteUsesOfClonedInstructions()
125 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()
142 LLVMContext &C = OrigHeader->getContext(); in RewriteUsesOfClonedInstructions()
156 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()
192 BasicBlock *OrigHeader = L->getHeader(); in rotateLoop() local
195 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop()
202 if (!L->isLoopExiting(OrigHeader)) in rotateLoop()
222 Metrics.analyzeBasicBlock(OrigHeader, *TTI, EphValues); in rotateLoop()
273 BasicBlock::iterator I = OrigHeader->begin(), E = OrigHeader->end(); in rotateLoop()
335 TerminatorInst *TI = OrigHeader->getTerminator(); in rotateLoop()
339 PN->addIncoming(PN->getIncomingValueForBlock(OrigHeader), OrigPreheader); in rotateLoop()
348 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
374 DomTreeNode *OrigHeaderNode = DT->getNode(OrigHeader); in rotateLoop()
385 DT->changeImmediateDominator(OrigHeader, OrigLatch); in rotateLoop()
429 DT->changeImmediateDominator(OrigHeader, OrigLatch); in rotateLoop()
434 DomTreeNode *OrigHeaderNode = DT->getNode(OrigHeader); in rotateLoop()
469 MergeBlockIntoPredecessor(OrigHeader, DT, LI); in rotateLoop()