Home
last modified time | relevance | path

Searched refs:NumCounts (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DProfileSummary.h37 const uint64_t NumCounts; ///< Number of counts >= the minimum count. member
41 : Cutoff(TheCutoff), MinCount(TheMinCount), NumCounts(TheNumCounts) {} in ProfileSummaryEntry()
54 const uint32_t NumCounts, NumFunctions; variable
75 uint32_t NumCounts, uint32_t NumFunctions,
79 MaxFunctionCount(MaxFunctionCount), NumCounts(NumCounts), in PSK()
92 uint32_t getNumCounts() const { return NumCounts; } in getNumCounts()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp63 ConstantAsMetadata::get(ConstantInt::get(Int32Ty, Entry.NumCounts))}; in getDetailedSummaryMD()
214 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
228 NumCounts)) in getFromMD()
247 NumCounts, NumFunctions, IsPartialProfile, in getFromMD()
255 OS << "Total number of blocks: " << NumCounts << "\n"; in printSummary()
262 OS << Entry.NumCounts << " blocks " in printDetailedSummary()
264 NumCounts ? (100.f * Entry.NumCounts / NumCounts) : 0) in printDetailedSummary()
H A DModule.cpp887 uint32_t NumCounts = ProfileSummary->getNumCounts(); in setPartialSampleProfileRatio() local
888 if (!NumCounts) in setPartialSampleProfileRatio()
890 double Ratio = (double)BlockCount / NumCounts; in setPartialSampleProfileRatio()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp128 HotEntry.NumCounts > ProfileSummaryHugeWorkingSetSizeThreshold; in computeThresholds()
130 HotEntry.NumCounts > ProfileSummaryLargeWorkingSetSizeThreshold; in computeThresholds()
136 static_cast<uint64_t>(HotEntry.NumCounts * PartialProfileRatio * in computeThresholds()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h59 uint32_t NumCounts = 0; variable
111 NumCounts++; in addCount()
H A DInstrProf.h1289 ER.NumBlocks = E.NumCounts; in setEntry()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp198 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
232 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
H A DSampleProfWriter.cpp816 encodeULEB128(Entry.NumCounts, OS); in writeSummary()