Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h192 size_t NumFunctions; variable
195 FunctionCoverageInfo() : Executed(0), NumFunctions(0) {} in FunctionCoverageInfo()
197 FunctionCoverageInfo(size_t Executed, size_t NumFunctions) in FunctionCoverageInfo() argument
198 : Executed(Executed), NumFunctions(NumFunctions) {} in FunctionCoverageInfo()
202 NumFunctions += RHS.NumFunctions;
209 ++NumFunctions; in addFunction()
214 size_t getNumFunctions() const { return NumFunctions; } in getNumFunctions()
216 bool isFullyCovered() const { return Executed == NumFunctions; } in isFullyCovered()
219 assert(Executed <= NumFunctions && "Covered functions over-counted"); in getPercentCovered()
220 if (NumFunctions == 0) in getPercentCovered()
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerDataFlowTrace.cpp89 std::vector<double> BlockCoverage::FunctionWeights(size_t NumFunctions) const { in FunctionWeights()
90 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()
[all …]
H A DFuzzerDataFlowTrace.h80 std::vector<double> FunctionWeights(size_t NumFunctions) const;
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DProfileSummary.h54 const uint32_t NumCounts, NumFunctions; variable
75 uint32_t NumCounts, uint32_t NumFunctions,
80 NumFunctions(NumFunctions), Partial(Partial), in PSK()
90 uint32_t getNumFunctions() const { return NumFunctions; } in getNumFunctions()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DProfileSummaryBuilder.cpp121 NumFunctions++; in addRecord()
198 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
204 assert(NumFunctions == 0 && in computeSummaryForProfiles()
232 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
238 NumFunctions++; in addEntryCount()
H A DSampleProfReader.cpp1566 auto NumFunctions = readNumber<uint64_t>(); in readSummary() local
1567 if (std::error_code EC = NumFunctions.getError()) in readSummary()
1582 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
1688 uint32_t NumFunctions; in readFunctionProfiles() local
1689 if (!GcovBuffer.readInt(NumFunctions)) in readFunctionProfiles()
1693 for (uint32_t I = 0; I < NumFunctions; ++I) in readFunctionProfiles()
H A DInstrProfReader.cpp1322 const uint64_t NumFunctions = in readHeader() local
1325 if (Ptr + NumFunctions * sizeof(uint64_t) > PtrEnd) in readHeader()
1327 for (unsigned j = 0; j < NumFunctions; j++) { in readHeader()
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DInternalize.cpp39 STATISTIC(NumFunctions, "Number of functions internalized");
245 ++NumFunctions; in internalizeModule()
H A DGlobalDCE.cpp38 STATISTIC(NumFunctions, "Number of functions removed");
369 NumFunctions += DeadFunctions.size(); in run()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DProfileCommon.h60 uint32_t NumFunctions = 0; variable
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DBlockCoverageInference.cpp43 STATISTIC(NumFunctions, "Number of total functions that BCI has processed");
56 ++NumFunctions; in BlockCoverageInference()
/freebsd/contrib/llvm-project/llvm/tools/llvm-dwarfdump/
H A DStatistics.cpp975 SaturatingUINT64 NumFunctions = 0; in collectStatsForObjectFile() local
1003 NumFunctions += Stats.IsFunction; in collectStatsForObjectFile()
1029 printDatum(J, "#functions", NumFunctions.Value); in collectStatsForObjectFile()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSafeStack.cpp81 STATISTIC(NumFunctions, "Total number of functions");
765 ++NumFunctions; in run()
/freebsd/sys/dev/mpr/mpi/
H A Dmpi2_cnfg.h1276 U8 NumFunctions; /* 0x04 */ member
/freebsd/contrib/llvm-project/llvm/include/llvm/Testing/Demangle/
H A DDemangleTestCases.inc28325 {"_ZL12NumFunctions", "NumFunctions"},