HomeSort by: relevance | last modified time | path
    Searched refs:TotalCount (Results 1 - 18 of 18) sorted by relevancy

  /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
IndirectCallPromotionAnalysis.h 30 // TotalCount is the total call count for the indirect-call callsite.
31 // RemainingCount is the TotalCount minus promoted-direct-call count.
33 bool isPromotionProfitable(uint64_t Count, uint64_t TotalCount,
40 uint64_t TotalCount);
53 /// The \p NumVals, \p TotalCount and \p NumCandidates
62 uint64_t &TotalCount,
  /src/external/apache2/llvm/dist/llvm/lib/Analysis/
IndirectCallPromotionAnalysis.cpp 58 uint64_t TotalCount,
61 Count * 100 >= ICPTotalPercentThreshold * TotalCount;
68 const Instruction *Inst, uint32_t NumVals, uint64_t TotalCount) {
75 uint64_t RemainingCount = TotalCount;
82 if (!isPromotionProfitable(Count, TotalCount, RemainingCount)) {
93 const Instruction *I, uint32_t &NumVals, uint64_t &TotalCount,
97 ValueDataArray.get(), NumVals, TotalCount);
102 NumCandidates = getProfitablePromotionCandidates(I, NumVals, TotalCount);
ProfileSummaryInfo.cpp 86 uint64_t TotalCount;
87 if (Call.extractProfTotalWeight(TotalCount))
88 return TotalCount;
ModuleSummaryAnalysis.cpp 380 uint64_t TotalCount;
383 &I, NumVals, TotalCount, NumCandidates);
  /src/external/apache2/llvm/dist/llvm/include/llvm/IR/
ProfileSummary.h 52 uint64_t TotalCount, MaxCount, MaxInternalCount, MaxFunctionCount;
72 uint64_t TotalCount, uint64_t MaxCount,
77 TotalCount(TotalCount), MaxCount(MaxCount),
92 uint64_t getTotalCount() { return TotalCount; }
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
IndirectCallPromotion.cpp 193 // TotalCount is the total profiled count of call executions, and
197 uint64_t TotalCount, uint32_t NumCandidates);
203 uint64_t &TotalCount);
222 uint64_t TotalCount, uint32_t NumCandidates) {
236 assert(Count <= TotalCount);
298 TotalCount -= Count;
304 uint64_t Count, uint64_t TotalCount,
308 uint64_t ElseCount = TotalCount - Count;
332 << NV("TotalCount", TotalCount);
    [all...]
PGOMemOPSizeOpt.cpp 276 static bool isProfitable(uint64_t Count, uint64_t TotalCount) {
277 assert(Count <= TotalCount);
280 if (Count < TotalCount * MemOPPercentThreshold / 100)
302 uint64_t TotalCount;
304 ValueDataArray.get(), NumVals, TotalCount))
307 uint64_t ActualCount = TotalCount;
308 uint64_t SavedTotalCount = TotalCount;
327 if (TotalCount == 0)
330 TotalCount = ActualCount;
336 uint64_t RemainCount = TotalCount;
    [all...]
PGOInstrumentation.cpp 1513 uint64_t TotalCount = 0;
1516 TotalCount = BI->CountValue;
1518 SCounts[1] = (TotalCount > SCounts[0] ? TotalCount - SCounts[0] : 0);
2054 uint64_t TotalCount =
2063 OS << " (total count : " << TotalCount << ")";
  /src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
ProfileCommon.h 50 uint64_t TotalCount = 0;
102 TotalCount += Count;
InstrProf.h 895 uint64_t &TotalCount = (TotalC == nullptr ? Dummy : *TotalC);
898 TotalCount = 0;
903 TotalCount = getValueForSite(VD.get(), ValueKind, Site);
912 uint64_t TotalCount = 0;
916 TotalCount = SaturatingAdd(TotalCount, V.Count);
919 return TotalCount;
  /src/external/apache2/llvm/dist/llvm/lib/ProfileData/
ProfileSummaryBuilder.cpp 139 APInt Temp(128, TotalCount);
145 assert(DesiredCount <= TotalCount);
180 ProfileSummary::PSK_Sample, DetailedSummary, TotalCount, MaxCount, 0,
216 ProfileSummary::PSK_Instr, DetailedSummary, TotalCount, MaxCount,
SampleProfReader.cpp 1239 auto TotalCount = readNumber<uint64_t>();
1240 if (std::error_code EC = TotalCount.getError())
1270 ProfileSummary::PSK_Sample, Entries, *TotalCount, *MaxBlockCount, 0,
  /src/external/apache2/llvm/dist/llvm/lib/IR/
ProfileSummary.cpp 86 Components.push_back(getKeyValMD(Context, "TotalCount", getTotalCount()));
215 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount,
217 if (!getVal(dyn_cast<MDTuple>(Tuple->getOperand(I++)), "TotalCount",
218 TotalCount))
246 return new ProfileSummary(SummaryKind, std::move(Summary), TotalCount,
257 OS << "Total count: " << TotalCount << "\n";
  /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/
Instrumentation.h 109 // TotalCount is the profile count value that the instruction executes.
116 uint64_t TotalCount, bool AttachProfToDirectCall,
  /src/external/apache2/llvm/dist/llvm/lib/Target/Hexagon/
HexagonEarlyIfConv.cpp 542 auto TotalCount = [] (const MachineBasicBlock *B, unsigned &Spare) {
554 unsigned TotalIn = TotalCount(FP.TrueB, Spare) + TotalCount(FP.FalseB, Spare);
  /src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
llvm-profdata.cpp 2241 uint64_t TotalCount;
2247 : FuncName(), TotalCount(0), TotalCountPercent(0.0f), MaxCount(0),
2251 : FuncName(FN), TotalCount(TS), TotalCountPercent(TSP), MaxCount(MS),
2298 FOS << R.TotalCount << " (" << format("%.2f%%", R.TotalCountPercent) << ")";
  /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
SampleProfile.cpp 740 uint64_t TotalCount = 0;
745 ValueData.get(), NumVals, TotalCount, true);
  /src/external/apache2/llvm/dist/clang/lib/AST/
ASTImporter.cpp 3762 unsigned int TotalCount;
3838 assert(ImportedEquivalentFriends.size() <= CountAndPosition.TotalCount &&
3840 if (ImportedEquivalentFriends.size() == CountAndPosition.TotalCount)

Completed in 62 milliseconds