Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ProfileData/
HDInstrProf.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() function
696 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument
697 InstrProfRecord &operator=(const InstrProfRecord &RHS) {
747 void merge(InstrProfRecord &Other, uint64_t Weight,
[all …]
HDInstrProfWriter.h35 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
71 const InstrProfRecord &Counters,
110 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
HDInstrProfReader.h152 Error readValueProfileData(InstrProfRecord &Record);
257 Error readRawCounts(InstrProfRecord &Record);
258 Error readValueProfilingData(InstrProfRecord &Record);
474 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName,
HDProfileCommon.h77 void addRecord(const InstrProfRecord &);
HDInstrProfData.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.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ProfileData/
HDInstrProf.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 …]
HDInstrProfWriter.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()
HDInstrProfReader.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()
HDProfileSummaryBuilder.cpp34 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord()
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
HDCodeGenPGO.h38 std::unique_ptr<llvm::InstrProfRecord> ProfRecord;
HDCodeGenPGO.cpp970 llvm::Expected<llvm::InstrProfRecord> RecordExpected = in loadRegionCounts()
984 std::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get())); in loadRegionCounts()
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/profile/
HDInstrProfData.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.
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
HDPGOInstrumentation.cpp992 InstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord()
1031 InstrProfRecord ProfileRecord;
1143 Expected<InstrProfRecord> Result = in readCounters()
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-profdata/
HDllvm-profdata.cpp764 static void traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, in traverseAllValueSites()