Lines Matching defs:BI
362 BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator());
363 if (!BI || !BI->isUnconditional())
368 BasicBlock::iterator BBI = BI->getIterator();
381 BasicBlock *DestBB = BI->getSuccessor(0);
466 BranchInst *BI = cast<BranchInst>(BB->getTerminator());
467 BasicBlock *DestBB = BI->getSuccessor(0);
1939 BasicBlock::iterator BI = BB->begin();
1940 do { ++BI; } while (isa<DbgInfoIntrinsic>(BI));
1941 if (&*BI == BCI)
1943 ++BI;
1944 if (&*BI != RI)
1947 BasicBlock::iterator BI = BB->begin();
1948 while (isa<DbgInfoIntrinsic>(BI)) ++BI;
1949 if (&*BI != RI)
2000 BranchInst *BI = dyn_cast<BranchInst>(CallBB->getTerminator());
2001 if (!BI || !BI->isUnconditional() || BI->getSuccessor(0) != BB)
5238 for (BasicBlock::iterator BI = BB.begin(), BE = BB.end(); BI != BE;) {
5239 Instruction *Insn = &*BI++;
5340 static bool extractBranchMetadata(BranchInst *BI,
5342 assert(BI->isConditional() &&
5344 auto *ProfileData = BI->getMetadata(LLVMContext::MD_prof);