Home
last modified time | relevance | path

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

123456

/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCoverageSummaryInfo.h151 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 DFuzzerDataFlowTrace.cpp90 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 DProfileSummary.h53 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 DProfileSummaryBuilder.cpp106 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 DCacheMetrics.cpp251 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 DElimAvailExtern.cpp30 STATISTIC(NumFunctions, "Number of functions removed");
60 NumFunctions++; in eliminateAvailableExternally()
H A DInternalize.cpp41 STATISTIC(NumFunctions, "Number of functions internalized");
249 ++NumFunctions; in internalizeModule()
/llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/
H A DInstrOrderFile.cpp61 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 DProfileSummary.cpp214 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 DModuleTest.cpp102 !8 = !{!"NumFunctions", i64 3}
138 !8 = !{!"NumFunctions", i64 3} in TEST()
/llvm-project-15.0.7/bolt/lib/Profile/
H A DBoltAddressTranslation.cpp150 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 DPR28219.ll10 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 2}
H A Dicp_sample.ll25 !11 = !{!"NumFunctions", i64 1}
/llvm-project-15.0.7/llvm/test/CodeGen/X86/
H A Dselectiondag-patchpoint-legalize.ll11 ; NumFunctions
18 ; StackSizeRecord[NumFunctions]
H A Dselectiondag-stackmap-legalize.ll11 ; NumFunctions
18 ; StackSizeRecord[NumFunctions]
/llvm-project-15.0.7/llvm/test/Transforms/SampleProfile/
H A Dsummary.ll19 ; CHECK-DAG: {{![0-9]+}} = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/test/Transforms/Inline/
H A Dprofile_meta_invoke.ll33 !9 = !{!"NumFunctions", i64 2}
H A Dinline-cold-callee.ll41 !9 = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DProfileCommon.h54 uint32_t NumFunctions = 0; variable
/llvm-project-15.0.7/llvm/test/CodeGen/ARM/
H A Dconstantpool-align.ll38 !8 = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/test/Transforms/HotColdSplit/
H A Dcoldentrycount.ll43 !8 = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/test/Transforms/CodeGenPrepare/X86/
H A Dsection-samplepgo.ll48 !9 = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/test/Transforms/FunctionImport/Inputs/
H A Dhotness_based_import.ll76 !9 = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/test/Transforms/InstCombine/
H A Dcast-call-combine-prof.ll48 !9 = !{!"NumFunctions", i64 3}
/llvm-project-15.0.7/llvm/test/Analysis/ProfileSummary/
H A Dbasic.ll46 !9 = !{!"NumFunctions", i64 3}

123456