Home | History | Annotate | Download | only in InstCombine

Lines Matching refs:BBI

389   BasicBlock::iterator BBI = &LI;
390 if (Value *AvailableVal = FindAvailableLoadedValue(Op, LI.getParent(), BBI,6))
636 BasicBlock::iterator BBI = &SI;
637 for (unsigned ScanInsts = 6; BBI != SI.getParent()->begin() && ScanInsts;
639 --BBI;
642 if (isa<DbgInfoIntrinsic>(BBI) ||
643 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
648 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) {
653 ++BBI;
663 if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) {
674 if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory())
706 BBI = &SI;
708 ++BBI;
709 } while (isa<DbgInfoIntrinsic>(BBI) ||
710 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
711 if (BranchInst *BI = dyn_cast<BranchInst>(BBI))
762 BasicBlock::iterator BBI = OtherBB->getTerminator();
763 BranchInst *OtherBr = dyn_cast<BranchInst>(BBI);
764 if (!OtherBr || BBI == OtherBB->begin())
771 --BBI;
773 while (isa<DbgInfoIntrinsic>(BBI) ||
774 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
775 if (BBI==OtherBB->begin())
777 --BBI;
781 OtherStore = dyn_cast<StoreInst>(BBI);
795 for (;; --BBI) {
797 if ((OtherStore = dyn_cast<StoreInst>(BBI))) {
805 if (BBI->mayReadFromMemory() || BBI->mayWriteToMemory() ||
806 BBI == OtherBB->begin())
831 BBI = DestBB->getFirstInsertionPt();
837 InsertNewInstBefore(NewSI, *BBI);