Searched refs:PBI (Results 1 – 3 of 3) sorted by relevance
139 BranchInst *PBI = dyn_cast<BranchInst>(Pred->getTerminator()); in FlattenParallelAndOr() local142 if (!PBI) in FlattenParallelAndOr()147 if (PBI->isUnconditional()) { in FlattenParallelAndOr()162 assert(PBI->isConditional()); in FlattenParallelAndOr()165 Value *PC = PBI->getCondition(); in FlattenParallelAndOr()178 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI->getIterator(); in FlattenParallelAndOr()194 BasicBlock *PS1 = PBI->getSuccessor(0); in FlattenParallelAndOr()195 BasicBlock *PS2 = PBI->getSuccessor(1); in FlattenParallelAndOr()269 BranchInst *PBI = dyn_cast<BranchInst>(FirstCondBlock->getTerminator()); in FlattenParallelAndOr() local272 Value *PC = PBI->getCondition(); in FlattenParallelAndOr()[all …]
2061 Instruction *PBI = &*I; in checkCSEInPredecessor() local2063 if (Inst->isIdenticalTo(PBI)) { in checkCSEInPredecessor()2064 Inst->replaceAllUsesWith(PBI); in checkCSEInPredecessor()2087 if (BranchInst *PBI = dyn_cast<BranchInst>(PB->getTerminator())) in FoldBranchToCommonDest() local2088 if (PBI->isConditional() && in FoldBranchToCommonDest()2089 (BI->getSuccessor(0) == PBI->getSuccessor(0) || in FoldBranchToCommonDest()2090 BI->getSuccessor(0) == PBI->getSuccessor(1))) { in FoldBranchToCommonDest()2163 BranchInst *PBI = dyn_cast<BranchInst>(PredBlock->getTerminator()); in FoldBranchToCommonDest() local2169 if (!PBI || PBI->isUnconditional() || in FoldBranchToCommonDest()2171 !SafeToMergeTerminators(BI, PBI)) || in FoldBranchToCommonDest()[all …]
901 auto *PBI = dyn_cast<BranchInst>(CurrentPred->getTerminator()); in ProcessImpliedCondition() local902 if (!PBI || !PBI->isConditional() || PBI->getSuccessor(0) != CurrentBB) in ProcessImpliedCondition()905 if (isImpliedCondition(PBI->getCondition(), Cond, DL)) { in ProcessImpliedCondition()