Home
last modified time | relevance | path

Searched refs:MaxNumPromotions (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIndirectCallPromotionAnalysis.cpp44 MaxNumPromotions("icp-max-prom", cl::init(3), cl::Hidden, variable
49 ValueDataArray = std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in ICallPromotionAnalysis()
71 for (; I < MaxNumPromotions && I < NumVals; I++) { in getProfitablePromotionCandidates()
91 getValueProfDataFromInst(*I, IPVK_IndirectCallTarget, MaxNumPromotions, in getPromotionCandidatesForInstruction()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp286 MaxNumPromotions("sample-profile-icp-max-prom", cl::init(3), cl::Hidden, variable
769 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in doesHistoryAllowICP()
771 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in doesHistoryAllowICP()
790 if (NumPromoted == MaxNumPromotions) in doesHistoryAllowICP()
810 if (MaxNumPromotions == 0) in updateIDTMetaData()
816 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in updateIDTMetaData()
818 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in updateIDTMetaData()
877 std::min(NewCallTargets.size(), static_cast<size_t>(MaxNumPromotions)); in updateIDTMetaData()
901 if (MaxNumPromotions == 0) in tryPromoteAndInlineCandidate()