Home
last modified time | relevance | path

Searched refs:OuterLoopHeader (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/llvm/lib/Analysis/
DLoopNestAnalysis.cpp141 const BasicBlock *OuterLoopHeader = OuterLoop.getHeader(); in arePerfectlyNested() local
145 if (!containsOnlySafeInstructions(*OuterLoopHeader) || in arePerfectlyNested()
147 (InnerLoopPreHeader != OuterLoopHeader && in arePerfectlyNested()
220 const BasicBlock *OuterLoopHeader = OuterLoop.getHeader(); in checkLoopsStructure() local
247 IncomingBlock == OuterLoopHeader; in checkLoopsStructure()
255 if (OuterLoopHeader != InnerLoopPreHeader) { in checkLoopsStructure()
257 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in checkLoopsStructure()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp588 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local
598 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in tightlyNested()
610 if (containsUnsafeInstructions(OuterLoopHeader) || in tightlyNested()
617 if (InnerLoopPreHeader != OuterLoopHeader && in tightlyNested()
1311 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in transform() local
1312 if (InnerLoopPreHeader != OuterLoopHeader) { in transform()
1317 I.moveBefore(OuterLoopHeader->getTerminator()); in transform()
1494 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local
1508 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in adjustLoopBranches()
1545 OuterLoopHeader); in adjustLoopBranches()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp596 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local
606 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in tightlyNested()
618 if (containsUnsafeInstructions(OuterLoopHeader) || in tightlyNested()
1460 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local
1474 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in adjustLoopBranches()
1512 OuterLoopHeader); in adjustLoopBranches()
1527 if (OuterLoopLatchBI->getSuccessor(0) == OuterLoopHeader) in adjustLoopBranches()
1542 OuterLoopHeader, OuterLoopLatch, InnerLoop->getExitBlock(), in adjustLoopBranches()
1552 for (PHINode &PHI : drop_begin(OuterLoopHeader->phis(), 1)) in adjustLoopBranches()
1567 PHI->moveBefore(OuterLoopHeader->getFirstNonPHI()); in adjustLoopBranches()
[all …]
/external/llvm/lib/Transforms/Scalar/
DLoopInterchange.cpp639 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local
649 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in tightlyNested()
662 if (containsUnsafeInstructionsInHeader(OuterLoopHeader) || in tightlyNested()
758 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in currentLimitations() local
796 getLoopLatchExitBlock(OuterLoopLatch, OuterLoopHeader); in currentLimitations()
1133 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local
1149 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in adjustLoopBranches()
1187 OuterLoopHeader); in adjustLoopBranches()
1217 if (OuterLoopLatchBI->getSuccessor(0) == OuterLoopHeader) in adjustLoopBranches()
1245 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopPreheaders() local
[all …]