Lines Matching refs:BBI
396 for (BasicBlock &BBI : *F) { in getCommonReturnValue()
397 ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator()); in getCommonReturnValue()
456 BasicBlock::iterator BBI(TI); in findTRECandidate() local
458 CI = dyn_cast<CallInst>(BBI); in findTRECandidate()
462 if (BBI == BB->begin()) in findTRECandidate()
464 --BBI; in findTRECandidate()
517 BasicBlock::iterator BBI(CI); in eliminateRecursiveTailCall() local
518 for (++BBI; &*BBI != Ret; ++BBI) { in eliminateRecursiveTailCall()
519 if (canMoveAboveCall(&*BBI, CI)) continue; in eliminateRecursiveTailCall()
526 canTransformAccumulatorRecursion(&*BBI, CI))) { in eliminateRecursiveTailCall()
529 AccumulatorRecursionInstr = &*BBI; in eliminateRecursiveTailCall()
656 for (BasicBlock &BBI : *F) in eliminateRecursiveTailCall()
657 if (ReturnInst *RI = dyn_cast<ReturnInst>(BBI.getTerminator())) in eliminateRecursiveTailCall()
764 for (Function::iterator BBI = F.begin(), E = F.end(); BBI != E; /*in loop*/) { in eliminateTailRecursion() local
765 BasicBlock *BB = &*BBI++; // foldReturnAndProcessPred may delete BB. in eliminateTailRecursion()