Searched defs:PBI (Results 1 - 3 of 3) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DFlattenCFG.cpp139 BranchInst *PBI = dyn_cast<BranchInst>(Pred->getTerminator()); local
142 if (!PBI)
147 if (PBI->isUnconditional()) {
162 assert(PBI->isConditional());
165 Value *PC = PBI->getCondition();
178 for (BasicBlock::iterator BI = Pred->begin(), BE = PBI->getIterator();
194 BasicBlock *PS1 = PBI->getSuccessor(0);
195 BasicBlock *PS2 = PBI->getSuccessor(1);
269 BranchInst *PBI = dyn_cast<BranchInst>(FirstCondBlock->getTerminator()); local
272 Value *PC = PBI
437 BranchInst *PBI = dyn_cast<BranchInst>(FirstEntryBlock->getTerminator()); local
[all...]
H A DSimplifyCFG.cpp2061 Instruction *PBI = &*I; local
2062 // Check whether Inst and PBI generate the same value.
2063 if (Inst->isIdenticalTo(PBI)) {
2064 Inst->replaceAllUsesWith(PBI);
2087 if (BranchInst *PBI = dyn_cast<BranchInst>(PB->getTerminator()))
2088 if (PBI->isConditional() &&
2089 (BI->getSuccessor(0) == PBI->getSuccessor(0) ||
2090 BI->getSuccessor(0) == PBI->getSuccessor(1))) {
2163 BranchInst *PBI = dyn_cast<BranchInst>(PredBlock->getTerminator()); local
2169 if (!PBI || PB
2553 mergeConditionalStores(BranchInst *PBI, BranchInst *QBI) argument
2657 SimplifyCondBranchToCondBranch(BranchInst *PBI, BranchInst *BI, const DataLayout &DL) argument
[all...]
/external/llvm/lib/Transforms/Scalar/
H A DJumpThreading.cpp901 auto *PBI = dyn_cast<BranchInst>(CurrentPred->getTerminator()); local
902 if (!PBI || !PBI->isConditional() || PBI->getSuccessor(0) != CurrentBB)
905 if (isImpliedCondition(PBI->getCondition(), Cond, DL)) {

Completed in 177 milliseconds