Home | History | Annotate | Download | only in Utils

Lines Matching refs:BI

113   for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end();
114 BI != BE; ++BI) {
115 const BasicBlock &BB = *BI;
300 if (const BranchInst *BI = dyn_cast<BranchInst>(OldTI)) {
301 if (BI->isConditional()) {
303 ConstantInt *Cond = dyn_cast<ConstantInt>(BI->getCondition());
306 Value *V = VMap[BI->getCondition()];
312 BasicBlock *Dest = BI->getSuccessor(!Cond->getZExtValue());
396 for (Function::const_iterator BI = OldFunc->begin(), BE = OldFunc->end();
397 BI != BE; ++BI) {
398 Value *V = VMap[BI];
407 for (BasicBlock::const_iterator I = BI->begin(), E = BI->end(); I != E; ++I)
535 BranchInst *BI = dyn_cast<BranchInst>(I->getTerminator());
536 if (!BI || BI->isConditional()) { ++I; continue; }
538 BasicBlock *Dest = BI->getSuccessor(0);
549 BI->eraseFromParent();