Home
last modified time | relevance | path

Searched refs:NumFunctions (Results 1 – 16 of 16) sorted by relevance

/openbsd/gnu/llvm/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h151 size_t NumFunctions; variable
154 FunctionCoverageInfo() : Executed(0), NumFunctions(0) {} in FunctionCoverageInfo()
156 FunctionCoverageInfo(size_t Executed, size_t NumFunctions) in FunctionCoverageInfo() argument
157 : Executed(Executed), NumFunctions(NumFunctions) {} in FunctionCoverageInfo()
161 NumFunctions += RHS.NumFunctions;
168 ++NumFunctions; in addFunction()
173 size_t getNumFunctions() const { return NumFunctions; } in getNumFunctions()
175 bool isFullyCovered() const { return Executed == NumFunctions; } in isFullyCovered()
178 assert(Executed <= NumFunctions && "Covered functions over-counted"); in getPercentCovered()
179 if (NumFunctions == 0) in getPercentCovered()
[all …]
/openbsd/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp90 std::vector<double> Res(NumFunctions); in FunctionWeights()
94 assert(FunctionID < NumFunctions); in FunctionWeights()
177 size_t NumFunctions = 0; in Init() local
180 NumFunctions++; in Init()
182 FocusFuncIdx = NumFunctions - 1; in Init()
184 if (!NumFunctions) in Init()
193 auto Weights = Coverage.FunctionWeights(NumFunctions); in Init()
194 std::vector<double> Intervals(NumFunctions + 1); in Init()
200 assert(FocusFuncIdx < NumFunctions); in Init()
203 for (size_t i = 0; i < NumFunctions; i++) { in Init()
[all …]
H A DFuzzerDataFlowTrace.h80 std::vector<double> FunctionWeights(size_t NumFunctions) const;
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DProfileSummary.h53 const uint32_t NumCounts, NumFunctions; variable
74 uint32_t NumCounts, uint32_t NumFunctions,
79 NumCounts(NumCounts), NumFunctions(NumFunctions), Partial(Partial), in PSK()
89 uint32_t getNumFunctions() const { return NumFunctions; } in getNumFunctions()
/openbsd/gnu/llvm/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp112 NumFunctions++; in addRecord()
189 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
195 assert(NumFunctions == 0 && in computeSummaryForProfiles()
225 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
231 NumFunctions++; in addEntryCount()
H A DSampleProfReader.cpp1511 auto NumFunctions = readNumber<uint64_t>(); in readSummary() local
1512 if (std::error_code EC = NumFunctions.getError()) in readSummary()
1527 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
1640 uint32_t NumFunctions; in readFunctionProfiles() local
1641 if (!GcovBuffer.readInt(NumFunctions)) in readFunctionProfiles()
1645 for (uint32_t I = 0; I < NumFunctions; ++I) in readFunctionProfiles()
/openbsd/gnu/llvm/llvm/lib/Transforms/IPO/
H A DElimAvailExtern.cpp30 STATISTIC(NumFunctions, "Number of functions removed");
60 NumFunctions++; in eliminateAvailableExternally()
H A DInternalize.cpp41 STATISTIC(NumFunctions, "Number of functions internalized");
249 ++NumFunctions; in internalizeModule()
H A DGlobalDCE.cpp40 STATISTIC(NumFunctions, "Number of functions removed");
414 NumFunctions += DeadFunctions.size(); in run()
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp61 int NumFunctions = 0; in createOrderFileData() local
64 NumFunctions++; in createOrderFileData()
70 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
/openbsd/gnu/llvm/llvm/lib/IR/
H A DProfileSummary.cpp214 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
231 NumFunctions)) in getFromMD()
247 NumCounts, NumFunctions, IsPartialProfile, in getFromMD()
252 OS << "Total functions: " << NumFunctions << "\n"; in printSummary()
/openbsd/gnu/llvm/llvm/include/llvm/ProfileData/
H A DProfileCommon.h54 uint32_t NumFunctions = 0; variable
/openbsd/gnu/llvm/llvm/docs/
H A DFaultMaps.rst44 uint32 : NumFunctions
45 FunctionInfo[NumFunctions] {
H A DStackMaps.rst326 uint32 : NumFunctions
329 StkSizeRecord[NumFunctions] {
/openbsd/gnu/llvm/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp903 SaturatingUINT64 NumFunctions = 0; in collectStatsForObjectFile() local
930 NumFunctions += Stats.IsFunction; in collectStatsForObjectFile()
955 printDatum(J, "#functions", NumFunctions.Value); in collectStatsForObjectFile()
/openbsd/gnu/llvm/llvm/lib/CodeGen/
H A DSafeStack.cpp81 STATISTIC(NumFunctions, "Total number of functions");
758 ++NumFunctions; in run()