Searched refs:PBI (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| D | FlattenCFG.cpp | 149 BranchInst *PBI = dyn_cast<BranchInst>(Pred->getTerminator()); in FlattenParallelAndOr() local 152 if (!PBI) in FlattenParallelAndOr() 157 if (PBI->isUnconditional()) { in FlattenParallelAndOr() 172 assert(PBI->isConditional()); in FlattenParallelAndOr() 175 Value *PC = PBI->getCondition(); in FlattenParallelAndOr() 188 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI->getIterator(); in FlattenParallelAndOr() 204 BasicBlock *PS1 = PBI->getSuccessor(0); in FlattenParallelAndOr() 205 BasicBlock *PS2 = PBI->getSuccessor(1); in FlattenParallelAndOr() 279 BranchInst *PBI = cast<BranchInst>(FirstCondBlock->getTerminator()); in FlattenParallelAndOr() local 282 Value *PC = PBI->getCondition(); in FlattenParallelAndOr() [all …]
|
| D | SimplifyCFG.cpp | 3510 static bool extractPredSuccWeights(BranchInst *PBI, BranchInst *BI, in extractPredSuccWeights() argument 3516 extractBranchWeights(*PBI, PredTrueWeight, PredFalseWeight); in extractPredSuccWeights() 3534 shouldFoldCondBranchesToCommonDestination(BranchInst *BI, BranchInst *PBI, in shouldFoldCondBranchesToCommonDestination() argument 3536 assert(BI && PBI && BI->isConditional() && PBI->isConditional() && in shouldFoldCondBranchesToCommonDestination() 3538 assert(is_contained(predecessors(BI->getParent()), PBI->getParent()) && in shouldFoldCondBranchesToCommonDestination() 3545 if (TTI && !PBI->getMetadata(LLVMContext::MD_unpredictable) && in shouldFoldCondBranchesToCommonDestination() 3546 extractBranchWeights(*PBI, PTWeight, PFWeight) && in shouldFoldCondBranchesToCommonDestination() 3553 if (PBI->getSuccessor(0) == BI->getSuccessor(0)) { in shouldFoldCondBranchesToCommonDestination() 3557 } else if (PBI->getSuccessor(1) == BI->getSuccessor(1)) { in shouldFoldCondBranchesToCommonDestination() 3561 } else if (PBI->getSuccessor(0) == BI->getSuccessor(1)) { in shouldFoldCondBranchesToCommonDestination() [all …]
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/Scalar/ |
| D | JumpThreading.cpp | 1269 auto *PBI = dyn_cast<BranchInst>(CurrentPred->getTerminator()); in processImpliedCondition() local 1270 if (!PBI || !PBI->isConditional()) in processImpliedCondition() 1272 if (PBI->getSuccessor(0) != CurrentBB && PBI->getSuccessor(1) != CurrentBB) in processImpliedCondition() 1275 bool CondIsTrue = PBI->getSuccessor(0) == CurrentBB; in processImpliedCondition() 1277 isImpliedCondition(PBI->getCondition(), Cond, DL, CondIsTrue); in processImpliedCondition() 1281 if (!Implication && FICond && isa<FreezeInst>(PBI->getCondition())) { in processImpliedCondition() 1282 if (cast<FreezeInst>(PBI->getCondition())->getOperand(0) == in processImpliedCondition()
|
| /openbsd/src/share/misc/ |
| D | airport | 1305 PBI:Palm Beach International, Florida, USA
|