Lines Matching refs:PTI
783 TerminatorInst *PTI = Pred->getTerminator();
784 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal
786 if (PCV == CV && SafeToMergeTerminators(TI, PTI)) {
792 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases);
794 // Based on whether the default edge from PTI goes to BB or not, fill in
801 bool PredHasWeights = HasBranchWeights(PTI);
805 GetBranchWeights(PTI, Weights);
825 // If this is the default destination from PTI, only the edges in TI
826 // that don't occur in PTI, or that branch to BB will be activated.
928 Builder.SetInsertPoint(PTI);
939 NewSI->setDebugLoc(PTI->getDebugLoc());
954 EraseTerminatorInstAndDCECond(PTI);
2938 TerminatorInst *PTI = P->getTerminator();
2939 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) {