Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DIndirectCallPromotionAnalysis.cpp49 MaxNumPromotions("icp-max-prom", cl::init(3), cl::Hidden, cl::ZeroOrMore, variable
54 ValueDataArray = std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in ICallPromotionAnalysis()
76 for (; I < MaxNumPromotions && I < NumVals; I++) { in getProfitablePromotionCandidates()
96 getValueProfDataFromInst(*I, IPVK_IndirectCallTarget, MaxNumPromotions, in getPromotionCandidatesForInstruction()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp225 MaxNumPromotions("sample-profile-icp-max-prom", cl::init(3), cl::Hidden, variable
739 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in doesHistoryAllowICP()
741 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in doesHistoryAllowICP()
760 if (NumPromoted == MaxNumPromotions) in doesHistoryAllowICP()
779 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in updateIDTMetaData()
781 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in updateIDTMetaData()
840 std::min(NewCallTargets.size(), static_cast<size_t>(MaxNumPromotions)); in updateIDTMetaData()