Home
last modified time | relevance | path

Searched refs:OrigPreheader (Results 1 – 3 of 3) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DLoopRotation.cpp89 BasicBlock *OrigPreheader, in RewriteUsesOfClonedInstructions() argument
94 PN->removeIncomingValue(PN->getBasicBlockIndex(OrigPreheader)); in RewriteUsesOfClonedInstructions()
113 SSA.AddAvailableValue(OrigPreheader, OrigPreHeaderVal); in RewriteUsesOfClonedInstructions()
137 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
185 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() local
190 if (OrigPreheader == 0 || OrigLatch == 0) in rotateLoop()
223 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
227 TerminatorInst *LoopEntryBranch = OrigPreheader->getTerminator(); in rotateLoop()
275 PN->addIncoming(PN->getIncomingValueForBlock(OrigHeader), OrigPreheader); in rotateLoop()
284 RewriteUsesOfClonedInstructions(OrigHeader, OrigPreheader, ValueMap); in rotateLoop()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DLoopRotationUtils.cpp80 BasicBlock *OrigPreheader, in RewriteUsesOfClonedInstructions() argument
86 PN->removeIncomingValue(PN->getBasicBlockIndex(OrigPreheader)); in RewriteUsesOfClonedInstructions()
105 SSA.AddAvailableValue(OrigPreheader, OrigPreHeaderVal); in RewriteUsesOfClonedInstructions()
130 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
156 if (UserBB == OrigPreheader) in RewriteUsesOfClonedInstructions()
255 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() local
259 if (!OrigPreheader || !L->hasDedicatedExits()) in rotateLoop()
297 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
301 TerminatorInst *LoopEntryBranch = OrigPreheader->getTerminator(); in rotateLoop()
310 for (auto I = std::next(OrigPreheader->rbegin()), E = OrigPreheader->rend(); in rotateLoop()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopRotation.cpp81 BasicBlock *OrigPreheader, in RewriteUsesOfClonedInstructions() argument
86 PN->removeIncomingValue(PN->getBasicBlockIndex(OrigPreheader)); in RewriteUsesOfClonedInstructions()
105 SSA.AddAvailableValue(OrigPreheader, OrigPreHeaderVal); in RewriteUsesOfClonedInstructions()
130 if (UserBB == OrigPreheader) { in RewriteUsesOfClonedInstructions()
164 if (UserBB == OrigPreheader) in RewriteUsesOfClonedInstructions()
240 BasicBlock *OrigPreheader = L->getLoopPreheader(); in rotateLoop() local
244 if (!OrigPreheader) in rotateLoop()
279 ValueMap[PN] = PN->getIncomingValueForBlock(OrigPreheader); in rotateLoop()
285 TerminatorInst *LoopEntryBranch = OrigPreheader->getTerminator(); in rotateLoop()
339 PN->addIncoming(PN->getIncomingValueForBlock(OrigHeader), OrigPreheader); in rotateLoop()
[all …]