Lines Matching defs:PTI
1015 Instruction *PTI = Pred->getTerminator();
1016 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal
1018 if (PCV == CV && TI != PTI) {
1020 if (!SafeToMergeTerminators(TI, PTI, &FailBlocks)) {
1032 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases);
1034 // Based on whether the default edge from PTI goes to BB or not, fill in
1041 bool PredHasWeights = HasBranchWeights(PTI);
1045 GetBranchWeights(PTI, Weights);
1065 // If this is the default destination from PTI, only the edges in TI
1066 // that don't occur in PTI, or that branch to BB will be activated.
1169 Builder.SetInsertPoint(PTI);
1179 NewSI->setDebugLoc(PTI->getDebugLoc());
1192 EraseTerminatorAndDCECond(PTI);
4176 Instruction *PTI = P->getTerminator();
4177 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) {