| /freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/ |
| H A D | IndirectCallPromotion.cpp | 204 uint64_t &TotalCount); 223 uint64_t TotalCount, uint32_t NumCandidates) { in getPromotionCandidatesForCallSite() argument 237 assert(Count <= TotalCount); in getPromotionCandidatesForCallSite() 292 TotalCount -= Count; in getPromotionCandidatesForCallSite() 303 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() 327 << NV("TotalCount", TotalCount); in promoteIndirectCall() 335 uint64_t &TotalCount) { in tryToPromote() argument 342 assert(TotalCount >= Count); in tryToPromote() 343 TotalCount -= Count; in tryToPromote() 357 uint64_t TotalCount; in processFunction() local [all …]
|
| H A D | PGOMemOPSizeOpt.cpp | 214 static bool isProfitable(uint64_t Count, uint64_t TotalCount) { in isProfitable() argument 215 assert(Count <= TotalCount); in isProfitable() 218 if (Count < TotalCount * MemOPPercentThreshold / 100) in isProfitable() 238 uint64_t TotalCount; in perform() local 243 uint64_t ActualCount = TotalCount; in perform() 244 uint64_t SavedTotalCount = TotalCount; in perform() 263 if (TotalCount == 0) in perform() 266 TotalCount = ActualCount; in perform() 272 uint64_t RemainCount = TotalCount; in perform() 316 uint64_t SumForOpt = TotalCount - RemainCount; in perform() [all …]
|
| H A D | PGOInstrumentation.cpp | 1246 uint64_t TotalCount = 0; in annotateOneSelectInst() local 1249 TotalCount = BI->CountValue; in annotateOneSelectInst() 1251 SCounts[1] = (TotalCount > SCounts[0] ? TotalCount - SCounts[0] : 0); in annotateOneSelectInst() 1623 uint64_t TotalCount = in setProfMetadata() local 1632 OS << " (total count : " << TotalCount << ")"; in setProfMetadata()
|
| /freebsd-12.1/contrib/llvm/lib/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.cpp | 61 uint64_t TotalCount, in isPromotionProfitable() argument 64 Count * 100 >= ICPTotalPercentThreshold * TotalCount; in isPromotionProfitable() 71 const Instruction *Inst, uint32_t NumVals, uint64_t TotalCount) { in getProfitablePromotionCandidates() argument 78 uint64_t RemainingCount = TotalCount; in getProfitablePromotionCandidates() 85 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) { in getProfitablePromotionCandidates() 96 const Instruction *I, uint32_t &NumVals, uint64_t &TotalCount, in getPromotionCandidatesForInstruction() argument 100 ValueDataArray.get(), NumVals, TotalCount); in getPromotionCandidatesForInstruction() 105 NumCandidates = getProfitablePromotionCandidates(I, NumVals, TotalCount); in getPromotionCandidatesForInstruction()
|
| H A D | ProfileSummaryInfo.cpp | 102 uint64_t TotalCount; in getProfileCount() local 103 if (Inst->extractProfTotalWeight(TotalCount)) in getProfileCount() 104 return TotalCount; in getProfileCount()
|
| H A D | ModuleSummaryAnalysis.cpp | 350 uint64_t TotalCount; in computeFunctionSummary() local 353 &I, NumVals, TotalCount, NumCandidates); in computeFunctionSummary()
|
| /freebsd-12.1/contrib/llvm/include/llvm/IR/ |
| H A D | ProfileSummary.h | 52 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable 61 uint64_t TotalCount, uint64_t MaxCount, in ProfileSummary() argument 65 TotalCount(TotalCount), MaxCount(MaxCount), in ProfileSummary() 78 uint64_t getTotalCount() { return TotalCount; } in getTotalCount()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Analysis/ |
| H A D | IndirectCallPromotionAnalysis.h | 34 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount, 41 uint64_t TotalCount); 63 uint64_t &TotalCount,
|
| /freebsd-12.1/contrib/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 70 APInt Temp(128, TotalCount); in computeDetailedSummary() 76 assert(DesiredCount <= TotalCount); in computeDetailedSummary() 93 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 100 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
| H A D | SampleProfReader.cpp | 621 auto TotalCount = readNumber<uint64_t>(); in readSummary() local 622 if (std::error_code EC = TotalCount.getError()) in readSummary() 652 ProfileSummary::PSK_Sample, Entries, *TotalCount, *MaxBlockCount, 0, in readSummary()
|
| /freebsd-12.1/contrib/compiler-rt/lib/esan/ |
| H A D | cache_frag.cpp | 58 u64 TotalCount; // The total access count of all structs. member 65 Ctx->TotalCount); in reportStructSummary() 125 Ctx->TotalCount += Handle->Count; in computeStructRatio()
|
| /freebsd-12.1/contrib/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 50 uint64_t TotalCount = 0; variable 93 TotalCount += Count; in addCount()
|
| H A D | InstrProf.h | 804 uint64_t &TotalCount = (TotalC == nullptr ? Dummy : *TotalC); in getValueForSite() local 807 TotalCount = 0; in getValueForSite() 812 TotalCount = getValueForSite(VD.get(), ValueKind, Site); in getValueForSite() 821 uint64_t TotalCount = 0; in getValueForSite() local 825 TotalCount = SaturatingAdd(TotalCount, V.Count); in getValueForSite() 828 return TotalCount; in getValueForSite()
|
| /freebsd-12.1/contrib/llvm/lib/IR/ |
| H A D | ProfileSummary.cpp | 160 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 163 TotalCount)) in getFromMD() 182 return new ProfileSummary(SummaryKind, std::move(Summary), TotalCount, in getFromMD()
|
| /freebsd-12.1/contrib/llvm/include/llvm/Transforms/ |
| H A D | Instrumentation.h | 120 uint64_t TotalCount,
|
| /freebsd-12.1/contrib/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()
|