Home | History | Annotate | Download | only in InstCombine

Lines Matching full:bbi

820   BasicBlock::iterator BBI(LI);
824 FindAvailableLoadedValue(&LI, LI.getParent(), BBI,
1198 BasicBlock::iterator BBI(SI);
1199 for (unsigned ScanInsts = 6; BBI != SI.getParent()->begin() && ScanInsts;
1201 --BBI;
1204 if (isa<DbgInfoIntrinsic>(BBI) ||
1205 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
1210 if (StoreInst *PrevSI = dyn_cast<StoreInst>(BBI)) {
1215 ++BBI;
1225 if (LoadInst *LI = dyn_cast<LoadInst>(BBI)) {
1237 if (BBI->mayWriteToMemory() || BBI->mayReadFromMemory())
1258 BBI = SI.getIterator();
1260 ++BBI;
1261 } while (isa<DbgInfoIntrinsic>(BBI) ||
1262 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy()));
1263 if (BranchInst *BI = dyn_cast<BranchInst>(BBI))
1317 BasicBlock::iterator BBI(OtherBB->getTerminator());
1318 BranchInst *OtherBr = dyn_cast<BranchInst>(BBI);
1319 if (!OtherBr || BBI == OtherBB->begin())
1326 --BBI;
1328 while (isa<DbgInfoIntrinsic>(BBI) ||
1329 (isa<BitCastInst>(BBI) && BBI->getType()->isPointerTy())) {
1330 if (BBI==OtherBB->begin())
1332 --BBI;
1336 OtherStore = dyn_cast<StoreInst>(BBI);
1350 for (;; --BBI) {
1352 if ((OtherStore = dyn_cast<StoreInst>(BBI))) {
1360 if (BBI->mayReadFromMemory() || BBI->mayWriteToMemory() ||
1361 BBI == OtherBB->begin())
1386 BBI = DestBB->getFirstInsertionPt();
1392 InsertNewInstBefore(NewSI, *BBI);