Home
last modified time | relevance | path

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

12345678910>>...19

/external/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/
DHexagonShuffler.cpp194 void HexagonShuffler::restrictSlot1AOK(HexagonPacketSummary const &Summary) { in restrictSlot1AOK() argument
195 if (Summary.Slot1AOKLoc) in restrictSlot1AOK()
209 *Summary.Slot1AOKLoc, "Instruction can only be combined " in restrictSlot1AOK()
218 HexagonPacketSummary const &Summary) { in restrictNoSlot1Store() argument
223 if (!Summary.NoSlot1StoreLoc) in restrictNoSlot1Store()
243 std::make_pair(*Summary.NoSlot1StoreLoc, in restrictNoSlot1Store()
248 HexagonPacketSummary const &Summary) { in applySlotRestrictions() argument
252 restrictSlot1AOK(Summary); in applySlotRestrictions()
253 restrictNoSlot1Store(Summary); in applySlotRestrictions()
261 restrictStoreLoadOrder(Summary); in applySlotRestrictions()
[all …]
DHexagonShuffler.h180 bool applySlotRestrictions(HexagonPacketSummary const &Summary);
181 void restrictSlot1AOK(HexagonPacketSummary const &Summary);
182 void restrictNoSlot1Store(HexagonPacketSummary const &Summary);
184 bool restrictStoreLoadOrder(HexagonPacketSummary const &Summary);
185 void restrictBranchOrder(HexagonPacketSummary const &Summary);
186 void restrictPreferSlot3(HexagonPacketSummary const &Summary);
189 Optional<HexagonPacket> tryAuction(HexagonPacketSummary const &Summary) const;
192 bool ValidPacketMemoryOps(HexagonPacketSummary const &Summary) const;
193 bool ValidResourceUsage(HexagonPacketSummary const &Summary);
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DStdLibraryFunctionsChecker.cpp68 class Summary;
110 const Summary &Summary,
166 const Summary &Summary) const;
169 const Summary &Summary) const;
173 const Summary &Summary, in apply() argument
177 return applyAsOutOfRange(State, Call, Summary); in apply()
179 return applyAsWithinRange(State, Call, Summary); in apply()
218 const Summary &Summary,
230 const Summary &Summary, in apply() argument
290 const Summary &Summary, in apply() argument
[all …]
/external/oss-fuzz/infra/base-images/base-runner/gocoverage/gocovsum/
Dgocovsum.go32 Summary CoverageTotals `json:"summary,omitempty"` member
96 fileCov.Summary.Functions.Count++
98 fileCov.Summary.Functions.Covered++
100 fileCov.Summary.Functions.Uncovered++
105 fileCov.Summary.Functions.Count++
107 fileCov.Summary.Functions.Covered++
109 fileCov.Summary.Functions.Uncovered++
116 fileCov.Summary.Regions.Count++
118 fileCov.Summary.Regions.Covered++
120 fileCov.Summary.Regions.Uncovered++
[all …]
/external/llvm/lib/IR/
DModuleSummaryIndex.cpp32 std::unique_ptr<GlobalValueSummary> Summary = std::move(List.front()); in mergeFrom() local
37 auto Path = Summary->modulePath(); in mergeFrom()
41 assert(ModPath == Summary->modulePath() && in mergeFrom()
47 Summary->setModulePath(ModPath); in mergeFrom()
52 addGlobalValueSummary(ValueGUID, std::move(Summary)); in mergeFrom()
75 auto *Summary = dyn_cast_or_null<FunctionSummary>(GlobSummary.get()); in collectDefinedFunctionsForModule() local
76 if (!Summary) in collectDefinedFunctionsForModule()
80 if (Summary->modulePath() != ModulePath) in collectDefinedFunctionsForModule()
82 GVSummaryMap[GUID] = Summary; in collectDefinedFunctionsForModule()
92 for (auto &Summary : GlobalList.second) { in collectDefinedGVSummariesPerModule() local
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dsummary_op_test.cc41 static void EXPECT_SummaryMatches(const Summary& actual, in EXPECT_SummaryMatches()
43 Summary expected; in EXPECT_SummaryMatches()
74 Summary summary; in TEST_F()
102 Summary summary; in TEST_F()
131 Summary summary; in TEST_F()
185 Summary s1; in TEST_F()
190 Summary s2; in TEST_F()
193 Summary s3; in TEST_F()
205 Summary summary; in TEST_F()
219 Summary s1; in TEST_F()
[all …]
Dsummary_image_op_test.cc39 static void EXPECT_SummaryMatches(const Summary& actual, in EXPECT_SummaryMatches()
41 Summary expected; in EXPECT_SummaryMatches()
60 void CheckAndRemoveEncodedImages(Summary* summary) { in CheckAndRemoveEncodedImages()
62 Summary::Value* value = summary->mutable_value(i); in CheckAndRemoveEncodedImages()
89 Summary summary; in TEST_F()
112 Summary summary; in TEST_F()
144 Summary summary; in TEST_F()
Dsummary_audio_op_test.cc39 static void EXPECT_SummaryMatches(const Summary& actual, in EXPECT_SummaryMatches()
41 Summary expected; in EXPECT_SummaryMatches()
61 void CheckAndRemoveEncodedAudio(Summary* summary) { in CheckAndRemoveEncodedAudio()
63 Summary::Value* value = summary->mutable_value(i); in CheckAndRemoveEncodedAudio()
95 Summary summary; in TEST_F()
129 Summary summary; in TEST_F()
/external/opencensus-java/api/src/test/java/io/opencensus/metrics/export/
DSummaryTest.java22 import io.opencensus.metrics.export.Summary.Snapshot;
23 import io.opencensus.metrics.export.Summary.Snapshot.ValueAtPercentile;
121 Summary summary = Summary.create(10L, 6.6, snapshot); in createAndGet_Summary()
131 Summary.create( in createSummary_NegativeCount()
139 Summary.create( in createSummary_NegativeSum()
147 Summary.create( in createSummary_ZeroCountAndNonZeroSum()
155 Summary.create(10L, 6.6, null); in createSummary_NullSnapshot()
162 Summary.create( in testEquals()
167 Summary.create( in testEquals()
173 Summary.create( in testEquals()
[all …]
/external/tensorflow/tensorflow/core/api_def/
Dupdate_api_def_test.cc42 Summary for Op1. in TEST()
67 summary: "Summary for Op1." in TEST()
96 Summary for Op1. in TEST()
104 Summary for Op2. in TEST()
111 Summary for Op3. in TEST()
120 summary: "Summary for Op1." in TEST()
127 summary: "Summary for Op2." in TEST()
134 summary: "Summary for Op3." in TEST()
170 summary: "Summary for Op1." in TEST()
196 summary: "Summary for Op1." in TEST()
/external/llvm-project/llvm/tools/llvm-cov/
DCoverageExporterJson.cpp103 json::Object renderSummary(const FileCoverageSummary &Summary) { in renderSummary() argument
106 json::Object({{"count", int64_t(Summary.LineCoverage.getNumLines())}, in renderSummary()
107 {"covered", int64_t(Summary.LineCoverage.getCovered())}, in renderSummary()
108 {"percent", Summary.LineCoverage.getPercentCovered()}})}, in renderSummary()
111 {{"count", int64_t(Summary.FunctionCoverage.getNumFunctions())}, in renderSummary()
112 {"covered", int64_t(Summary.FunctionCoverage.getExecuted())}, in renderSummary()
113 {"percent", Summary.FunctionCoverage.getPercentCovered()}})}, in renderSummary()
117 int64_t(Summary.InstantiationCoverage.getNumFunctions())}, in renderSummary()
118 {"covered", int64_t(Summary.InstantiationCoverage.getExecuted())}, in renderSummary()
119 {"percent", Summary.InstantiationCoverage.getPercentCovered()}})}, in renderSummary()
[all …]
DCoverageSummaryInfo.cpp61 FunctionCoverageSummary Summary(Name); in get() local
62 Summary.ExecutionCount = Group.getTotalExecutionCount(); in get()
63 Summary.RegionCoverage = Summaries[0].RegionCoverage; in get()
64 Summary.LineCoverage = Summaries[0].LineCoverage; in get()
66 Summary.RegionCoverage.merge(FCS.RegionCoverage); in get()
67 Summary.LineCoverage.merge(FCS.LineCoverage); in get()
69 return Summary; in get()
DCoverageExporterLcov.cpp46 const FileCoverageSummary &Summary) { in renderFunctionSummary() argument
47 OS << "FNF:" << Summary.FunctionCoverage.getNumFunctions() << '\n' in renderFunctionSummary()
48 << "FNH:" << Summary.FunctionCoverage.getExecuted() << '\n'; in renderFunctionSummary()
74 void renderLineSummary(raw_ostream &OS, const FileCoverageSummary &Summary) { in renderLineSummary() argument
75 OS << "LF:" << Summary.LineCoverage.getNumLines() << '\n' in renderLineSummary()
76 << "LH:" << Summary.LineCoverage.getCovered() << '\n'; in renderLineSummary()
/external/rust/crates/bencher/
Dstats.rs125 pub struct Summary { struct
140 impl Summary { argument
142 pub fn new(samples: &[f64]) -> Summary { in new() argument
143 Summary { in new()
333 use stats::Summary;
346 fn check(samples: &[f64], summ: &Summary) { in check() argument
348 let summ2 = Summary::new(samples); in check()
375 let summary = Summary::new(xs); in test_min_max_nan()
383 let summ = &Summary { in test_norm2()
411 let summ = &Summary { in test_norm10narrow()
[all …]
/external/llvm/lib/Analysis/
DProfileSummaryInfo.cpp58 if (Summary) in computeSummary()
63 Summary.reset(ProfileSummary::getFromMD(SummaryMD)); in computeSummary()
71 if (!F || !Summary) in isHotFunction()
79 (uint64_t)(0.3 * (double)Summary->getMaxFunctionCount())); in isHotFunction()
92 if (!Summary) in isColdFunction()
100 (uint64_t)(0.01 * (double)Summary->getMaxFunctionCount())); in isColdFunction()
105 if (!Summary) in computeThresholds()
107 if (!Summary) in computeThresholds()
109 auto &DetailedSummary = Summary->getDetailedSummary(); in computeThresholds()
/external/llvm-project/llvm/unittests/ProfileData/
DSampleProfTest.cpp79 void verifyProfileSummary(ProfileSummary &Summary, Module &M, in verifyProfileSummary()
83 const bool IsPartialProfile = Summary.isPartialProfile(); in verifyProfileSummary()
84 const double PartialProfileRatio = Summary.getPartialProfileRatio(); in verifyProfileSummary()
86 ProfileSummary &Summary) mutable { in verifyProfileSummary() argument
87 ASSERT_EQ(ProfileSummary::PSK_Sample, Summary.getKind()); in verifyProfileSummary()
88 ASSERT_EQ(138211u, Summary.getTotalCount()); in verifyProfileSummary()
89 ASSERT_EQ(10u, Summary.getNumCounts()); in verifyProfileSummary()
90 ASSERT_EQ(4u, Summary.getNumFunctions()); in verifyProfileSummary()
91 ASSERT_EQ(1437u, Summary.getMaxFunctionCount()); in verifyProfileSummary()
92 ASSERT_EQ(60351u, Summary.getMaxCount()); in verifyProfileSummary()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/trace/export/
DRunningSpanStore.java59 public abstract Summary getSummary(); in getSummary()
77 public abstract static class Summary { class in RunningSpanStore
79 Summary() {} in Summary() method in RunningSpanStore.Summary
89 public static Summary create(Map<String, PerSpanNameSummary> perSpanNameSummary) { in create()
187 private static final Summary EMPTY_SUMMARY =
188 Summary.create(Collections.<String, PerSpanNameSummary>emptyMap());
191 public Summary getSummary() { in getSummary()
/external/llvm/unittests/ProfileData/
DSampleProfTest.cpp114 auto VerifySummary = [](ProfileSummary &Summary) mutable { in testRoundTrip() argument
115 ASSERT_EQ(ProfileSummary::PSK_Sample, Summary.getKind()); in testRoundTrip()
116 ASSERT_EQ(123603u, Summary.getTotalCount()); in testRoundTrip()
117 ASSERT_EQ(6u, Summary.getNumCounts()); in testRoundTrip()
118 ASSERT_EQ(2u, Summary.getNumFunctions()); in testRoundTrip()
119 ASSERT_EQ(1437u, Summary.getMaxFunctionCount()); in testRoundTrip()
120 ASSERT_EQ(60351u, Summary.getMaxCount()); in testRoundTrip()
126 std::vector<ProfileSummaryEntry> &Details = Summary.getDetailedSummary(); in testRoundTrip()
142 ProfileSummary &Summary = Reader->getSummary(); in testRoundTrip() local
143 VerifySummary(Summary); in testRoundTrip()
[all …]
/external/opencensus-java/api/src/main/java/io/opencensus/metrics/export/
DValue.java85 public static Value summaryValue(Summary value) { in summaryValue()
98 Function<? super Summary, T> summaryFunction, in match() argument
113 Function<? super Summary, T> summaryFunction, in match() argument
148 Function<? super Summary, T> summaryFunction, in match() argument
186 Function<? super Summary, T> summaryFunction, in match() argument
224 Function<? super Summary, T> summaryFunction, in match() argument
235 static ValueSummary create(Summary value) { in create()
244 abstract Summary getValue(); in getValue()
/external/tensorflow/tensorflow/core/kernels/boosted_trees/quantiles/
Dweighted_quantiles_stream.h69 using Summary = WeightedQuantilesSummary<ValueType, WeightType, CompareFn>; variable
70 using SummaryEntry = typename Summary::SummaryEntry;
199 const Summary& GetFinalSummary() const { in GetFinalSummary()
213 std::vector<Summary> SerializeInternalSummaries() const { in SerializeInternalSummaries()
216 std::vector<Summary> result; in SerializeInternalSummaries()
218 for (const Summary& summary : summary_levels_) { in SerializeInternalSummaries()
226 void DeserializeInternalSummaries(const std::vector<Summary>& summaries) { in DeserializeInternalSummaries()
259 Summary& current_summary = summary_levels_[level]; in PropagateLocalSummary()
286 Summary local_summary_;
288 std::vector<Summary> summary_levels_;
Dweighted_quantiles_summary_test.cc28 using Summary = typedef
74 Summary summary; in TEST_F()
95 Summary summary; in TEST_F()
112 Summary summary; in TEST_F()
146 Summary summary; in TEST_F()
166 Summary summary1; in TEST_F()
168 Summary summary2; in TEST_F()
197 Summary summary1; in TEST_F()
199 Summary summary2; in TEST_F()
/external/llvm/lib/Transforms/IPO/
DFunctionImport.cpp94 static bool canBeExternallyReferenced(const GlobalValueSummary &Summary) { in canBeExternallyReferenced() argument
95 if (!Summary.needsRenaming()) in canBeExternallyReferenced()
98 if (Summary.hasSection()) in canBeExternallyReferenced()
127 const GlobalValueSummary &Summary) { in eligibleForImport() argument
128 if (!canBeExternallyReferenced(Summary)) in eligibleForImport()
137 llvm::all_of(Summary.refs(), [&](const ValueInfo &VI) { in eligibleForImport()
143 if (auto *FuncSummary = dyn_cast<FunctionSummary>(&Summary)) { in eligibleForImport()
186 auto *Summary = cast<FunctionSummary>(GVSummary); in selectCallee() local
188 if (Summary->instCount() > Threshold) in selectCallee()
191 if (!eligibleForImport(Index, *Summary)) in selectCallee()
[all …]
/external/tensorflow/tensorflow/core/summary/
Dsummary_converter.h26 Summary* s);
28 Summary* s);
31 Summary* s);
34 Summary* s);
Dsummary_converter.cc75 const std::function<Uint8Image(int)>& ith_image, Summary* s) { in AddImages()
78 Summary::Value* v = s->add_value(); in AddImages()
92 Summary::Image* si = v->mutable_image(); in AddImages()
182 Summary* s) { in NormalizeAndAddImages()
207 Summary* s) { in AddTensorAsScalarToSummary()
208 Summary::Value* v = s->add_value(); in AddTensorAsScalarToSummary()
217 Summary* s) { in AddTensorAsHistogramToSummary()
218 Summary::Value* v = s->add_value(); in AddTensorAsHistogramToSummary()
238 Summary* s) { in AddTensorAsImageToSummary()
283 Summary* s) { in AddTensorAsAudioToSummary()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h46 std::unique_ptr<ProfileSummary> Summary; variable
68 : M(Arg.M), Summary(std::move(Arg.Summary)) {} in ProfileSummaryInfo()
76 Summary->getKind() == ProfileSummary::PSK_Sample; in hasSampleProfile()
82 Summary->getKind() == ProfileSummary::PSK_Instr; in hasInstrumentationProfile()
88 Summary->getKind() == ProfileSummary::PSK_CSInstr; in hasCSInstrumentationProfile()

12345678910>>...19