Home
last modified time | relevance | path

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

1234567

/openbsd/src/gnu/llvm/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp196 void HexagonShuffler::restrictSlot1AOK(HexagonPacketSummary const &Summary) { in restrictSlot1AOK() argument
197 if (Summary.Slot1AOKLoc) in restrictSlot1AOK()
211 *Summary.Slot1AOKLoc, "Instruction can only be combined " in restrictSlot1AOK()
220 HexagonPacketSummary const &Summary) { in restrictNoSlot1Store() argument
225 if (!Summary.NoSlot1StoreLoc) in restrictNoSlot1Store()
245 std::make_pair(*Summary.NoSlot1StoreLoc, in restrictNoSlot1Store()
249 bool HexagonShuffler::applySlotRestrictions(HexagonPacketSummary const &Summary, in applySlotRestrictions() argument
254 restrictSlot1AOK(Summary); in applySlotRestrictions()
255 restrictNoSlot1Store(Summary); in applySlotRestrictions()
263 restrictStoreLoadOrder(Summary); in applySlotRestrictions()
[all …]
DHexagonShuffler.h172 bool applySlotRestrictions(HexagonPacketSummary const &Summary,
174 void restrictSlot1AOK(HexagonPacketSummary const &Summary);
175 void restrictNoSlot1Store(HexagonPacketSummary const &Summary);
177 bool restrictStoreLoadOrder(HexagonPacketSummary const &Summary);
178 void restrictBranchOrder(HexagonPacketSummary const &Summary);
179 void restrictPreferSlot3(HexagonPacketSummary const &Summary,
183 std::optional<HexagonPacket> tryAuction(HexagonPacketSummary const &Summary);
186 bool ValidPacketMemoryOps(HexagonPacketSummary const &Summary) const;
187 bool ValidResourceUsage(HexagonPacketSummary const &Summary);
238 void reportResourceError(HexagonPacketSummary const &Summary, StringRef Err);
[all …]
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
DStdLibraryFunctionsChecker.cpp65 class Summary;
111 const Summary &Summary,
150 const Summary &Summary) const { in describe()
188 const Summary &Summary) const override;
195 const Summary &Summary) const;
198 const Summary &Summary) const;
202 const Summary &Summary, in apply() argument
206 return applyAsOutOfRange(State, Call, Summary); in apply()
208 return applyAsWithinRange(State, Call, Summary); in apply()
247 const Summary &Summary,
[all …]
/openbsd/src/gnu/llvm/llvm/tools/llvm-cov/
DCoverageExporterJson.cpp151 json::Object renderSummary(const FileCoverageSummary &Summary) { in renderSummary() argument
154 json::Object({{"count", int64_t(Summary.LineCoverage.getNumLines())}, in renderSummary()
155 {"covered", int64_t(Summary.LineCoverage.getCovered())}, in renderSummary()
156 {"percent", Summary.LineCoverage.getPercentCovered()}})}, in renderSummary()
159 {{"count", int64_t(Summary.FunctionCoverage.getNumFunctions())}, in renderSummary()
160 {"covered", int64_t(Summary.FunctionCoverage.getExecuted())}, in renderSummary()
161 {"percent", Summary.FunctionCoverage.getPercentCovered()}})}, in renderSummary()
165 int64_t(Summary.InstantiationCoverage.getNumFunctions())}, in renderSummary()
166 {"covered", int64_t(Summary.InstantiationCoverage.getExecuted())}, in renderSummary()
167 {"percent", Summary.InstantiationCoverage.getPercentCovered()}})}, in renderSummary()
[all …]
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()
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()
/openbsd/src/gnu/llvm/llvm/lib/IR/
DModuleSummaryIndex.cpp62 [](const std::unique_ptr<GlobalValueSummary> &Summary) { in isDSOLocal() argument
63 return Summary->isDSOLocal(); in isDSOLocal()
71 [](const std::unique_ptr<GlobalValueSummary> &Summary) { in canAutoHide() argument
72 return Summary->canAutoHide(); in canAutoHide()
157 auto *Summary = dyn_cast_or_null<FunctionSummary>(GlobSummary.get()); in collectDefinedFunctionsForModule() local
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()
[all …]
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()
/openbsd/src/gnu/llvm/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h43 std::unique_ptr<ProfileSummary> Summary; variable
69 bool hasProfileSummary() const { return Summary != nullptr; } in hasProfileSummary()
74 Summary->getKind() == ProfileSummary::PSK_Sample; in hasSampleProfile()
80 Summary->getKind() == ProfileSummary::PSK_Instr; in hasInstrumentationProfile()
86 Summary->getKind() == ProfileSummary::PSK_CSInstr; in hasCSInstrumentationProfile()
/openbsd/src/gnu/llvm/llvm/lib/Transforms/IPO/
DFunctionImport.cpp194 auto *Summary = cast<FunctionSummary>(GVSummary->getBaseObject()); in selectCallee() local
206 if (GlobalValue::isLocalLinkage(Summary->linkage()) && in selectCallee()
208 Summary->modulePath() != CallerModulePath) { in selectCallee()
214 if ((Summary->instCount() > Threshold) && in selectCallee()
215 !Summary->fflags().AlwaysInline && !ForceImportAll) { in selectCallee()
222 if (Summary->notEligibleToImport()) { in selectCallee()
228 if (Summary->fflags().NoInline && !ForceImportAll) { in selectCallee()
272 const GlobalValueSummary &Summary, const ModuleSummaryIndex &Index, in computeImportForReferencedGlobals() argument
277 for (const auto &VI : Summary.refs()) { in computeImportForReferencedGlobals()
294 RefSummary->modulePath() != Summary.modulePath(); in computeImportForReferencedGlobals()
[all …]
DWholeProgramDevirt.cpp389 for (const auto &Summary : TheFnVI.getSummaryList()) { in mustBeUnreachableFunction() local
392 if (!Summary->isLive()) in mustBeUnreachableFunction()
394 if (auto *FS = dyn_cast<FunctionSummary>(Summary.get())) { in mustBeUnreachableFunction()
855 ModuleSummaryIndex &Summary, std::set<GlobalValue::GUID> &ExportedGUIDs, in runWholeProgramDevirtOnIndex() argument
857 DevirtIndex(Summary, ExportedGUIDs, LocalWPDTargetsMap).run(); in runWholeProgramDevirtOnIndex()
861 ModuleSummaryIndex &Summary, in updateIndexWPDForExports() argument
875 auto *TIdSum = Summary.getTypeIdSummary(SlotSummary.TypeID); in updateIndexWPDForExports()
881 Summary.getModuleHash(S->modulePath())); in updateIndexWPDForExports()
888 static Error checkCombinedSummaryForTesting(ModuleSummaryIndex *Summary) { in checkCombinedSummaryForTesting() argument
893 const auto &ModPaths = Summary->modulePaths(); in checkCombinedSummaryForTesting()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DProfileSummaryInfo.cpp66 Summary.reset(ProfileSummary::getFromMD(SummaryMD)); in refresh()
72 Summary.reset(ProfileSummary::getFromMD(SummaryMD)); in refresh()
240 auto &DetailedSummary = Summary->getDetailedSummary(); in computeThresholds()
257 double PartialProfileRatio = Summary->getPartialProfileRatio(); in computeThresholds()
276 auto &DetailedSummary = Summary->getDetailedSummary(); in computeThreshold()
379 Summary->getKind() == ProfileSummary::PSK_Sample && in hasPartialSampleProfile()
380 (PartialProfile || Summary->isPartialProfile()); in hasPartialSampleProfile()
DModuleSummaryAnalysis.cpp733 for (const auto &Summary : VI.getSummaryList()) in setLiveRoot() local
734 Summary->setLive(true); in setLiveRoot()
798 std::unique_ptr<FunctionSummary> Summary = in buildModuleSummaryIndex() local
821 Index.addGlobalValueSummary(*GV, std::move(Summary)); in buildModuleSummaryIndex()
823 std::unique_ptr<GlobalVarSummary> Summary = in buildModuleSummaryIndex() local
830 Index.addGlobalValueSummary(*GV, std::move(Summary)); in buildModuleSummaryIndex()
885 auto *Summary = Index.getGlobalValueSummary(*V); in buildModuleSummaryIndex() local
886 assert(Summary && "Missing summary for global value"); in buildModuleSummaryIndex()
887 Summary->setNotEligibleToImport(); in buildModuleSummaryIndex()
906 auto &Summary = GlobalList.second.SummaryList[0]; in buildModuleSummaryIndex() local
[all …]
/openbsd/src/gnu/llvm/llvm/lib/ProfileData/
DInstrProfWriter.cpp323 static void setSummary(IndexedInstrProf::Summary *TheSummary, in setSummary()
328 TheSummary->NumSummaryFields = Summary::NumKinds; in setSummary()
330 TheSummary->set(Summary::MaxFunctionCount, PS.getMaxFunctionCount()); in setSummary()
331 TheSummary->set(Summary::MaxBlockCount, PS.getMaxCount()); in setSummary()
332 TheSummary->set(Summary::MaxInternalBlockCount, PS.getMaxInternalCount()); in setSummary()
333 TheSummary->set(Summary::TotalBlockCount, PS.getTotalCount()); in setSummary()
334 TheSummary->set(Summary::TotalNumBlocks, PS.getNumCounts()); in setSummary()
335 TheSummary->set(Summary::TotalNumFunctions, PS.getNumFunctions()); in setSummary()
407 uint32_t SummarySize = Summary::getSize(Summary::NumKinds, NumEntries); in writeImpl()
519 std::unique_ptr<IndexedInstrProf::Summary> TheSummary = in writeImpl()
[all …]
DInstrProfReader.cpp933 const IndexedInstrProf::Summary *SummaryInLE = in readSummary()
934 reinterpret_cast<const IndexedInstrProf::Summary *>(Cur); in readSummary()
940 IndexedInstrProf::Summary::getSize(NFields, NEntries); in readSummary()
941 std::unique_ptr<IndexedInstrProf::Summary> SummaryData = in readSummary()
951 const IndexedInstrProf::Summary::Entry &Ent = SummaryData->getEntry(I); in readSummary()
955 std::unique_ptr<llvm::ProfileSummary> &Summary = in readSummary() local
956 UseCS ? this->CS_Summary : this->Summary; in readSummary()
959 Summary = std::make_unique<ProfileSummary>( in readSummary()
961 DetailedSummary, SummaryData->get(Summary::TotalBlockCount), in readSummary()
962 SummaryData->get(Summary::MaxBlockCount), in readSummary()
[all …]
DGCOV.cpp46 struct Summary { struct
47 Summary(StringRef Name) : Name(Name) {} in Summary() function
83 void printSummary(const Summary &summary, raw_ostream &os) const;
85 void collectFunction(GCOVFunction &f, Summary &summary);
86 void collectSourceLine(SourceInfo &si, Summary *summary, LineInfo &line,
88 void collectSource(SourceInfo &si, Summary &summary) const;
662 void Context::collectFunction(GCOVFunction &f, Summary &summary) { in collectFunction()
688 void Context::collectSourceLine(SourceInfo &si, Summary *summary, in collectSourceLine()
737 void Context::collectSource(SourceInfo &si, Summary &summary) const { in collectSource()
855 Summary summary(f.getName(options.Demangle)); in print()
[all …]
DSampleProfWriter.cpp760 encodeULEB128(Summary->getTotalCount(), OS); in writeSummary()
761 encodeULEB128(Summary->getMaxCount(), OS); in writeSummary()
762 encodeULEB128(Summary->getMaxFunctionCount(), OS); in writeSummary()
763 encodeULEB128(Summary->getNumCounts(), OS); in writeSummary()
764 encodeULEB128(Summary->getNumFunctions(), OS); in writeSummary()
766 Summary->getDetailedSummary(); in writeSummary()
898 Summary = Builder.computeSummaryForProfiles(ProfileMap); in computeSummary()
/openbsd/src/gnu/llvm/llvm/docs/CommandGuide/
Dllvm-remarkutil.rst33 Summary subsection
47 Summary argument
62 Summary subsection
/openbsd/src/gnu/usr.bin/perl/cpan/Test-Simple/t/Test2/modules/Event/
DOk.t30 is($ok->summary, "the_test", "Summary is just the name of the test");
80 is($ok->summary, "the_test", "Summary is just the name of the test");
109 is($ok->summary, "the_test (TODO: A Todo)", "Summary is just the name of the test + todo");
139 is($ok->summary, "the_test2 (TODO)", "Summary is just the name of the test + todo");
DBail.t17 is($bail->summary, "Bail out! evil", "Summary includes reason");
19 is($bail->summary, "Bail out!", "Summary has no reason");
/openbsd/src/gnu/llvm/llvm/include/llvm/IR/
DModuleSummaryIndex.h1518 std::unique_ptr<GlobalValueSummary> Summary) {
1519 addGlobalValueSummary(getOrInsertValueInfo(&GV), std::move(Summary));
1524 std::unique_ptr<GlobalValueSummary> Summary) {
1526 std::move(Summary));
1531 std::unique_ptr<GlobalValueSummary> Summary) {
1532 if (const FunctionSummary *FS = dyn_cast<FunctionSummary>(Summary.get()))
1534 addOriginalName(VI.getGUID(), Summary->getOriginalName());
1538 ->second.SummaryList.push_back(std::move(Summary));
1556 auto Summary =
1558 [&](const std::unique_ptr<GlobalValueSummary> &Summary) {
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DFunctionImportUtils.cpp77 auto Summary = ImportIndex.findSummaryInModule( in shouldPromoteLocalToGlobal() local
79 assert(Summary && "Missing summary for global value when exporting"); in shouldPromoteLocalToGlobal()
80 auto Linkage = Summary->linkage(); in shouldPromoteLocalToGlobal()
/openbsd/src/gnu/llvm/llvm/utils/
Dprepare-code-coverage-artifact.py54 with open(os.path.join(report_dir, 'summary.txt'), 'wb') as Summary:
57 stdout=Summary)
/openbsd/src/gnu/llvm/llvm/include/llvm/ProfileData/
DInstrProf.h1093 struct Summary { struct
1126 Summary() = delete; argument
1127 Summary(uint32_t Size) { memset(this, 0, Size); } in Summary() function
1132 return sizeof(Summary) + NumCutoffEntries * sizeof(Entry) + in getSize() argument
1171 inline std::unique_ptr<Summary> allocSummary(uint32_t TotalSize) { in allocSummary() argument
1172 return std::unique_ptr<Summary>(new (::operator new(TotalSize)) in allocSummary()
1173 Summary(TotalSize)); in allocSummary()
DInstrProfReader.h600 std::unique_ptr<ProfileSummary> Summary; variable
689 assert(Summary && "No profile summary"); in getMaximumFunctionCount()
690 return Summary->getMaxFunctionCount(); in getMaximumFunctionCount()
719 assert(Summary && "No profile summary"); in getSummary()
720 return *Summary; in getSummary()

1234567