Home
last modified time | relevance | path

Searched refs:TotalCount (Results 1 – 25 of 140) sorted by relevance

123456

/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp143 uint64_t &TotalCount);
176 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite()
177 (void)TotalCount; in getPromotionCandidatesForCallSite()
239 TotalCount -= Count; in getPromotionCandidatesForCallSite()
249 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall()
273 << NV("TotalCount", TotalCount); in promoteIndirectCall()
281 uint64_t &TotalCount) { in tryToPromote() argument
288 assert(TotalCount >= Count); in tryToPromote()
289 TotalCount -= Count; in tryToPromote()
303 uint64_t TotalCount; in processFunction() local
[all …]
H A DPGOMemOPSizeOpt.cpp230 static bool isProfitable(uint64_t Count, uint64_t TotalCount) { in isProfitable() argument
231 assert(Count <= TotalCount); in isProfitable()
234 if (Count < TotalCount * MemOPPercentThreshold / 100) in isProfitable()
256 uint64_t TotalCount; in perform() local
261 uint64_t ActualCount = TotalCount; in perform()
262 uint64_t SavedTotalCount = TotalCount; in perform()
281 if (TotalCount == 0) in perform()
284 TotalCount = ActualCount; in perform()
290 uint64_t RemainCount = TotalCount; in perform()
351 uint64_t SumForOpt = TotalCount - RemainCount; in perform()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DIndirectCallPromotionAnalysis.cpp53 uint64_t TotalCount, in isPromotionProfitable() argument
56 Count * 100 >= ICPTotalPercentThreshold * TotalCount; in isPromotionProfitable()
63 const Instruction *Inst, uint32_t NumVals, uint64_t TotalCount) { in getProfitablePromotionCandidates() argument
70 uint64_t RemainingCount = TotalCount; in getProfitablePromotionCandidates()
77 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) { in getProfitablePromotionCandidates()
88 const Instruction *I, uint32_t &NumVals, uint64_t &TotalCount, in getPromotionCandidatesForInstruction() argument
92 ValueDataArray.get(), NumVals, TotalCount); in getPromotionCandidatesForInstruction()
97 NumCandidates = getProfitablePromotionCandidates(I, NumVals, TotalCount); in getPromotionCandidatesForInstruction()
H A DProfileSummaryInfo.cpp85 uint64_t TotalCount; in getProfileCount() local
86 if (Call.extractProfTotalWeight(TotalCount)) in getProfileCount()
87 return TotalCount; in getProfileCount()
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DProfileSummary.h52 const uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable
72 uint64_t TotalCount, uint64_t MaxCount,
77 TotalCount(TotalCount), MaxCount(MaxCount), in PSK()
92 uint64_t getTotalCount() const { return TotalCount; } in getTotalCount()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DIndirectCallPromotionAnalysis.h33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount,
40 uint64_t TotalCount);
62 uint64_t &TotalCount,
/llvm-project-15.0.7/bolt/lib/Passes/
H A DIndirectCallPromotion.cpp200 uint64_t TotalCount = 0; in printDecision() local
203 TotalCount += S.Branches; in printDecision()
206 if (!TotalCount) in printDecision()
207 TotalCount = 1; in printDecision()
340 uint64_t TotalCount = 0; in getCallTargets()
343 TotalCount += S.Branches; in getCallTargets()
346 if (!TotalCount) in getCallTargets()
347 TotalCount = 1; in getCallTargets()
864 TotalCount -= ScaledBBI[I].Count; in fixCFG()
888 TotalCount -= ScaledBI->Count; in fixCFG()
[all …]
H A DReorderData.cpp181 uint64_t TotalCount = 0; in assignMemData() local
207 TotalCount += AccessInfo.Count; in assignMemData()
219 << format(" (%.1f%%)\n", 100.0 * Count / TotalCount); in assignMemData()
226 outs() << "BOLT-INFO: Total memory events: " << TotalCount << "\n"; in assignMemData()
345 uint64_t TotalCount = 0; in setSectionOrder() local
347 TotalCount += Itr->second; in setSectionOrder()
401 outs() << "BOLT-INFO: reorder-data: " << Count << "/" << TotalCount in setSectionOrder()
402 << format(" (%.1f%%)", 100.0 * Count / TotalCount) << " events, " in setSectionOrder()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp139 APInt Temp(128, TotalCount); in computeDetailedSummary()
145 assert(DesiredCount <= TotalCount); in computeDetailedSummary()
182 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary()
218 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DMisExpect.cpp100 uint64_t ProfCount, uint64_t TotalCount) { in emitMisexpectDiagnostic() argument
101 double PercentageCorrect = (double)ProfCount / TotalCount; in emitMisexpectDiagnostic()
103 formatv("{0:P} ({1} / {2})", PercentageCorrect, ProfCount, TotalCount); in emitMisexpectDiagnostic()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DProfileCommon.h50 uint64_t TotalCount = 0; variable
102 TotalCount += Count; in addCount()
H A DInstrProf.h929 uint64_t &TotalCount = (TotalC == nullptr ? Dummy : *TotalC); in getValueForSite() local
932 TotalCount = 0; in getValueForSite()
937 TotalCount = getValueForSite(VD.get(), ValueKind, Site); in getValueForSite()
946 uint64_t TotalCount = 0; in getValueForSite() local
950 TotalCount = SaturatingAdd(TotalCount, V.Count); in getValueForSite()
953 return TotalCount; in getValueForSite()
/llvm-project-15.0.7/llvm/lib/IR/
H A DProfileSummary.cpp214 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
217 TotalCount)) in getFromMD()
245 return new ProfileSummary(SummaryKind, std::move(Summary), TotalCount, in getFromMD()
256 OS << "Total count: " << TotalCount << "\n"; in printSummary()
/llvm-project-15.0.7/bolt/include/bolt/Core/
H A DBinaryData.h221 uint64_t TotalCount = 0; variable
229 TotalCount += AccessInfo.Count;
233 OS << TotalCount << " total counts : " << TempString;
/llvm-project-15.0.7/llvm/unittests/IR/
H A DModuleTest.cpp97 !3 = !{!"TotalCount", i64 10000}
133 !3 = !{!"TotalCount", i64 10000} in TEST()
/llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/
H A Dcspgo_profile_summary.ll129 ; PGOSUMMARY: {{![0-9]+}} = !{!"TotalCount", i64 2100001}
139 ; CSPGOSUMMARY: {{![0-9]+}} = !{!"TotalCount", i64 2100001}
148 ; CSPGOSUMMARY: {{![0-9]+}} = !{!"TotalCount", i64 1299950}
H A Dunreachable_bb.ll20 ;USE: !3 = !{!"TotalCount", i64 0}
H A Dicp_sample.ll20 !6 = !{!"TotalCount", i64 0}
/llvm-project-15.0.7/bolt/lib/Core/
H A DBinaryBasicBlock.cpp537 uint64_t TotalCount = 0; in getBranchStats() local
541 TotalCount += BI.Count; in getBranchStats()
546 if (TotalCount > 0) { in getBranchStats()
553 return std::make_pair(double(BI.Count) / TotalCount, in getBranchStats()
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dsummary.ll17 ; CHECK-DAG: {{![0-9]+}} = !{!"TotalCount", i64 900}
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dprofile_meta_invoke.ll28 !4 = !{!"TotalCount", i64 10000}
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dconstantpool-align.ll33 !3 = !{!"TotalCount", i64 10000}
/llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/
H A Dcoldentrycount.ll38 !3 = !{!"TotalCount", i64 10000}
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/
H A Dsection-samplepgo.ll43 !4 = !{!"TotalCount", i64 10000}
/llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/Inputs/
H A Dhotness_based_import.ll71 !4 = !{!"TotalCount", i64 10000}

123456