Searched refs:MaxNumPromotions (Results 1 – 2 of 2) sorted by relevance
| /openbsd/src/gnu/llvm/llvm/lib/Analysis/ |
| D | IndirectCallPromotionAnalysis.cpp | 44 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()
|
| /openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| D | SampleProfile.cpp | 297 MaxNumPromotions("sample-profile-icp-max-prom", cl::init(3), cl::Hidden, variable 807 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in doesHistoryAllowICP() 809 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in doesHistoryAllowICP() 828 if (NumPromoted == MaxNumPromotions) in doesHistoryAllowICP() 848 if (MaxNumPromotions == 0) in updateIDTMetaData() 854 std::make_unique<InstrProfValueData[]>(MaxNumPromotions); in updateIDTMetaData() 856 getValueProfDataFromInst(Inst, IPVK_IndirectCallTarget, MaxNumPromotions, in updateIDTMetaData() 915 std::min(NewCallTargets.size(), static_cast<size_t>(MaxNumPromotions)); in updateIDTMetaData() 939 if (MaxNumPromotions == 0) in tryPromoteAndInlineCandidate()
|