Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DSampleProfile.cpp219 MaxNumPromotions("sample-profile-icp-max-prom", cl::init(3), cl::Hidden, variable
742 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in doesHistoryAllowICP()
744 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in doesHistoryAllowICP()
763 if (NumPromoted == MaxNumPromotions) in doesHistoryAllowICP()
782 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in updateIDTMetaData()
784 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in updateIDTMetaData()
843 std::min(NewCallTargets.size(), static_cast<size_t>(MaxNumPromotions)); in updateIDTMetaData()