Home
last modified time | relevance | path

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

123

/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cov/
DCoverageSummaryInfo.h111 size_t NumFunctions; variable
114 FunctionCoverageInfo() : Executed(0), NumFunctions(0) {} in FunctionCoverageInfo()
116 FunctionCoverageInfo(size_t Executed, size_t NumFunctions) in FunctionCoverageInfo() argument
117 : Executed(Executed), NumFunctions(NumFunctions) {} in FunctionCoverageInfo()
121 NumFunctions += RHS.NumFunctions;
128 ++NumFunctions; in addFunction()
133 size_t getNumFunctions() const { return NumFunctions; } in getNumFunctions()
135 bool isFullyCovered() const { return Executed == NumFunctions; } in isFullyCovered()
138 assert(Executed <= NumFunctions && "Covered functions over-counted"); in getPercentCovered()
139 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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DProfileSummary.h53 uint32_t NumCounts, NumFunctions; variable
63 uint32_t NumCounts, uint32_t NumFunctions) in ProfileSummary() argument
67 NumCounts(NumCounts), NumFunctions(NumFunctions) {} in ProfileSummary()
75 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-7.0/llvm/lib/ProfileData/
DProfileSummaryBuilder.cpp49 NumFunctions++; in addRecord()
94 MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
101 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary()
106 NumFunctions++; in addEntryCount()
DSampleProfReader.cpp552 auto NumFunctions = readNumber<uint64_t>(); in readSummary() local
553 if (std::error_code EC = NumFunctions.getError()) in readSummary()
568 *MaxFunctionCount, *NumBlocks, *NumFunctions); in readSummary()
674 uint32_t NumFunctions; in readFunctionProfiles() local
675 if (!GcovBuffer.readInt(NumFunctions)) in readFunctionProfiles()
679 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-7.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");
194 ++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-7.0/llvm/lib/IR/
DProfileSummary.cpp160 uint64_t NumCounts, TotalCount, NumFunctions, MaxFunctionCount, MaxCount, in getFromMD() local
176 NumFunctions)) in getFromMD()
184 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/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwarfdump/
DStatistics.cpp212 unsigned NumFunctions = 0; in collectStatsForObjectFile() local
224 NumFunctions += Stats.IsFunction; in collectStatsForObjectFile()
235 printDatum(OS, "source functions", NumFunctions); in collectStatsForObjectFile()
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/
DInternalize.cpp30 STATISTIC(NumFunctions, "Number of functions internalized");
137 ++NumFunctions; in runOnModule()
DGlobalDCE.cpp28 STATISTIC(NumFunctions, "Number of functions removed");
129 NumFunctions += DeadFunctions.size(); in runOnModule()
/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/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/PGOProfile/
DPR28219.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Transforms/SampleProfile/
Dsummary.ll11 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
/external/swiftshader/third_party/llvm-7.0/llvm/test/Analysis/ProfileSummary/
Dbasic.ll34 !9 = !{!"NumFunctions", i64 3}
/external/llvm/test/Analysis/ProfileSummary/
Dbasic.ll34 !9 = !{!"NumFunctions", i64 3}

123