Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h51 struct InstrProfRecord;
247 const InstrProfRecord &InstrProfR,
691 struct InstrProfRecord { struct
694 InstrProfRecord() = default; argument
696 InstrProfRecord(InstrProfRecord &&) = default;
697 InstrProfRecord(const InstrProfRecord &RHS) in InstrProfRecord() argument
702 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument
703 InstrProfRecord &operator=(const InstrProfRecord &RHS) {
753 void merge(InstrProfRecord &Other, uint64_t Weight,
848 struct NamedInstrProfRecord : InstrProfRecord {
[all …]
H A DInstrProfWriter.h35 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
72 Error validateRecord(const InstrProfRecord &Func);
76 const InstrProfRecord &Counters,
116 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
H A DInstrProfReader.h169 Error readValueProfileData(InstrProfRecord &Record);
284 Error readRawCounts(InstrProfRecord &Record);
285 Error readValueProfilingData(InstrProfRecord &Record);
510 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName,
H A DProfileCommon.h84 void addRecord(const InstrProfRecord &);
H A DInstrProfData.inc337 void deserializeTo(InstrProfRecord &Record,
381 static uint32_t getSize(const InstrProfRecord &Record);
386 serializeFrom(const InstrProfRecord &Record);
415 void deserializeTo(InstrProfRecord &Record,
423 * - InstrProfRecord which is the primary data structure used to
433 * in class InstrProfRecord.
/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp573 void InstrProfRecord::overlap(InstrProfRecord &Other, OverlapStats &Overlap, in overlap()
659 void InstrProfRecord::mergeValueProfData( in mergeValueProfData()
678 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge()
699 void InstrProfRecord::scaleValueProfData( in scaleValueProfData()
706 void InstrProfRecord::scale(uint64_t N, uint64_t D, in scale()
758 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueSitesInstrProf()
763 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueDataInstrProf()
769 return reinterpret_cast<const InstrProfRecord *>(R) in getNumValueDataForSiteInstrProf()
812 void ValueProfRecord::deserializeTo(InstrProfRecord &Record, in deserializeTo()
852 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo()
[all …]
H A DInstrProfWriter.cpp123 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength()
145 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData()
210 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in overlapRecord()
215 InstrProfRecord &Dest = Where->second; in overlapRecord()
226 InstrProfRecord &&I, uint64_t Weight, in addRecord()
233 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in addRecord()
234 InstrProfRecord &Dest = Where->second; in addRecord()
264 const InstrProfRecord &IPR = Func.second; in shouldEncodeData()
410 Error InstrProfWriter::validateRecord(const InstrProfRecord &Func) { in validateRecord()
432 const InstrProfRecord &Func, in writeRecordInText()
[all …]
H A DInstrProfReader.cpp184 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { in readValueProfileData()
427 InstrProfRecord &Record) { in readRawCounts()
460 InstrProfRecord &Record) { in readValueProfilingData()
911 Expected<InstrProfRecord>
931 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
H A DProfileSummaryBuilder.cpp95 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.h38 std::unique_ptr<llvm::InstrProfRecord> ProfRecord;
H A DCodeGenPGO.cpp1025 llvm::Expected<llvm::InstrProfRecord> RecordExpected = in loadRegionCounts()
1039 std::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get())); in loadRegionCounts()
/freebsd-13.1/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc337 void deserializeTo(InstrProfRecord &Record,
381 static uint32_t getSize(const InstrProfRecord &Record);
386 serializeFrom(const InstrProfRecord &Record);
415 void deserializeTo(InstrProfRecord &Record,
423 * - InstrProfRecord which is the primary data structure used to
433 * in class InstrProfRecord.
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp405 InstrProfRecord *ProfRecord;
406 InstrProfileEntry(InstrProfRecord *Record);
410 InstrProfileEntry::InstrProfileEntry(InstrProfRecord *Record) { in InstrProfileEntry()
429 InstrProfRecord *ProfRecord = IFE.ProfRecord; in updateInstrProfileEntry()
486 InstrProfRecord Record = PDV.second; in adjustInstrProfile()
495 InstrProfRecord *R = &PD.getValue().begin()->second; in adjustInstrProfile()
2017 static void traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, in traverseAllValueSites()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1097 InstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord()
1136 InstrProfRecord ProfileRecord;
1278 Expected<InstrProfRecord> Result = in readCounters()