Searched refs:OrigHeader (Results 1 – 4 of 4) 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 …]
79 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()148 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()205 BasicBlock *OrigHeader = L->getHeader(); in rotateLoop() local208 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop()215 if (!L->isLoopExiting(OrigHeader)) in rotateLoop()[all …]
1107 auto *OrigHeader = OrigL.getHeader(); in buildClonedLoops() local1110 auto *ClonedHeader = cast<BasicBlock>(VMap.lookup(OrigHeader)); in buildClonedLoops()