Lines Matching refs:exitBlk
965 BlockT *exitBlk = exitingBlock2ExitBlock(loopRep, exitingBlk); in loopbreakPatternMatch() local
966 exitBlks.push_back(exitBlk); in loopbreakPatternMatch()
967 exitBlkSet.insert(exitBlk); //non-duplicate insert in loopbreakPatternMatch()
998 BlockT *exitBlk = *iter; in loopbreakPatternMatch() local
1000 PathToKind pathKind = singlePathTo(exitBlk, exitLandBlk, true); in loopbreakPatternMatch()
1002 errs() << "BB" << exitBlk->getNumber() in loopbreakPatternMatch()
1061 BlockT *exitBlk = exitingBlock2ExitBlock(loopRep, exitingBlk); in loopbreakPatternMatch() local
1062 BlockT *newExitBlk = exitBlk; in loopbreakPatternMatch()
1064 if (exitBlk != exitLandBlk && exitBlk->pred_size() > 1) { in loopbreakPatternMatch()
1065 newExitBlk = cloneBlockForPredecessor(exitBlk, exitingBlk); in loopbreakPatternMatch()
1078 BlockT *exitBlk = *iterExit; in loopbreakPatternMatch() local
1079 numSerial += serialPatternMatch(exitBlk); in loopbreakPatternMatch()
1085 BlockT *exitBlk = *iterExit; in loopbreakPatternMatch() local
1086 if (exitBlk->pred_size() > 1) { in loopbreakPatternMatch()
1087 if (exitBlk != exitLandBlk) { in loopbreakPatternMatch()
1091 if (exitBlk != exitLandBlk && in loopbreakPatternMatch()
1092 (exitBlk->succ_size() != 1 || in loopbreakPatternMatch()
1093 *exitBlk->succ_begin() != exitLandBlk)) { in loopbreakPatternMatch()
1108 BlockT *exitBlk = *iterExit; in loopbreakPatternMatch() local
1110 assert(exitBlk->pred_size() == 1 || exitBlk == exitLandBlk); in loopbreakPatternMatch()
1112 handleLoopbreak(exitingBlk, exitingLoop, exitBlk, loopRep, exitLandBlk); in loopbreakPatternMatch()
1443 BlockT *exitBlk, in handleLoopbreak() argument
1465 mergeLoopbreakBlock(exitingBlk, exitBlk, landBlk, initReg); in handleLoopbreak()
1694 BlockT *exitBlk, in mergeLoopbreakBlock() argument
1699 << " exit = BB" << exitBlk->getNumber() in mergeLoopbreakBlock()
1722 if (exitBlk == exitLandBlk && setReg == INVALIDREGNUM) { in mergeLoopbreakBlock()
1725 if (trueBranch != exitBlk) { in mergeLoopbreakBlock()
1731 if (trueBranch != exitBlk) { in mergeLoopbreakBlock()
1736 if (exitBlk != exitLandBlk) { in mergeLoopbreakBlock()
1738 exitingBlk->splice(branchInstrPos, exitBlk, exitBlk->begin(), in mergeLoopbreakBlock()
1739 exitBlk->end()); in mergeLoopbreakBlock()
1753 exitingBlk->removeSuccessor(exitBlk); in mergeLoopbreakBlock()
1754 if (exitBlk != exitLandBlk) { in mergeLoopbreakBlock()
1756 exitBlk->removeSuccessor(exitLandBlk); in mergeLoopbreakBlock()
1757 retireBlock(exitingBlk, exitBlk); in mergeLoopbreakBlock()
1861 BlockT *exitBlk = *iter; in relocateLoopcontBlock() local
1862 BlockT *endBlk = singlePathEnd(exitBlk, exitLandBlk); in relocateLoopcontBlock()
2114 BlockT *exitBlk = NULL; in exitingBlock2ExitBlock() local
2121 assert(exitBlk == NULL); in exitingBlock2ExitBlock()
2122 exitBlk = curBlk; in exitingBlock2ExitBlock()
2126 assert(exitBlk != NULL); in exitingBlock2ExitBlock()
2128 return exitBlk; in exitingBlock2ExitBlock()