Lines Matching defs:BBI
366 BasicBlock::iterator BBI = &LI;
367 if (Value *AvailableVal = FindAvailableLoadedValue(Op, LI.getParent(), BBI,6))
601 BasicBlock::iterator BBI = &SI;
602 for (unsigned ScanInsts = 6; BBI != SI.getParent()->begin() && ScanInsts;
604 --BBI;
607 if (isa<DbgInfoIntrinsic>(BBI) ||
608 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
613 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) {
618 ++BBI;
628 if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) {
639 if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory())
671 BBI = &SI;
673 ++BBI;
674 } while (isa<DbgInfoIntrinsic>(BBI) ||
675 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
676 if (BranchInst *BI = dyn_cast<BranchInst>(BBI))
727 BasicBlock::iterator BBI = OtherBB->getTerminator();
728 BranchInst *OtherBr = dyn_cast<BranchInst>(BBI);
729 if (!OtherBr || BBI == OtherBB->begin())
736 --BBI;
738 while (isa<DbgInfoIntrinsic>(BBI) ||
739 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
740 if (BBI==OtherBB->begin())
742 --BBI;
746 OtherStore = dyn_cast<StoreInst>(BBI);
760 for (;; --BBI) {
762 if ((OtherStore = dyn_cast<StoreInst>(BBI))) {
770 if (BBI->mayReadFromMemory() || BBI->mayWriteToMemory() ||
771 BBI == OtherBB->begin())
796 BBI = DestBB->getFirstInsertionPt();
802 InsertNewInstBefore(NewSI, *BBI);