Lines Matching refs:PTI
859 TerminatorInst *PTI = Pred->getTerminator(); in FoldValueComparisonIntoPredecessors() local
860 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal in FoldValueComparisonIntoPredecessors()
862 if (PCV == CV && SafeToMergeTerminators(TI, PTI)) { in FoldValueComparisonIntoPredecessors()
868 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases); in FoldValueComparisonIntoPredecessors()
877 bool PredHasWeights = HasBranchWeights(PTI); in FoldValueComparisonIntoPredecessors()
881 GetBranchWeights(PTI, Weights); in FoldValueComparisonIntoPredecessors()
1004 Builder.SetInsertPoint(PTI); in FoldValueComparisonIntoPredecessors()
1014 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
1029 EraseTerminatorInstAndDCECond(PTI); in FoldValueComparisonIntoPredecessors()
3394 TerminatorInst *PTI = P->getTerminator(); in SimplifyReturn() local
3395 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) { in SimplifyReturn()