Lines Matching defs:BI
271 BranchInst *BI = dyn_cast<BranchInst>(PBB->getTerminator()); in DominatesMergePoint() local
511 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in EraseTerminatorInstAndDCECond() local
532 } else if (BranchInst *BI = dyn_cast<BranchInst>(TI)) in isValueEqualityComparison() local
564 BranchInst *BI = cast<BranchInst>(TI); in GetValueEqualityComparisonCases() local
802 if (BranchInst* BI = dyn_cast<BranchInst>(TI)) { in GetBranchWeights() local
1055 static bool HoistThenElseCodeToIf(BranchInst *BI, in HoistThenElseCodeToIf()
1468 static bool SpeculativelyExecuteBB(BranchInst *BI, BasicBlock *ThenBB, in SpeculativelyExecuteBB()
1662 BranchInst *BI = cast<BranchInst>(BB->getTerminator()); in BlockIsSimpleEnoughToThreadThrough() local
1688 static bool FoldCondBranchOnPHI(BranchInst *BI, const DataLayout &DL) { in FoldCondBranchOnPHI()
1926 static bool SimplifyCondBranchToTwoReturns(BranchInst *BI, in SimplifyCondBranchToTwoReturns()
2015 static bool ExtractBranchMetadata(BranchInst *BI, in ExtractBranchMetadata()
2052 bool llvm::FoldBranchToCommonDest(BranchInst *BI, unsigned BonusInstThreshold) { in FoldBranchToCommonDest()
2349 static bool SimplifyCondBranchToCondBranch(BranchInst *PBI, BranchInst *BI) { in SimplifyCondBranchToCondBranch()
2808 static bool SimplifyBranchOnICmpChain(BranchInst *BI, IRBuilder<> &Builder, in SimplifyBranchOnICmpChain()
2969 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) { in SimplifyReturn() local
2998 BranchInst *BI = CondBranchPreds.pop_back_val(); in SimplifyReturn() local
3062 if (BranchInst *BI = dyn_cast<BranchInst>(TI)) { in SimplifyUnreachable() local
3092 BranchInst *BI = Builder.CreateBr(II->getNormalDest()); in SimplifyUnreachable() local
4373 static bool TryToMergeLandingPad(LandingPadInst *LPad, BranchInst *BI, in TryToMergeLandingPad()
4428 bool SimplifyCFGOpt::SimplifyUncondBranch(BranchInst *BI, IRBuilder<> &Builder){ in SimplifyUncondBranch()
4471 bool SimplifyCFGOpt::SimplifyCondBranch(BranchInst *BI, IRBuilder<> &Builder) { in SimplifyCondBranch()
4606 if (BranchInst *BI = dyn_cast<BranchInst>(T)) { in removeUndefIntroducingPredecessor() local
4666 if (BranchInst *BI = dyn_cast<BranchInst>(BB->getTerminator())) { in run() local