Lines Matching refs:PTI
1064 Instruction *PTI = Pred->getTerminator(); in FoldValueComparisonIntoPredecessors() local
1065 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal in FoldValueComparisonIntoPredecessors()
1067 if (PCV == CV && TI != PTI) { in FoldValueComparisonIntoPredecessors()
1069 if (!SafeToMergeTerminators(TI, PTI, &FailBlocks)) { in FoldValueComparisonIntoPredecessors()
1081 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases); in FoldValueComparisonIntoPredecessors()
1090 bool PredHasWeights = HasBranchWeights(PTI); in FoldValueComparisonIntoPredecessors()
1094 GetBranchWeights(PTI, Weights); in FoldValueComparisonIntoPredecessors()
1218 Builder.SetInsertPoint(PTI); in FoldValueComparisonIntoPredecessors()
1228 NewSI->setDebugLoc(PTI->getDebugLoc()); in FoldValueComparisonIntoPredecessors()
1241 EraseTerminatorAndDCECond(PTI); in FoldValueComparisonIntoPredecessors()
4330 Instruction *PTI = P->getTerminator(); in simplifyReturn() local
4331 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) { in simplifyReturn()