Home
last modified time | relevance | path

Searched refs:InstrProfRecord (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProf.h50 struct InstrProfRecord;
241 const InstrProfRecord &InstrProfR,
685 struct InstrProfRecord { struct
688 InstrProfRecord() = default; argument
689 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord() argument
690 InstrProfRecord(InstrProfRecord &&) = default;
691 InstrProfRecord(const InstrProfRecord &RHS) in InstrProfRecord() argument
696 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument
697 InstrProfRecord &operator=(const InstrProfRecord &RHS) {
747 void merge(InstrProfRecord &Other, uint64_t Weight,
[all …]
DInstrProfWriter.h35 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
71 const InstrProfRecord &Counters,
110 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
DInstrProfReader.h152 Error readValueProfileData(InstrProfRecord &Record);
257 Error readRawCounts(InstrProfRecord &Record);
258 Error readValueProfilingData(InstrProfRecord &Record);
474 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName,
DProfileCommon.h77 void addRecord(const InstrProfRecord &);
DInstrProfData.inc321 void deserializeTo(InstrProfRecord &Record,
365 static uint32_t getSize(const InstrProfRecord &Record);
370 serializeFrom(const InstrProfRecord &Record);
399 void deserializeTo(InstrProfRecord &Record,
407 * - InstrProfRecord which is the primary data structure used to
417 * in class InstrProfRecord.
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/
DInstrProf.cpp481 void InstrProfRecord::accumulateCounts(CountSumOrPercent &Sum) const { in accumulateCounts()
532 void InstrProfRecord::overlapValueProfData(uint32_t ValueKind, in overlapValueProfData()
533 InstrProfRecord &Other, in overlapValueProfData()
550 void InstrProfRecord::overlap(InstrProfRecord &Other, OverlapStats &Overlap, in overlap()
636 void InstrProfRecord::mergeValueProfData( in mergeValueProfData()
637 uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight, in mergeValueProfData()
655 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge()
676 void InstrProfRecord::scaleValueProfData( in scaleValueProfData()
683 void InstrProfRecord::scale(uint64_t Weight, in scale()
696 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue()
[all …]
DInstrProfWriter.cpp123 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength()
145 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData()
209 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in overlapRecord()
214 InstrProfRecord &Dest = Where->second; in overlapRecord()
225 InstrProfRecord &&I, uint64_t Weight, in addRecord()
232 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in addRecord()
233 InstrProfRecord &Dest = Where->second; in addRecord()
263 const InstrProfRecord &IPR = Func.second; in shouldEncodeData()
399 const InstrProfRecord &Func, in writeRecordInText()
446 using FuncPair = detail::DenseMapPair<uint64_t, InstrProfRecord>; in writeText()
DInstrProfReader.cpp177 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { in readValueProfileData()
414 InstrProfRecord &Record) { in readRawCounts()
447 InstrProfRecord &Record) { in readValueProfilingData()
871 Expected<InstrProfRecord>
891 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
DProfileSummaryBuilder.cpp34 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp992 InstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord()
1031 InstrProfRecord ProfileRecord;
1143 Expected<InstrProfRecord> Result = in readCounters()