Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A DInstrProf.h51 struct InstrProfRecord;
246 const InstrProfRecord &InstrProfR,
622 struct InstrProfRecord { struct
625 InstrProfRecord() = default; argument
627 InstrProfRecord(InstrProfRecord &&) = default;
628 InstrProfRecord(const InstrProfRecord &RHS) in InstrProfRecord() function
633 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument
634 InstrProfRecord &operator=(const InstrProfRecord &RHS) {
684 void merge(InstrProfRecord &Other, uint64_t Weight,
767 struct NamedInstrProfRecord : InstrProfRecord {
[all …]
H A DInstrProfWriter.h36 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
71 const InstrProfRecord &Counters,
94 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
H A DInstrProfReader.h147 Error readValueProfileData(InstrProfRecord &Record);
246 Error readRawCounts(InstrProfRecord &Record);
247 Error readValueProfilingData(InstrProfRecord &Record);
446 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName,
H A DProfileCommon.h78 void addRecord(const InstrProfRecord &);
H A DInstrProfData.inc317 void deserializeTo(InstrProfRecord &Record,
361 static uint32_t getSize(const InstrProfRecord &Record);
366 serializeFrom(const InstrProfRecord &Record);
395 void deserializeTo(InstrProfRecord &Record,
403 * - InstrProfRecord which is the primary data structure used to
413 * in class InstrProfRecord.
/freebsd-12.1/contrib/llvm/lib/ProfileData/
H A DInstrProf.cpp518 void InstrProfRecord::mergeValueProfData( in mergeValueProfData()
537 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge()
558 void InstrProfRecord::scaleValueProfData( in scaleValueProfData()
565 void InstrProfRecord::scale(uint64_t Weight, in scale()
616 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueSitesInstrProf()
621 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueDataInstrProf()
627 return reinterpret_cast<const InstrProfRecord *>(R) in getNumValueDataForSiteInstrProf()
662 ValueProfData::serializeFrom(const InstrProfRecord &Record) { in serializeFrom()
670 void ValueProfRecord::deserializeTo(InstrProfRecord &Record, in deserializeTo()
710 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()
188 InstrProfRecord &&I, uint64_t Weight, in addRecord()
195 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in addRecord()
196 InstrProfRecord &Dest = Where->second; in addRecord()
226 const InstrProfRecord &IPR = Func.second; in shouldEncodeData()
336 const InstrProfRecord &Func, in writeRecordInText()
H A DInstrProfReader.cpp175 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { in readValueProfileData()
408 InstrProfRecord &Record) { in readRawCounts()
435 InstrProfRecord &Record) { in readValueProfilingData()
852 Expected<InstrProfRecord>
872 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
H A DProfileSummaryBuilder.cpp35 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.h39 std::unique_ptr<llvm::InstrProfRecord> ProfRecord;
H A DCodeGenPGO.cpp970 llvm::Expected<llvm::InstrProfRecord> RecordExpected = in loadRegionCounts()
984 llvm::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get())); in loadRegionCounts()
/freebsd-12.1/contrib/compiler-rt/lib/profile/
H A DInstrProfData.inc317 void deserializeTo(InstrProfRecord &Record,
361 static uint32_t getSize(const InstrProfRecord &Record);
366 serializeFrom(const InstrProfRecord &Record);
395 void deserializeTo(InstrProfRecord &Record,
403 * - InstrProfRecord which is the primary data structure used to
413 * in class InstrProfRecord.
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp889 InstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord()
927 InstrProfRecord ProfileRecord;
1019 Expected<InstrProfRecord> Result = in readCounters()
/freebsd-12.1/contrib/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp621 static void traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, in traverseAllValueSites()