| /llvm-project-15.0.7/llvm/tools/llvm-cov/ |
| H A D | CoverageSummaryInfo.h | 151 size_t NumFunctions; variable 154 FunctionCoverageInfo() : Executed(0), NumFunctions(0) {} in FunctionCoverageInfo() 156 FunctionCoverageInfo(size_t Executed, size_t NumFunctions) in FunctionCoverageInfo() argument 157 : Executed(Executed), NumFunctions(NumFunctions) {} in FunctionCoverageInfo() 161 NumFunctions += RHS.NumFunctions; 168 ++NumFunctions; in addFunction() 173 size_t getNumFunctions() const { return NumFunctions; } in getNumFunctions() 175 bool isFullyCovered() const { return Executed == NumFunctions; } in isFullyCovered() 178 assert(Executed <= NumFunctions && "Covered functions over-counted"); in getPercentCovered() 179 if (NumFunctions == 0) in getPercentCovered() [all …]
|
| /llvm-project-15.0.7/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerDataFlowTrace.cpp | 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() 203 for (size_t i = 0; i < NumFunctions; i++) { in Init() [all …]
|
| /llvm-project-15.0.7/llvm/include/llvm/IR/ |
| H A D | ProfileSummary.h | 53 const 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() const { return NumFunctions; } in getNumFunctions()
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | ProfileSummaryBuilder.cpp | 106 NumFunctions++; in addRecord() 183 MaxFunctionCount, NumCounts, NumFunctions); in getSummary() 189 assert(NumFunctions == 0 && in computeSummaryForProfiles() 219 MaxInternalBlockCount, MaxFunctionCount, NumCounts, NumFunctions); in getSummary() 223 NumFunctions++; in addEntryCount()
|
| /llvm-project-15.0.7/bolt/lib/Passes/ |
| H A D | CacheMetrics.cpp | 251 size_t NumFunctions = 0; in printAll() local 263 NumFunctions++; in printAll() 282 outs() << format(" There are %zu functions;", NumFunctions) in printAll() 284 100.0 * NumHotFunctions / NumFunctions) in printAll() 286 100.0 * NumProfiledFunctions / NumFunctions); in printAll()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/IPO/ |
| H A D | ElimAvailExtern.cpp | 30 STATISTIC(NumFunctions, "Number of functions removed"); 60 NumFunctions++; in eliminateAvailableExternally()
|
| H A D | Internalize.cpp | 41 STATISTIC(NumFunctions, "Number of functions internalized"); 249 ++NumFunctions; in internalizeModule()
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | InstrOrderFile.cpp | 61 int NumFunctions = 0; in createOrderFileData() local 64 NumFunctions++; in createOrderFileData() 70 MapTy = ArrayType::get(Type::getInt8Ty(Ctx), NumFunctions); in createOrderFileData()
|
| /llvm-project-15.0.7/llvm/lib/IR/ |
| H A D | ProfileSummary.cpp | 214 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()
|
| /llvm-project-15.0.7/llvm/unittests/IR/ |
| H A D | ModuleTest.cpp | 102 !8 = !{!"NumFunctions", i64 3} 138 !8 = !{!"NumFunctions", i64 3} in TEST()
|
| /llvm-project-15.0.7/bolt/lib/Profile/ |
| H A D | BoltAddressTranslation.cpp | 150 const uint32_t NumFunctions = DE.getU32(&Offset); in parse() local 151 LLVM_DEBUG(dbgs() << "Parsing " << NumFunctions << " functions\n"); in parse() 152 for (uint32_t I = 0; I < NumFunctions; ++I) { in parse()
|
| /llvm-project-15.0.7/llvm/test/Transforms/PGOProfile/ |
| H A D | PR28219.ll | 10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
|
| H A D | icp_sample.ll | 25 !11 = !{!"NumFunctions", i64 1}
|
| /llvm-project-15.0.7/llvm/test/CodeGen/X86/ |
| H A D | selectiondag-patchpoint-legalize.ll | 11 ; NumFunctions 18 ; StackSizeRecord[NumFunctions]
|
| H A D | selectiondag-stackmap-legalize.ll | 11 ; NumFunctions 18 ; StackSizeRecord[NumFunctions]
|
| /llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/ |
| H A D | summary.ll | 19 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/test/Transforms/Inline/ |
| H A D | profile_meta_invoke.ll | 33 !9 = !{!"NumFunctions", i64 2}
|
| H A D | inline-cold-callee.ll | 41 !9 = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | ProfileCommon.h | 54 uint32_t NumFunctions = 0; variable
|
| /llvm-project-15.0.7/llvm/test/CodeGen/ARM/ |
| H A D | constantpool-align.ll | 38 !8 = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/ |
| H A D | coldentrycount.ll | 43 !8 = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/ |
| H A D | section-samplepgo.ll | 48 !9 = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/Inputs/ |
| H A D | hotness_based_import.ll | 76 !9 = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/test/Transforms/InstCombine/ |
| H A D | cast-call-combine-prof.ll | 48 !9 = !{!"NumFunctions", i64 3}
|
| /llvm-project-15.0.7/llvm/test/Analysis/ProfileSummary/ |
| H A D | basic.ll | 46 !9 = !{!"NumFunctions", i64 3}
|