Searched refs:OuterLoopLatch (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/llvm/lib/Analysis/ |
D | LoopNestAnalysis.cpp | 142 const BasicBlock *OuterLoopLatch = OuterLoop.getLoopLatch(); in arePerfectlyNested() local 146 !containsOnlySafeInstructions(*OuterLoopLatch) || in arePerfectlyNested() 221 const BasicBlock *OuterLoopLatch = OuterLoop.getLoopLatch(); in checkLoopsStructure() local 227 if (OuterLoop.getExitingBlock() != OuterLoopLatch || in checkLoopsStructure() 269 if (Succ == OuterLoopLatch) in checkLoopsStructure() 277 Succ->getSingleSuccessor() == OuterLoopLatch) { in checkLoopsStructure() 298 (SuccInner != OuterLoopLatch && SuccInner != ExtraPhiBlock)) { in checkLoopsStructure()
|
/external/llvm-project/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 590 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in tightlyNested() local 604 Succ != OuterLoopLatch) in tightlyNested() 611 containsUnsafeInstructions(OuterLoopLatch)) in tightlyNested() 1496 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in adjustLoopBranches() local 1504 dyn_cast<BranchInst>(OuterLoopLatch->getTerminator()); in adjustLoopBranches() 1536 if (llvm::is_contained(OuterLoopHeaderBI->successors(), OuterLoopLatch)) in adjustLoopBranches() 1537 updateSuccessor(OuterLoopHeaderBI, OuterLoopLatch, LoopExit, DTUpdates, in adjustLoopBranches() 1575 OuterLoopHeader, OuterLoopLatch, InnerLoop->getExitBlock(), in adjustLoopBranches() 1579 OuterLoopLatchSuccessor->replacePhiUsesWith(OuterLoopLatch, InnerLoopLatch); in adjustLoopBranches() 1605 OuterLoopHeader->replacePhiUsesWith(InnerLoopLatch, OuterLoopLatch); in adjustLoopBranches() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 598 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in tightlyNested() local 612 Succ != OuterLoopLatch) in tightlyNested() 619 containsUnsafeInstructions(OuterLoopLatch)) in tightlyNested() 1462 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in adjustLoopBranches() local 1470 dyn_cast<BranchInst>(OuterLoopLatch->getTerminator()); in adjustLoopBranches() 1503 OuterLoopLatch) != succ_end(OuterLoopHeaderBI)) in adjustLoopBranches() 1504 updateSuccessor(OuterLoopHeaderBI, OuterLoopLatch, LoopExit, DTUpdates, in adjustLoopBranches() 1542 OuterLoopHeader, OuterLoopLatch, InnerLoop->getExitBlock(), in adjustLoopBranches() 1546 OuterLoopLatchSuccessor->replacePhiUsesWith(OuterLoopLatch, InnerLoopLatch); in adjustLoopBranches() 1574 OuterLoopHeader->replacePhiUsesWith(InnerLoopLatch, OuterLoopLatch); in adjustLoopBranches() [all …]
|
/external/llvm/lib/Transforms/Scalar/ |
D | LoopInterchange.cpp | 641 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in tightlyNested() local 655 outerLoopHeaderBI->getSuccessor(i) != OuterLoopLatch) in tightlyNested() 663 containsUnsafeInstructionsInLatch(OuterLoopLatch)) in tightlyNested() 757 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in currentLimitations() local 796 getLoopLatchExitBlock(OuterLoopLatch, OuterLoopHeader); in currentLimitations() 1135 BasicBlock *OuterLoopLatch = OuterLoop->getLoopLatch(); in adjustLoopBranches() local 1145 dyn_cast<BranchInst>(OuterLoopLatch->getTerminator()); in adjustLoopBranches() 1179 if (OuterLoopHeaderBI->getSuccessor(i) == OuterLoopLatch) in adjustLoopBranches() 1227 updateIncomingBlock(OuterLoopLatchSuccessor, OuterLoopLatch, InnerLoopLatch); in adjustLoopBranches()
|