Home | History | Annotate | Download | only in Utils

Lines Matching refs:PTI

838     TerminatorInst *PTI = Pred->getTerminator();
839 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal
841 if (PCV == CV && SafeToMergeTerminators(TI, PTI)) {
847 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases);
849 // Based on whether the default edge from PTI goes to BB or not, fill in
856 bool PredHasWeights = HasBranchWeights(PTI);
860 GetBranchWeights(PTI, Weights);
880 // If this is the default destination from PTI, only the edges in TI
881 // that don't occur in PTI, or that branch to BB will be activated.
983 Builder.SetInsertPoint(PTI);
994 NewSI->setDebugLoc(PTI->getDebugLoc());
1009 EraseTerminatorInstAndDCECond(PTI);
2844 TerminatorInst *PTI = P->getTerminator();
2845 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) {