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.h27 // The profile summary is one or more (Cutoff, MinCount, NumCounts) triplets.
36 const uint64_t NumCounts; ///< Number of counts >= the minimum count. member
40 : Cutoff(TheCutoff), MinCount(TheMinCount), NumCounts(TheNumCounts) {} in ProfileSummaryEntry()
53 const uint32_t NumCounts, NumFunctions; variable
74 uint32_t NumCounts, uint32_t NumFunctions,
78 MaxFunctionCount(MaxFunctionCount), NumCounts(NumCounts), in PSK()
91 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 with count >= " << Entry.MinCount in printDetailedSummary()
H A DModule.cpp877 uint32_t NumCounts = ProfileSummary->getNumCounts(); in setPartialSampleProfileRatio() local
878 if (!NumCounts) in setPartialSampleProfileRatio()
880 double Ratio = (double)BlockCount / NumCounts; in setPartialSampleProfileRatio()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h58 uint32_t NumCounts = 0;
110 NumCounts++;
50 uint32_t NumCounts = 0; global() variable
H A DInstrProf.h1226 ER.NumBlocks = E.NumCounts; in setEntry()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp123 HotEntry.NumCounts > ProfileSummaryHugeWorkingSetSizeThreshold; in computeThresholds()
125 HotEntry.NumCounts > ProfileSummaryLargeWorkingSetSizeThreshold; in computeThresholds()
131 static_cast<uint64_t>(HotEntry.NumCounts * PartialProfileRatio * in computeThresholds()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp132 // value is a vector of (Cutoff, MinCount, NumCounts) triplets.
189 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
223 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
H A DSampleProfWriter.cpp819 encodeULEB128(Entry.NumCounts, OS); in writeSummary()