| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 137 uint64_t TotalCount, uint32_t NumCandidates); 143 uint64_t &TotalCount); 162 uint64_t TotalCount, uint32_t NumCandidates) { in getPromotionCandidatesForCallSite() argument 176 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite() 177 (void)TotalCount; in getPromotionCandidatesForCallSite() 239 TotalCount -= Count; in getPromotionCandidatesForCallSite() 245 uint64_t Count, uint64_t TotalCount, in promoteIndirectCall() argument 249 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() 273 << NV("TotalCount", TotalCount); in promoteIndirectCall() 281 uint64_t &TotalCount) { in tryToPromote() argument [all …]
|
| H A D | PGOMemOPSizeOpt.cpp | 230 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 258 ValueDataArray.get(), NumVals, TotalCount)) in perform() 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() [all …]
|
| H A D | PGOInstrumentation.cpp | 1762 uint64_t TotalCount = 0; in annotateOneSelectInst() local 1765 TotalCount = BI->CountValue; in annotateOneSelectInst() 1767 SCounts[1] = (TotalCount > SCounts[0] ? TotalCount - SCounts[0] : 0); in annotateOneSelectInst() 2322 uint64_t TotalCount = in setProfMetadata() local 2331 OS << " (total count : " << TotalCount << ")"; in setProfMetadata()
|
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.cpp | 53 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 D | ProfileSummaryInfo.cpp | 88 uint64_t TotalCount; in getProfileCount() local 89 if (Call.extractProfTotalWeight(TotalCount)) in getProfileCount() 90 return TotalCount; in getProfileCount()
|
| H A D | ModuleSummaryAnalysis.cpp | 419 uint64_t TotalCount; in computeFunctionSummary() local 422 &I, NumVals, TotalCount, NumCandidates); in computeFunctionSummary()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/IR/ |
| H A D | ProfileSummary.h | 52 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.h | 33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount, 40 uint64_t TotalCount); 62 uint64_t &TotalCount,
|
| /openbsd-src/gnu/llvm/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 145 APInt Temp(128, TotalCount); in computeDetailedSummary() 151 assert(DesiredCount <= TotalCount); in computeDetailedSummary() 188 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 224 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
| H A D | SampleProfReader.cpp | 1495 auto TotalCount = readNumber<uint64_t>(); in readSummary() local 1496 if (std::error_code EC = TotalCount.getError()) in readSummary() 1526 ProfileSummary::PSK_Sample, Entries, *TotalCount, *MaxBlockCount, 0, in readSummary()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | MisExpect.cpp | 102 uint64_t ProfCount, uint64_t TotalCount) { in emitMisexpectDiagnostic() argument 103 double PercentageCorrect = (double)ProfCount / TotalCount; in emitMisexpectDiagnostic() 105 formatv("{0:P} ({1} / {2})", PercentageCorrect, ProfCount, TotalCount); in emitMisexpectDiagnostic()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 50 uint64_t TotalCount = 0; variable 102 TotalCount += Count; in addCount()
|
| H A D | InstrProf.h | 958 uint64_t &TotalCount = (TotalC == nullptr ? Dummy : *TotalC); in getValueForSite() local 961 TotalCount = 0; in getValueForSite() 966 TotalCount = getValueForSite(VD.get(), ValueKind, Site); in getValueForSite() 975 uint64_t TotalCount = 0; in getValueForSite() local 979 TotalCount = SaturatingAdd(TotalCount, V.Count); in getValueForSite() 982 return TotalCount; in getValueForSite()
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | ProfileSummary.cpp | 214 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()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/ |
| H A D | Instrumentation.h | 101 uint64_t TotalCount, bool AttachProfToDirectCall,
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/Hexagon/ |
| H A D | HexagonEarlyIfConv.cpp | 542 auto TotalCount = [] (const MachineBasicBlock *B, unsigned &Spare) { in isProfitable() local 554 unsigned TotalIn = TotalCount(FP.TrueB, Spare) + TotalCount(FP.FalseB, Spare); in isProfitable()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 2602 uint64_t TotalCount; member 2608 : TotalCount(0), TotalCountPercent(0.0f), MaxCount(0), EntryCount(0) {} in HotFuncInfo() 2611 : FuncName(FN.begin(), FN.end()), TotalCount(TS), TotalCountPercent(TSP), in HotFuncInfo() 2661 FOS << R.TotalCount << " (" << format("%.2f%%", R.TotalCountPercent) << ")"; in dumpHotFunctionList()
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/IPO/ |
| H A D | SampleProfile.cpp | 805 uint64_t TotalCount = 0; in doesHistoryAllowICP() local 810 ValueData.get(), NumVals, TotalCount, true); in doesHistoryAllowICP()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ASTImporter.cpp | 3973 unsigned int TotalCount; member 4049 assert(ImportedEquivalentFriends.size() <= CountAndPosition.TotalCount && in VisitFriendDecl() 4051 if (ImportedEquivalentFriends.size() == CountAndPosition.TotalCount) in VisitFriendDecl()
|