Lines Matching refs:PTI
954 TerminatorInst *PTI = Pred->getTerminator(); in FoldValueComparisonIntoPredecessors() local
955 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal in FoldValueComparisonIntoPredecessors()
957 if (PCV == CV && SafeToMergeTerminators(TI, PTI)) { in FoldValueComparisonIntoPredecessors()
963 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases); in FoldValueComparisonIntoPredecessors()
972 bool PredHasWeights = HasBranchWeights(PTI); in FoldValueComparisonIntoPredecessors()
976 GetBranchWeights(PTI, Weights); in FoldValueComparisonIntoPredecessors()
1100 Builder.SetInsertPoint(PTI); in FoldValueComparisonIntoPredecessors()
1110 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
1125 EraseTerminatorInstAndDCECond(PTI); in FoldValueComparisonIntoPredecessors()
3671 TerminatorInst *PTI = P->getTerminator(); in SimplifyReturn() local
3672 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) { in SimplifyReturn()