Home
last modified time | relevance | path

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

1234567

/external/llvm-project/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h110 size_t NumFunctions; variable
113 FunctionCoverageInfo() : Executed(0), NumFunctions(0) {} in FunctionCoverageInfo()
115 FunctionCoverageInfo(size_t Executed, size_t NumFunctions) in FunctionCoverageInfo() argument
116 : Executed(Executed), NumFunctions(NumFunctions) {} in FunctionCoverageInfo()
120 NumFunctions += RHS.NumFunctions;
127 ++NumFunctions; in addFunction()
132 size_t getNumFunctions() const { return NumFunctions; } in getNumFunctions()
134 bool isFullyCovered() const { return Executed == NumFunctions; } in isFullyCovered()
137 assert(Executed <= NumFunctions && "Covered functions over-counted"); in getPercentCovered()
138 if (NumFunctions == 0) in getPercentCovered()
[all …]
/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.cpp88 Vector<double> BlockCoverage::FunctionWeights(size_t NumFunctions) const { in FunctionWeights()
89 Vector<double> Res(NumFunctions); in FunctionWeights()
93 assert(FunctionID < NumFunctions); in FunctionWeights()
176 size_t NumFunctions = 0; in Init() local
179 NumFunctions++; in Init()
181 FocusFuncIdx = NumFunctions - 1; in Init()
183 if (!NumFunctions) in Init()
192 auto Weights = Coverage.FunctionWeights(NumFunctions); in Init()
193 Vector<double> Intervals(NumFunctions + 1); in Init()
199 assert(FocusFuncIdx < NumFunctions); in Init()
[all …]
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerDataFlowTrace.cpp88 Vector<double> BlockCoverage::FunctionWeights(size_t NumFunctions) const { in FunctionWeights()
89 Vector<double> Res(NumFunctions); in FunctionWeights()
93 assert(FunctionID < NumFunctions); in FunctionWeights()
176 size_t NumFunctions = 0; in Init() local
179 NumFunctions++; in Init()
181 FocusFuncIdx = NumFunctions - 1; in Init()
183 if (!NumFunctions) in Init()
192 auto Weights = Coverage.FunctionWeights(NumFunctions); in Init()
193 Vector<double> Intervals(NumFunctions + 1); in Init()
199 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-project/llvm/include/llvm/IR/
DProfileSummary.h53 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() { 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()
/external/llvm-project/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp62 NumFunctions++; in addRecord()
111 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
118 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
122 NumFunctions++; in addEntryCount()
/external/llvm/lib/Transforms/IPO/
DElimAvailExtern.cpp27 STATISTIC(NumFunctions, "Number of functions removed");
57 NumFunctions++; in eliminateAvailableExternally()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DElimAvailExtern.cpp30 STATISTIC(NumFunctions, "Number of functions removed");
60 NumFunctions++; in eliminateAvailableExternally()
/external/llvm-project/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/llvm-project/llvm/lib/Transforms/Instrumentation/
DInstrOrderFile.cpp69 int NumFunctions = 0; in createOrderFileData() local
72 NumFunctions++; in createOrderFileData()
78 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
/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/llvm-project/llvm/lib/IR/
DProfileSummary.cpp215 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
232 NumFunctions)) in getFromMD()
248 NumCounts, NumFunctions, IsPartialProfile, in getFromMD()
253 OS << "Total functions: " << NumFunctions << "\n"; in printSummary()
/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-project/llvm/unittests/IR/
DModuleTest.cpp102 !8 = !{!"NumFunctions", i64 3}
138 !8 = !{!"NumFunctions", i64 3} in TEST()
/external/llvm/test/Transforms/SampleProfile/
Dsummary.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
/external/llvm-project/llvm/test/Transforms/PGOProfile/
DPR28219.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
/external/llvm/test/Transforms/PGOProfile/
DPR28219.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}

1234567