Searched refs:OrigHeader (Results 1 – 2 of 2) sorted by relevance
88 static void RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader, in RewriteUsesOfClonedInstructions() argument92 BasicBlock::iterator I, E = OrigHeader->end(); in RewriteUsesOfClonedInstructions()93 for (I = OrigHeader->begin(); PHINode *PN = dyn_cast<PHINode>(I); ++I) in RewriteUsesOfClonedInstructions()99 for (I = OrigHeader->begin(); I != E; ++I) { in RewriteUsesOfClonedInstructions()112 SSA.AddAvailableValue(OrigHeader, OrigHeaderVal); in RewriteUsesOfClonedInstructions()132 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()155 BasicBlock *OrigHeader = L->getHeader(); in rotateLoop() local157 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop()164 if (!L->isLoopExiting(OrigHeader)) in rotateLoop()179 Metrics.analyzeBasicBlock(OrigHeader); in rotateLoop()[all …]
80 static void RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader, in RewriteUsesOfClonedInstructions() argument84 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() local195 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop()[all …]