Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProf.h51 struct InstrProfRecord;
247 const InstrProfRecord &InstrProfR,
691 struct InstrProfRecord { struct
694 InstrProfRecord() = default; argument
695 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord() argument
696 InstrProfRecord(InstrProfRecord &&) = default;
697 InstrProfRecord(const InstrProfRecord &RHS) in InstrProfRecord() function
702 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument
703 InstrProfRecord &operator=(const InstrProfRecord &RHS) {
753 void merge(InstrProfRecord &Other, uint64_t Weight,
[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.h166 Error readValueProfileData(InstrProfRecord &Record);
277 Error readRawCounts(InstrProfRecord &Record);
278 Error readValueProfilingData(InstrProfRecord &Record);
503 Expected<InstrProfRecord> getInstrProfRecord(StringRef FuncName,
H A DProfileCommon.h84 void addRecord(const InstrProfRecord &);
H A DInstrProfData.inc336 void deserializeTo(InstrProfRecord &Record,
380 static uint32_t getSize(const InstrProfRecord &Record);
385 serializeFrom(const InstrProfRecord &Record);
414 void deserializeTo(InstrProfRecord &Record,
422 * - InstrProfRecord which is the primary data structure used to
432 * in class InstrProfRecord.
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProf.cpp503 void InstrProfRecord::accumulateCounts(CountSumOrPercent &Sum) const { in accumulateCounts()
554 void InstrProfRecord::overlapValueProfData(uint32_t ValueKind, in overlapValueProfData()
555 InstrProfRecord &Other, in overlapValueProfData()
572 void InstrProfRecord::overlap(InstrProfRecord &Other, OverlapStats &Overlap, in overlap()
658 void InstrProfRecord::mergeValueProfData( in mergeValueProfData()
659 uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight, in mergeValueProfData()
677 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge()
698 void InstrProfRecord::scaleValueProfData( in scaleValueProfData()
705 void InstrProfRecord::scale(uint64_t N, uint64_t D, in scale()
719 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue()
[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()
421 InstrProfRecord &Record) { in readRawCounts()
454 InstrProfRecord &Record) { in readValueProfilingData()
878 Expected<InstrProfRecord>
898 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts()
H A DProfileSummaryBuilder.cpp95 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord()
/netbsd-src/sys/external/bsd/compiler_rt/dist/lib/profile/
H A DInstrProfData.inc233 void deserializeTo(InstrProfRecord &Record,
234 InstrProfRecord::ValueMapType *VMap);
277 static uint32_t getSize(const InstrProfRecord &Record);
282 serializeFrom(const InstrProfRecord &Record);
312 void deserializeTo(InstrProfRecord &Record,
313 InstrProfRecord::ValueMapType *VMap);
320 * - InstrProfRecord which is the primary data structure used to
330 * in class InstrProfRecord.
352 * Like InstrProfRecord class which is used by profiling host tools,
/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/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()
467 InstrProfRecord Record = PDV.second; in adjustInstrProfile()
476 InstrProfRecord *R = &PD.getValue().begin()->second; in adjustInstrProfile()
1988 static void traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, in traverseAllValueSites()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1097 InstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord()
1136 InstrProfRecord ProfileRecord;
1278 Expected<InstrProfRecord> Result = in readCounters()