Home
last modified time | relevance | path

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

12

/external/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h100 size_t NumFunctions; member
102 FunctionCoverageInfo() : Executed(0), NumFunctions(0) {} in FunctionCoverageInfo()
104 FunctionCoverageInfo(size_t Executed, size_t NumFunctions) in FunctionCoverageInfo()
105 : Executed(Executed), NumFunctions(NumFunctions) {} in FunctionCoverageInfo()
110 ++NumFunctions; in addFunction()
113 bool isFullyCovered() const { return Executed == NumFunctions; } in isFullyCovered()
116 if (NumFunctions == 0) in getPercentCovered()
118 return double(Executed) / double(NumFunctions) * 100.0; in getPercentCovered()
/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerDataFlowTrace.cpp89 Vector<double> BlockCoverage::FunctionWeights(size_t NumFunctions) const { in FunctionWeights()
90 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 Vector<double> Intervals(NumFunctions + 1); in Init()
200 assert(FocusFuncIdx < NumFunctions); in Init()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DProfileSummary.h51 uint32_t NumCounts, NumFunctions; variable
61 uint32_t NumCounts, uint32_t NumFunctions) in ProfileSummary() argument
65 NumCounts(NumCounts), NumFunctions(NumFunctions) {} in ProfileSummary()
73 uint32_t getNumFunctions() { return NumFunctions; } in getNumFunctions()
/external/llvm/include/llvm/IR/
DProfileSummary.h56 uint32_t NumCounts, NumFunctions; variable
65 uint32_t NumCounts, uint32_t NumFunctions) in ProfileSummary() argument
69 NumCounts(NumCounts), NumFunctions(NumFunctions) {} in ProfileSummary()
76 uint32_t getNumFunctions() { return NumFunctions; } in getNumFunctions()
/external/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp50 NumFunctions++; in addRecord()
95 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
102 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
107 NumFunctions++; in addEntryCount()
DSampleProfReader.cpp459 auto NumFunctions = readNumber<uint64_t>(); in readSummary() local
460 if (std::error_code EC = NumFunctions.getError()) in readSummary()
475 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
574 uint32_t NumFunctions; in readFunctionProfiles() local
575 if (!GcovBuffer.readInt(NumFunctions)) in readFunctionProfiles()
579 for (uint32_t I = 0; I < NumFunctions; ++I) in readFunctionProfiles()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp49 NumFunctions++; in addRecord()
98 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
105 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
110 NumFunctions++; in addEntryCount()
DSampleProfReader.cpp927 auto NumFunctions = readNumber<uint64_t>(); in readSummary() local
928 if (std::error_code EC = NumFunctions.getError()) in readSummary()
943 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
1056 uint32_t NumFunctions; in readFunctionProfiles() local
1057 if (!GcovBuffer.readInt(NumFunctions)) in readFunctionProfiles()
1061 for (uint32_t I = 0; I < NumFunctions; ++I) in readFunctionProfiles()
/external/llvm/lib/Transforms/IPO/
DElimAvailExtern.cpp27 STATISTIC(NumFunctions, "Number of functions removed");
57 NumFunctions++; in eliminateAvailableExternally()
DInternalize.cpp41 STATISTIC(NumFunctions, "Number of functions internalized");
194 ++NumFunctions; in internalizeModule()
DGlobalDCE.cpp34 STATISTIC(NumFunctions, "Number of functions removed");
172 NumFunctions += DeadFunctions.size(); in run()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DElimAvailExtern.cpp30 STATISTIC(NumFunctions, "Number of functions removed");
60 NumFunctions++; in eliminateAvailableExternally()
DInternalize.cpp41 STATISTIC(NumFunctions, "Number of functions internalized");
191 ++NumFunctions; in internalizeModule()
/external/llvm/include/llvm/ProfileData/
DProfileCommon.h58 MaxFunctionCount(0), NumCounts(0), NumFunctions(0) {} in ProfileSummaryBuilder()
63 uint32_t NumCounts, NumFunctions; variable
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp70 int NumFunctions = 0; in createOrderFileData() local
73 NumFunctions++; in createOrderFileData()
79 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DProfileSummary.cpp161 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
177 NumFunctions)) in getFromMD()
185 NumCounts, NumFunctions); in getFromMD()
/external/llvm/lib/IR/
DProfileSummary.cpp166 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
182 NumFunctions)) in getFromMD()
190 NumFunctions); in getFromMD()
/external/llvm/test/Transforms/SampleProfile/
Dsummary.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
/external/llvm/test/Transforms/PGOProfile/
DPR28219.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
/external/llvm/test/Analysis/ProfileSummary/
Dbasic.ll34 !9 = !{!"NumFunctions", i64 3}
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DProfileCommon.h53 uint32_t NumFunctions = 0; variable
/external/llvm/docs/
DFaultMaps.rst44 uint32 : NumFunctions
45 FunctionInfo[NumFunctions] {
/external/llvm/test/Transforms/Inline/
Dinline-cold-callee.ll47 !9 = !{!"NumFunctions", i64 3}
Dinline-hot-callsite.ll47 !9 = !{!"NumFunctions", i64 3}
Dinline-hot-callee.ll47 !9 = !{!"NumFunctions", i64 3}

12