Home
last modified time | relevance | path

Searched refs:Summary (Results 1 – 25 of 108) sorted by relevance

12345

/llvm-project-15.0.7/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonShuffler.cpp373 if (Summary.loads == 1 && Summary.loads == Summary.memory && in restrictStoreLoadOrder()
431 if (Summary.store1 && Summary.stores > 1) { in restrictStoreLoadOrder()
496 ++Summary.loads; in GetPacketSummary()
497 ++Summary.memory; in GetPacketSummary()
515 ++Summary.stores; in GetPacketSummary()
516 ++Summary.memory; in GetPacketSummary()
522 ++Summary.loads; in GetPacketSummary()
568 return Summary; in GetPacketSummary()
574 const unsigned ZCVIloads = Summary.AllCVIloads - Summary.NonZCVIloads; in ValidPacketMemoryOps()
578 ((Summary.load0 > 1 || Summary.store0 > 1 || !ValidHVXMem) || in ValidPacketMemoryOps()
[all …]
H A DHexagonShuffler.h171 bool applySlotRestrictions(HexagonPacketSummary const &Summary,
173 void restrictSlot1AOK(HexagonPacketSummary const &Summary);
174 void restrictNoSlot1Store(HexagonPacketSummary const &Summary);
176 bool restrictStoreLoadOrder(HexagonPacketSummary const &Summary);
177 void restrictBranchOrder(HexagonPacketSummary const &Summary);
178 void restrictPreferSlot3(HexagonPacketSummary const &Summary,
182 Optional<HexagonPacket> tryAuction(HexagonPacketSummary const &Summary);
185 bool ValidPacketMemoryOps(HexagonPacketSummary const &Summary) const;
186 bool ValidResourceUsage(HexagonPacketSummary const &Summary);
237 void reportResourceError(HexagonPacketSummary const &Summary, StringRef Err);
[all …]
/llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/
H A DStdLibraryFunctionsChecker.cpp205 const Summary &Summary, in apply() argument
250 const Summary &Summary,
264 const Summary &Summary, in apply() argument
336 const Summary &Summary, in apply() argument
435 const Summary &Summary, in apply() argument
476 const Summary &Summary, in apply() argument
855 const Summary &Summary) const { in applyAsOutOfRange()
884 const Summary &Summary) const { in applyAsWithinRange()
969 const Summary &Summary = *FoundSummary; in checkPreCall() local
1002 const Summary &Summary = *FoundSummary; in checkPostCall() local
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A DCoverageExporterJson.cpp152 json::Object renderSummary(const FileCoverageSummary &Summary) { in renderSummary() argument
161 {"covered", int64_t(Summary.FunctionCoverage.getExecuted())}, in renderSummary()
162 {"percent", Summary.FunctionCoverage.getPercentCovered()}})}, in renderSummary()
166 int64_t(Summary.InstantiationCoverage.getNumFunctions())}, in renderSummary()
171 {{"count", int64_t(Summary.RegionCoverage.getNumRegions())}, in renderSummary()
172 {"covered", int64_t(Summary.RegionCoverage.getCovered())}, in renderSummary()
174 Summary.RegionCoverage.getCovered())}, in renderSummary()
175 {"percent", Summary.RegionCoverage.getPercentCovered()}})}, in renderSummary()
178 {{"count", int64_t(Summary.BranchCoverage.getNumBranches())}, in renderSummary()
179 {"covered", int64_t(Summary.BranchCoverage.getCovered())}, in renderSummary()
[all …]
H A DCoverageSummaryInfo.cpp95 FunctionCoverageSummary Summary(Name); in get() local
96 Summary.ExecutionCount = Group.getTotalExecutionCount(); in get()
97 Summary.RegionCoverage = Summaries[0].RegionCoverage; in get()
98 Summary.LineCoverage = Summaries[0].LineCoverage; in get()
99 Summary.BranchCoverage = Summaries[0].BranchCoverage; in get()
101 Summary.RegionCoverage.merge(FCS.RegionCoverage); in get()
102 Summary.LineCoverage.merge(FCS.LineCoverage); in get()
103 Summary.BranchCoverage.merge(FCS.BranchCoverage); in get()
105 return Summary; in get()
H A DCoverageExporterLcov.cpp50 const FileCoverageSummary &Summary) { in renderFunctionSummary() argument
51 OS << "FNF:" << Summary.FunctionCoverage.getNumFunctions() << '\n' in renderFunctionSummary()
52 << "FNH:" << Summary.FunctionCoverage.getExecuted() << '\n'; in renderFunctionSummary()
163 void renderLineSummary(raw_ostream &OS, const FileCoverageSummary &Summary) { in renderLineSummary() argument
164 OS << "LF:" << Summary.LineCoverage.getNumLines() << '\n' in renderLineSummary()
165 << "LH:" << Summary.LineCoverage.getCovered() << '\n'; in renderLineSummary()
168 void renderBranchSummary(raw_ostream &OS, const FileCoverageSummary &Summary) { in renderBranchSummary() argument
169 OS << "BRF:" << Summary.BranchCoverage.getNumBranches() << '\n' in renderBranchSummary()
170 << "BRH:" << Summary.BranchCoverage.getCovered() << '\n'; in renderBranchSummary()
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DSampleProfTest.cpp90 ASSERT_EQ(138211u, Summary.getTotalCount()); in verifyProfileSummary()
91 ASSERT_EQ(10u, Summary.getNumCounts()); in verifyProfileSummary()
92 ASSERT_EQ(4u, Summary.getNumFunctions()); in verifyProfileSummary()
94 ASSERT_EQ(60351u, Summary.getMaxCount()); in verifyProfileSummary()
103 Summary.getDetailedSummary(); in verifyProfileSummary()
116 VerifySummary(Summary); in verifyProfileSummary()
318 Summary.setPartialProfile(true); in testRoundTrip()
321 Summary.setPartialProfile(false); in testRoundTrip()
326 Summary.setPartialProfile(true); in testRoundTrip()
327 Summary.setPartialProfileRatio(0.5); in testRoundTrip()
[all …]
/llvm-project-15.0.7/bolt/lib/RuntimeLibs/
H A DInstrumentationRuntimeLibrary.cpp162 for (MCSymbol *const &Label : Summary->Counters) in emitBinary()
172 emitIntValue("__bolt_num_counters", Summary->Counters.size()); in emitBinary()
173 emitValue(Summary->IndCallCounterFuncPtr, nullptr); in emitBinary()
174 emitValue(Summary->IndTailCallCounterFuncPtr, nullptr); in emitBinary()
176 Summary->IndCallDescriptions.size()); in emitBinary()
178 Summary->IndCallTargetDescriptions.size()); in emitBinary()
246 llvm::sort(Summary->IndCallTargetDescriptions, in buildTables()
263 const size_t ITDSize = Summary->IndCallTargetDescriptions.size() * in buildTables()
267 Summary->IndCallTargetDescriptions) { in buildTables()
275 uint32_t FuncDescSize = Summary->getFDSize(); in buildTables()
[all …]
/llvm-project-15.0.7/bolt/lib/Passes/
H A DInstrumentation.cpp91 size_t Idx = Summary->StringTable.size(); in getFunctionNameIndex()
94 Summary->StringTable.append(1, '\0'); in getFunctionNameIndex()
127 Summary->IndCallDescriptions.emplace_back(ICD); in createIndCallDescription()
168 IN.Counter = Summary->Counters.size(); in createLeafNodeDescription()
178 Summary->Counters.emplace_back(Label); in createInstrumentationSnippet()
525 Summary->IndCallCounterFuncPtr = in runOnFunctions()
527 Summary->IndTailCallCounterFuncPtr = in runOnFunctions()
633 Summary->IndTailCallCounterFuncPtr, in createAuxiliaryFunctions()
674 uint32_t FuncDescSize = Summary->getFDSize(); in setupRuntimeLibrary()
689 << Summary->Counters.size() << "\n"; in setupRuntimeLibrary()
[all …]
/llvm-project-15.0.7/llvm/lib/IR/
H A DModuleSummaryIndex.cpp63 return Summary->isDSOLocal(); in isDSOLocal()
72 return Summary->canAutoHide(); in canAutoHide()
158 if (!Summary) in collectDefinedFunctionsForModule()
162 if (Summary->modulePath() != ModulePath) in collectDefinedFunctionsForModule()
164 GVSummaryMap[GUID] = Summary; in collectDefinedFunctionsForModule()
176 auto &Summary = VI.getSummaryList()[0]; in getGlobalValueSummary() local
177 return Summary.get(); in getGlobalValueSummary()
268 [&](const std::unique_ptr<GlobalValueSummary> &Summary) { in propagateAttributes() argument
269 return isGlobalValueLive(Summary.get()); in propagateAttributes()
301 for (const std::unique_ptr<GlobalValueSummary> &Summary : in propagateAttributes() local
[all …]
H A DProfileSummary.cpp149 static bool getSummaryFromMD(MDTuple *MD, SummaryEntryVector &Summary) { in getSummaryFromMD() argument
171 Summary.emplace_back(cast<ConstantInt>(Op0->getValue())->getZExtValue(), in getSummaryFromMD()
242 SummaryEntryVector Summary; in getFromMD() local
243 if (!getSummaryFromMD(dyn_cast<MDTuple>(Tuple->getOperand(I++)), Summary)) in getFromMD()
245 return new ProfileSummary(SummaryKind, std::move(Summary), TotalCount, in getFromMD()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DFunctionImport.cpp214 if ((Summary->instCount() > Threshold) && in selectCallee()
222 if (Summary->notEligibleToImport()) { in selectCallee()
277 for (auto &VI : Summary.refs()) { in computeImportForReferencedGlobals()
358 for (auto &Edge : Summary.calls()) { in computeImportForFunction()
556 auto *Summary = std::get<0>(GVInfo); in ComputeImportForModule() local
559 if (auto *FS = dyn_cast<FunctionSummary>(Summary)) in ComputeImportForModule()
791 auto &Summary = GlobalList.second.SummaryList[0]; in ComputeCrossModuleImportForModuleFromIndex() local
794 if (Summary->modulePath() == ModulePath) in ComputeCrossModuleImportForModuleFromIndex()
797 ImportList[Summary->modulePath()].insert(GUID); in ComputeCrossModuleImportForModuleFromIndex()
938 for (auto &Summary : VI.getSummaryList()) { in computeDeadSymbolsAndUpdateIndirectCalls() local
[all …]
/llvm-project-15.0.7/clang/test/OpenMP/
H A Ddeclare_reduction_codegen.cpp139 struct Summary { struct
140 void merge(const Summary& other) {} in merge() argument
145 Summary global_summary; in work()
146 #pragma omp declare reduction(+ : Summary : omp_out.merge(omp_in)) in work()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h42 std::unique_ptr<ProfileSummary> Summary; variable
68 bool hasProfileSummary() const { return Summary != nullptr; } in hasProfileSummary()
73 Summary->getKind() == ProfileSummary::PSK_Sample; in hasSampleProfile()
79 Summary->getKind() == ProfileSummary::PSK_Instr; in hasInstrumentationProfile()
85 Summary->getKind() == ProfileSummary::PSK_CSInstr; in hasCSInstrumentationProfile()
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/Breakpad/
H A Dinline-record.test6 # CHECK: Summary: inline-record.out`f1 [inlined] inlined_f1 at a.c:3
13 # CHECK: Summary: inline-record.out`f1 + 6 at a.c:3
19 # CHECK: Summary: inline-record.out`f2 + 3 [inlined] inlined_f2 at b.c:2
28 # CHECK: Summary: inline-record.out`f2 + 9 [inlined] inlined_f1 + 6 at b.c:2
35 # CHECK: Summary: inline-record.out`f3 [inlined] inlined_f1 at b.c:3
43 # CHECK: Summary: inline-record.out`f3 + 5 [inlined] at b.c:3
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp314 static void setSummary(IndexedInstrProf::Summary *TheSummary, in setSummary()
319 TheSummary->NumSummaryFields = Summary::NumKinds; in setSummary()
321 TheSummary->set(Summary::MaxFunctionCount, PS.getMaxFunctionCount()); in setSummary()
322 TheSummary->set(Summary::MaxBlockCount, PS.getMaxCount()); in setSummary()
323 TheSummary->set(Summary::MaxInternalBlockCount, PS.getMaxInternalCount()); in setSummary()
324 TheSummary->set(Summary::TotalBlockCount, PS.getTotalCount()); in setSummary()
325 TheSummary->set(Summary::TotalNumBlocks, PS.getNumCounts()); in setSummary()
326 TheSummary->set(Summary::TotalNumFunctions, PS.getNumFunctions()); in setSummary()
389 uint32_t SummarySize = Summary::getSize(Summary::NumKinds, NumEntries); in writeImpl()
464 std::unique_ptr<IndexedInstrProf::Summary> TheSummary = in writeImpl()
[all …]
H A DInstrProfReader.cpp883 const IndexedInstrProf::Summary *SummaryInLE = in readSummary()
891 std::unique_ptr<IndexedInstrProf::Summary> SummaryData = in readSummary()
905 std::unique_ptr<llvm::ProfileSummary> &Summary = in readSummary() local
906 UseCS ? this->CS_Summary : this->Summary; in readSummary()
909 Summary = std::make_unique<ProfileSummary>( in readSummary()
912 SummaryData->get(Summary::MaxBlockCount), in readSummary()
913 SummaryData->get(Summary::MaxInternalBlockCount), in readSummary()
914 SummaryData->get(Summary::MaxFunctionCount), in readSummary()
915 SummaryData->get(Summary::TotalNumBlocks), in readSummary()
916 SummaryData->get(Summary::TotalNumFunctions)); in readSummary()
[all …]
H A DGCOV.cpp45 struct Summary { struct
46 Summary(StringRef Name) : Name(Name) {} in Summary() function
82 void printSummary(const Summary &summary, raw_ostream &os) const;
84 void collectFunction(GCOVFunction &f, Summary &summary);
85 void collectSourceLine(SourceInfo &si, Summary *summary, LineInfo &line,
87 void collectSource(SourceInfo &si, Summary &summary) const;
661 void Context::collectFunction(GCOVFunction &f, Summary &summary) { in collectFunction()
687 void Context::collectSourceLine(SourceInfo &si, Summary *summary, in collectSourceLine()
736 void Context::collectSource(SourceInfo &si, Summary &summary) const { in collectSource()
854 Summary summary(f.getName(options.Demangle)); in print()
[all …]
/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp63 Summary.reset(ProfileSummary::getFromMD(SummaryMD)); in refresh()
69 Summary.reset(ProfileSummary::getFromMD(SummaryMD)); in refresh()
237 auto &DetailedSummary = Summary->getDetailedSummary(); in computeThresholds()
254 double PartialProfileRatio = Summary->getPartialProfileRatio(); in computeThresholds()
273 auto &DetailedSummary = Summary->getDetailedSummary(); in computeThreshold()
376 Summary->getKind() == ProfileSummary::PSK_Sample && in hasPartialSampleProfile()
377 (PartialProfile || Summary->isPartialProfile()); in hasPartialSampleProfile()
H A DModuleSummaryAnalysis.cpp675 for (const auto &Summary : VI.getSummaryList()) in setLiveRoot() local
676 Summary->setLive(true); in setLiveRoot()
740 std::unique_ptr<FunctionSummary> Summary = in buildModuleSummaryIndex() local
764 std::unique_ptr<GlobalVarSummary> Summary = in buildModuleSummaryIndex() local
826 auto *Summary = Index.getGlobalValueSummary(*V); in buildModuleSummaryIndex() local
827 assert(Summary && "Missing summary for global value"); in buildModuleSummaryIndex()
828 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
847 auto &Summary = GlobalList.second.SummaryList[0]; in buildModuleSummaryIndex() local
849 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
858 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DCSPreInliner.cpp59 ProfiledBinary &Binary, ProfileSummary *Summary) in CSPreInliner() argument
64 ContextTracker(Tracker), Binary(Binary), Summary(Summary) { in CSPreInliner()
157 (Summary->getDetailedSummary())); in shouldInline()
167 Summary->getDetailedSummary(), 100000 /* 10% */) in shouldInline()
H A DCSPreInliner.h71 ProfileSummary *Summary);
84 ProfileSummary *Summary; variable
/llvm-project-15.0.7/lldb/test/Shell/SymbolFile/
H A Dsymbol-binding.test8 # CHECK: Summary: symbol-binding.test.tmp.o`case1_global
10 # CHECK: Summary: symbol-binding.test.tmp.o`case2_weak
12 # CHECK: Summary: symbol-binding.test.tmp.o`case3_global
/llvm-project-15.0.7/bolt/include/bolt/RuntimeLibs/
H A DInstrumentationRuntimeLibrary.h27 Summary.swap(S); in setSummary()
50 std::unique_ptr<InstrumentationSummary> Summary; variable
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1371 std::unique_ptr<GlobalValueSummary> Summary) {
1372 addGlobalValueSummary(getOrInsertValueInfo(&GV), std::move(Summary));
1379 std::move(Summary));
1387 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1391 ->second.SummaryList.push_back(std::move(Summary));
1409 auto Summary =
1412 return Summary->modulePath() == ModuleId;
1414 if (Summary == SummaryList.end())
1416 return Summary->get();
1572 for (auto &Summary : GlobalList.second.SummaryList) {
[all …]

12345