Home
last modified time | relevance | path

Searched refs:OrigHeader (Results 1 – 2 of 2) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp88 static void RewriteUsesOfClonedInstructions(BasicBlock *OrigHeader, in RewriteUsesOfClonedInstructions() argument
92 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() local
157 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop()
164 if (!L->isLoopExiting(OrigHeader)) in rotateLoop()
179 Metrics.analyzeBasicBlock(OrigHeader); in rotateLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp80 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()
[all …]