Lines Matching refs:BBI

3383     for (BasicBlock::iterator BBI = BB->begin(); &*BBI != BI; ++BBI) {  in FoldCondBranchOnValueKnownInPredecessorImpl()  local
3384 if (PHINode *PN = dyn_cast<PHINode>(BBI)) { in FoldCondBranchOnValueKnownInPredecessorImpl()
3389 Instruction *N = BBI->clone(); in FoldCondBranchOnValueKnownInPredecessorImpl()
3393 if (BBI->hasName()) in FoldCondBranchOnValueKnownInPredecessorImpl()
3394 N->setName(BBI->getName() + ".c"); in FoldCondBranchOnValueKnownInPredecessorImpl()
3405 if (!BBI->use_empty()) in FoldCondBranchOnValueKnownInPredecessorImpl()
3406 TranslateMap[&*BBI] = V; in FoldCondBranchOnValueKnownInPredecessorImpl()
3413 if (!BBI->use_empty()) in FoldCondBranchOnValueKnownInPredecessorImpl()
3414 TranslateMap[&*BBI] = N; in FoldCondBranchOnValueKnownInPredecessorImpl()
3420 for (; SrcDbgCursor != BBI; ++SrcDbgCursor) in FoldCondBranchOnValueKnownInPredecessorImpl()
3422 SrcDbgCursor = std::next(BBI); in FoldCondBranchOnValueKnownInPredecessorImpl()
3424 N->cloneDebugInfoFrom(&*BBI); in FoldCondBranchOnValueKnownInPredecessorImpl()
4991 for (BasicBlock::iterator BBI = EdgeBB->begin(); isa<PHINode>(BBI); ++BBI) { in SimplifyBranchOnICmpChain() local
4992 PHINode *PN = cast<PHINode>(BBI); in SimplifyBranchOnICmpChain()
5316 BasicBlock::iterator BBI = UI->getIterator(); in simplifyUnreachable() local
5317 --BBI; in simplifyUnreachable()
5319 if (!isGuaranteedToTransferExecutionToSuccessor(&*BBI)) in simplifyUnreachable()
5331 BBI->dropDbgRecords(); in simplifyUnreachable()
5334 BBI->replaceAllUsesWith(PoisonValue::get(BBI->getType())); in simplifyUnreachable()
5335 BBI->eraseFromParent(); in simplifyUnreachable()
5615 for (auto BBI = ContiguousDest->begin(); isa<PHINode>(BBI); ++BBI) { in TurnSwitchRangeIntoICmp() local
5620 cast<PHINode>(BBI)->removeIncomingValue(SI->getParent()); in TurnSwitchRangeIntoICmp()
5622 for (auto BBI = OtherDest->begin(); isa<PHINode>(BBI); ++BBI) { in TurnSwitchRangeIntoICmp() local
5627 cast<PHINode>(BBI)->removeIncomingValue(SI->getParent()); in TurnSwitchRangeIntoICmp()