Lines Matching defs:BI
119 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end();
120 BI != BE; ++BI) {
121 const BasicBlock &BB = *BI;
357 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) {
358 if (BI->isConditional()) {
360 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
363 Value *V = VMap[BI->getCondition()];
369 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue());
453 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end();
454 BI != BE; ++BI) {
455 Value *V = VMap[BI];
464 for (BasicBlock::const_iterator I = BI->begin(), E = BI->end(); I != E; ++I)
592 BranchInst *BI = dyn_cast<BranchInst>(I->getTerminator());
593 if (!BI || BI->isConditional()) { ++I; continue; }
595 BasicBlock *Dest = BI->getSuccessor(0);
606 BI->eraseFromParent();