Home
last modified time | relevance | path

Searched refs:SampleRecord (Results 1 – 15 of 15) sorted by relevance

/external/libchrome/base/metrics/
Dpersistent_sample_map.cc86 struct SampleRecord { struct
165 const SampleRecord* record = iterator.GetNextOfObject<SampleRecord>(); in GetNextPersistentRecord()
179 SampleRecord* record = allocator->New<SampleRecord>(); in CreatePersistentRecord()
273 SampleRecord* record = records->GetAsObject<SampleRecord>(ref); in ImportSamples()
/external/llvm/lib/ProfileData/
DSampleProf.cpp80 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print()
90 LLVM_DUMP_METHOD void SampleRecord::dump() const { print(dbgs(), 0); } in dump()
93 const SampleRecord &Sample) { in operator <<()
106 SampleSorter<LineLocation, SampleRecord> SortedBodySamples(BodySamples); in print()
DSampleProfWriter.cpp47 SampleSorter<LineLocation, SampleRecord> SortedSamples(S.getBodySamples()); in write()
50 const SampleRecord &Sample = I->second; in write()
99 const SampleRecord &Sample = I.second; in addNames()
167 const SampleRecord &Sample = I.second; in writeBody()
/external/llvm/include/llvm/ProfileData/
DSampleProf.h113 class SampleRecord {
117 SampleRecord() : NumSamples(0), CallTargets() {}
154 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) {
170 raw_ostream &operator<<(raw_ostream &OS, const SampleRecord &Sample);
172 typedef std::map<LineLocation, SampleRecord> BodySampleMap;
266 const SampleRecord &Rec = I.second;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DSampleProf.cpp107 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print()
118 LLVM_DUMP_METHOD void SampleRecord::dump() const { print(dbgs(), 0); } in dump()
122 const SampleRecord &Sample) { in operator <<()
135 SampleSorter<LineLocation, SampleRecord> SortedBodySamples(BodySamples); in print()
DSampleProfWriter.cpp238 SampleSorter<LineLocation, SampleRecord> SortedSamples(S.getBodySamples()); in writeSample()
241 const SampleRecord &Sample = I->second; in writeSample()
290 const SampleRecord &Sample = I.second; in addNames()
508 const SampleRecord &Sample = I.second; in writeBody()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DSampleProf.h206 class SampleRecord {
220 SampleRecord() = default;
269 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) {
285 raw_ostream &operator<<(raw_ostream &OS, const SampleRecord &Sample);
289 using BodySampleMap = std::map<LineLocation, SampleRecord>;
352 ErrorOr<SampleRecord::CallTargetMap>
453 const SampleRecord &Rec = I.second;
/external/llvm-project/llvm/lib/ProfileData/
DSampleProf.cpp110 void SampleRecord::print(raw_ostream &OS, unsigned Indent) const { in print()
121 LLVM_DUMP_METHOD void SampleRecord::dump() const { print(dbgs(), 0); } in dump()
125 const SampleRecord &Sample) { in operator <<()
138 SampleSorter<LineLocation, SampleRecord> SortedBodySamples(BodySamples); in print()
DSampleProfWriter.cpp289 SampleSorter<LineLocation, SampleRecord> SortedSamples(S.getBodySamples()); in writeSample()
292 const SampleRecord &Sample = I->second; in writeSample()
341 const SampleRecord &Sample = I.second; in addNames()
551 const SampleRecord &Sample = I.second; in writeBody()
/external/llvm-project/llvm/include/llvm/ProfileData/
DSampleProf.h272 class SampleRecord {
286 SampleRecord() = default;
335 sampleprof_error merge(const SampleRecord &Other, uint64_t Weight = 1) {
351 raw_ostream &operator<<(raw_ostream &OS, const SampleRecord &Sample);
479 using BodySampleMap = std::map<LineLocation, SampleRecord>;
548 ErrorOr<SampleRecord::CallTargetMap>
648 const SampleRecord &Rec = I.second;
/external/llvm-project/llvm/lib/Target/X86/
DX86InsertPrefetch.cpp66 using PrefetchHints = SampleRecord::CallTargetMap;
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86InsertPrefetch.cpp66 using PrefetchHints = SampleRecord::CallTargetMap;
/external/llvm-project/llvm/unittests/ProfileData/
DSampleProfTest.cpp282 ErrorOr<SampleRecord::CallTargetMap> CTMap = in testRoundTrip()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1445 const SampleRecord::CallTargetMap & M) { in GetSortedValueDataFromCallTargets()
1447 for (const auto &I : SampleRecord::SortCallTargets(M)) { in GetSortedValueDataFromCallTargets()
/external/llvm-project/llvm/lib/Transforms/IPO/
DSampleProfile.cpp1507 const SampleRecord::CallTargetMap & M) { in GetSortedValueDataFromCallTargets()
1509 for (const auto &I : SampleRecord::SortCallTargets(M)) { in GetSortedValueDataFromCallTargets()