Lines Matching refs:PSI

216   ProfileSummaryInfo *PSI;  member in __anon9893a50b0111::CallAnalyzer
457 ProfileSummaryInfo *PSI = nullptr, in CallAnalyzer() argument
460 PSI(PSI), F(Callee), DL(F.getParent()->getDataLayout()), ORE(ORE), in CallAnalyzer()
644 GetAssumptionCache, GetBFI, PSI, ORE, false); in onLoweredCall()
746 if (!PSI || !PSI->hasProfileSummary()) in isCostBenefitAnalysisEnabled()
758 if (!PSI->hasInstrumentationProfile()) in isCostBenefitAnalysisEnabled()
771 if (!PSI->isHotCallSite(CandidateCall, CallerBFI)) in isCostBenefitAnalysisEnabled()
873 APInt RHS(128, PSI->getOrCompHotCountThreshold()); in costBenefitAnalysis()
1004 ProfileSummaryInfo *PSI = nullptr, in InlineCostCallAnalyzer() argument
1007 : CallAnalyzer(Callee, Call, TTI, GetAssumptionCache, GetBFI, PSI, ORE), in InlineCostCallAnalyzer()
1117 GetAssumptionCache, GetBFI, PSI, ORE, false, in onLoweredCall()
1239 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE, Function &Callee, in InlineCostFeaturesAnalyzer() argument
1241 : CallAnalyzer(Callee, Call, TTI, GetAssumptionCache, GetBFI, PSI) {} in InlineCostFeaturesAnalyzer()
1732 if (PSI && PSI->hasProfileSummary()) in isColdCallSite()
1733 return PSI->isColdCallSite(Call, CallerBFI); in isColdCallSite()
1757 if (PSI && PSI->hasProfileSummary() && PSI->isHotCallSite(Call, CallerBFI)) in getHotCallSiteThreshold()
1864 } else if (PSI) { in updateThreshold()
1867 if (PSI->isFunctionEntryHot(&Callee)) { in updateThreshold()
1873 } else if (PSI->isFunctionEntryCold(&Callee)) { in updateThreshold()
2321 TTI.getEstimatedNumberOfCaseClusters(SI, JumpTableSize, PSI, BFI); in visitSwitchInst()
2786 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE) { in getInlineCost() argument
2788 GetAssumptionCache, GetTLI, GetBFI, PSI, ORE); in getInlineCost()
2795 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE) { in getInliningCostEstimate() argument
2808 GetAssumptionCache, GetBFI, PSI, ORE, true, in getInliningCostEstimate()
2820 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE) { in getInliningCostFeatures() argument
2821 InlineCostFeaturesAnalyzer CFA(CalleeTTI, GetAssumptionCache, GetBFI, PSI, in getInliningCostFeatures()
2906 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE) { in getInlineCost() argument
2922 GetAssumptionCache, GetBFI, PSI, ORE); in getInlineCost()
3096 ProfileSummaryInfo PSI(*M); in run() local
3113 GetAssumptionCache, nullptr, &PSI, &ORE); in run()