Searched refs:OuterLoopHeader (Results 1 – 4 of 4) sorted by relevance
141 const BasicBlock *OuterLoopHeader = OuterLoop.getHeader(); in arePerfectlyNested() local145 if (!containsOnlySafeInstructions(*OuterLoopHeader) || in arePerfectlyNested()147 (InnerLoopPreHeader != OuterLoopHeader && in arePerfectlyNested()220 const BasicBlock *OuterLoopHeader = OuterLoop.getHeader(); in checkLoopsStructure() local247 IncomingBlock == OuterLoopHeader; in checkLoopsStructure()255 if (OuterLoopHeader != InnerLoopPreHeader) { in checkLoopsStructure()257 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in checkLoopsStructure()
588 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local598 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() local1312 if (InnerLoopPreHeader != OuterLoopHeader) { in transform()1317 I.moveBefore(OuterLoopHeader->getTerminator()); in transform()1494 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local1508 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in adjustLoopBranches()1545 OuterLoopHeader); in adjustLoopBranches()[all …]
596 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local606 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in tightlyNested()618 if (containsUnsafeInstructions(OuterLoopHeader) || in tightlyNested()1460 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local1474 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 …]
639 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in tightlyNested() local649 dyn_cast<BranchInst>(OuterLoopHeader->getTerminator()); in tightlyNested()662 if (containsUnsafeInstructionsInHeader(OuterLoopHeader) || in tightlyNested()758 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in currentLimitations() local796 getLoopLatchExitBlock(OuterLoopLatch, OuterLoopHeader); in currentLimitations()1133 BasicBlock *OuterLoopHeader = OuterLoop->getHeader(); in adjustLoopBranches() local1149 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 …]