• Home
  • Raw
  • Download

Lines Matching refs:BBI

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