/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 198 uint64_t TotalCount, uint32_t NumCandidates); 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() 299 uint64_t Count, uint64_t TotalCount, in promoteIndirectCall() argument 303 uint64_t ElseCount = TotalCount - Count; in promoteIndirectCall() 327 << NV("TotalCount", TotalCount); in promoteIndirectCall() 335 uint64_t &TotalCount) { in tryToPromote() argument 340 pgo::promoteIndirectCall(Inst, C.TargetFunction, Count, TotalCount, in tryToPromote() [all …]
|
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 240 ValueDataArray.get(), NumVals, TotalCount)) in perform() 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() [all …]
|
D | PGOInstrumentation.cpp | 1369 uint64_t TotalCount = 0; in annotateOneSelectInst() local 1372 TotalCount = BI->CountValue; in annotateOneSelectInst() 1374 SCounts[1] = (TotalCount > SCounts[0] ? TotalCount - SCounts[0] : 0); in annotateOneSelectInst() 1723 uint64_t TotalCount = in setProfMetadata() local 1732 OS << " (total count : " << TotalCount << ")"; in setProfMetadata()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
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()
|
D | ProfileSummaryInfo.cpp | 117 uint64_t TotalCount; in getProfileCount() local 118 if (Inst->extractProfTotalWeight(TotalCount)) in getProfileCount() 119 return TotalCount; in getProfileCount()
|
D | ModuleSummaryAnalysis.cpp | 385 uint64_t TotalCount; in computeFunctionSummary() local 388 &I, NumVals, TotalCount, NumCandidates); in computeFunctionSummary()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/ |
D | ProfileSummary.h | 50 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount; variable 59 uint64_t TotalCount, uint64_t MaxCount, in ProfileSummary() argument 63 TotalCount(TotalCount), MaxCount(MaxCount), in ProfileSummary() 76 uint64_t getTotalCount() { return TotalCount; } in getTotalCount()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | IndirectCallPromotionAnalysis.h | 33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount, 40 uint64_t TotalCount); 62 uint64_t &TotalCount,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | ProfileSummaryBuilder.cpp | 74 APInt Temp(128, TotalCount); in computeDetailedSummary() 80 assert(DesiredCount <= TotalCount); in computeDetailedSummary() 97 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0, in getSummary() 104 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount, in getSummary()
|
D | SampleProfReader.cpp | 911 auto TotalCount = readNumber<uint64_t>(); in readSummary() local 912 if (std::error_code EC = TotalCount.getError()) in readSummary() 942 ProfileSummary::PSK_Sample, Entries, *TotalCount, *MaxBlockCount, 0, in readSummary()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | MisExpect.cpp | 75 uint64_t ProfCount, uint64_t TotalCount) { in emitMisexpectDiagnostic() argument 76 double PercentageCorrect = (double)ProfCount / TotalCount; in emitMisexpectDiagnostic() 78 formatv("{0:P} ({1} / {2})", PercentageCorrect, ProfCount, TotalCount); in emitMisexpectDiagnostic()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 49 uint64_t TotalCount = 0; variable 93 TotalCount += Count; in addCount()
|
D | InstrProf.h | 889 uint64_t &TotalCount = (TotalC == nullptr ? Dummy : *TotalC); in getValueForSite() local 892 TotalCount = 0; in getValueForSite() 897 TotalCount = getValueForSite(VD.get(), ValueKind, Site); in getValueForSite() 906 uint64_t TotalCount = 0; in getValueForSite() local 910 TotalCount = SaturatingAdd(TotalCount, V.Count); in getValueForSite() 913 return TotalCount; in getValueForSite()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
D | ProfileSummary.cpp | 161 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 164 TotalCount)) in getFromMD() 183 return new ProfileSummary(SummaryKind, std::move(Summary), TotalCount, in getFromMD()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/ |
D | Instrumentation.h | 123 uint64_t TotalCount,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
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()
|