Home
last modified time | relevance | path

Searched refs:OrigHeader (Results 1 – 4 of 4) 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 …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp79 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()
148 if (UserBB == OrigHeader) in RewriteUsesOfClonedInstructions()
205 BasicBlock *OrigHeader = L->getHeader(); in rotateLoop() local
208 BranchInst *BI = dyn_cast<BranchInst>(OrigHeader->getTerminator()); in rotateLoop()
215 if (!L->isLoopExiting(OrigHeader)) in rotateLoop()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DSimpleLoopUnswitch.cpp1107 auto *OrigHeader = OrigL.getHeader(); in buildClonedLoops() local
1110 auto *ClonedHeader = cast<BasicBlock>(VMap.lookup(OrigHeader)); in buildClonedLoops()