/external/llvm-project/llvm/tools/llvm-cov/ |
D | CoverageSummaryInfo.h | 110 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/ |
D | CoverageSummaryInfo.h | 100 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/ |
D | FuzzerDataFlowTrace.cpp | 88 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/ |
D | FuzzerDataFlowTrace.cpp | 88 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/ |
D | ProfileSummary.h | 51 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/ |
D | ProfileSummary.h | 56 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/ |
D | ProfileSummary.h | 53 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/ |
D | ProfileSummaryBuilder.cpp | 50 NumFunctions++; in addRecord() 95 MaxFunctionCount, NumCounts, NumFunctions); in getSummary() 102 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary() 107 NumFunctions++; in addEntryCount()
|
D | SampleProfReader.cpp | 459 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/ |
D | ProfileSummaryBuilder.cpp | 49 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/ |
D | ProfileSummaryBuilder.cpp | 62 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/ |
D | ElimAvailExtern.cpp | 27 STATISTIC(NumFunctions, "Number of functions removed"); 57 NumFunctions++; in eliminateAvailableExternally()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ElimAvailExtern.cpp | 30 STATISTIC(NumFunctions, "Number of functions removed"); 60 NumFunctions++; in eliminateAvailableExternally()
|
/external/llvm-project/llvm/lib/Transforms/IPO/ |
D | ElimAvailExtern.cpp | 30 STATISTIC(NumFunctions, "Number of functions removed"); 60 NumFunctions++; in eliminateAvailableExternally()
|
D | Internalize.cpp | 41 STATISTIC(NumFunctions, "Number of functions internalized"); 191 ++NumFunctions; in internalizeModule()
|
/external/llvm/include/llvm/ProfileData/ |
D | ProfileCommon.h | 58 MaxFunctionCount(0), NumCounts(0), NumFunctions(0) {} in ProfileSummaryBuilder() 63 uint32_t NumCounts, NumFunctions; variable
|
/external/llvm-project/llvm/lib/Transforms/Instrumentation/ |
D | InstrOrderFile.cpp | 69 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/ |
D | InstrOrderFile.cpp | 70 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/ |
D | ProfileSummary.cpp | 215 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/ |
D | ProfileSummary.cpp | 161 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 177 NumFunctions)) in getFromMD() 185 NumCounts, NumFunctions); in getFromMD()
|
/external/llvm/lib/IR/ |
D | ProfileSummary.cpp | 166 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local 182 NumFunctions)) in getFromMD() 190 NumFunctions); in getFromMD()
|
/external/llvm-project/llvm/unittests/IR/ |
D | ModuleTest.cpp | 102 !8 = !{!"NumFunctions", i64 3} 138 !8 = !{!"NumFunctions", i64 3} in TEST()
|
/external/llvm/test/Transforms/SampleProfile/ |
D | summary.ll | 10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
|
/external/llvm-project/llvm/test/Transforms/PGOProfile/ |
D | PR28219.ll | 10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
|
/external/llvm/test/Transforms/PGOProfile/ |
D | PR28219.ll | 10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
|