Home | History | Annotate | Download | only in Utils

Lines Matching defs:PTI

954     TerminatorInst *PTI = Pred->getTerminator();
955 Value *PCV = isValueEqualityComparison(PTI); // PredCondVal
957 if (PCV == CV && SafeToMergeTerminators(TI, PTI)) {
963 BasicBlock *PredDefault = GetValueEqualityComparisonCases(PTI, PredCases);
965 // Based on whether the default edge from PTI goes to BB or not, fill in
972 bool PredHasWeights = HasBranchWeights(PTI);
976 GetBranchWeights(PTI, Weights);
996 // If this is the default destination from PTI, only the edges in TI
997 // that don't occur in PTI, or that branch to BB will be activated.
1100 Builder.SetInsertPoint(PTI);
1110 NewSI->setDebugLoc(PTI->getDebugLoc());
1125 EraseTerminatorInstAndDCECond(PTI);
3671 TerminatorInst *PTI = P->getTerminator();
3672 if (BranchInst *BI = dyn_cast<BranchInst>(PTI)) {