Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h55 struct InstrProfRecord;
321 const InstrProfRecord &InstrProfR,
885 struct InstrProfRecord { struct
889 InstrProfRecord() = default; argument
890 InstrProfRecord(std::vector<uint64_t> Counts) : Counts(std::move(Counts)) {} in InstrProfRecord() argument
891 InstrProfRecord(std::vector<uint64_t> Counts, in InstrProfRecord() argument
894 InstrProfRecord(InstrProfRecord &&) = default;
895 InstrProfRecord(const InstrProfRecord &RHS) in InstrProfRecord() function
900 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument
901 InstrProfRecord &operator=(const InstrProfRecord &RHS) {
[all …]
H A DInstrProfWriter.h42 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>;
155 LLVM_ABI Error validateRecord(const InstrProfRecord &Func);
159 const InstrProfRecord &Counters,
226 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
H A DInstrProfReader.h255 Error readValueProfileData(InstrProfRecord &Record);
470 Error readRawCounts(InstrProfRecord &Record);
471 Error readRawBitmapBytes(InstrProfRecord &Record);
472 Error readValueProfilingData(InstrProfRecord &Record);
H A DProfileCommon.h90 LLVM_ABI void addRecord(const InstrProfRecord &);
H A DInstrProfData.inc408 LLVM_ABI void deserializeTo(InstrProfRecord &Record,
452 LLVM_ABI static uint32_t getSize(const InstrProfRecord &Record);
457 serializeFrom(const InstrProfRecord &Record);
486 LLVM_ABI void deserializeTo(InstrProfRecord &Record,
494 * - InstrProfRecord which is the primary data structure used to
504 * in class InstrProfRecord.
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp779 void InstrProfRecord::accumulateCounts(CountSumOrPercent &Sum) const { in accumulateCounts()
828 void InstrProfRecord::overlapValueProfData(uint32_t ValueKind, in overlapValueProfData()
829 InstrProfRecord &Other, in overlapValueProfData()
846 void InstrProfRecord::overlap(InstrProfRecord &Other, OverlapStats &Overlap, in overlap()
938 void InstrProfRecord::mergeValueProfData( in mergeValueProfData()
939 uint32_t ValueKind, InstrProfRecord &Src, uint64_t Weight, in mergeValueProfData()
957 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge()
1013 void InstrProfRecord::scaleValueProfData( in scaleValueProfData()
1020 void InstrProfRecord::scale(uint64_t N, uint64_t D, in scale()
1038 uint64_t InstrProfRecord::remapValue(uint64_t Value, uint32_t ValueKind, in remapValue()
[all …]
H A DInstrProfWriter.cpp73 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength()
97 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData()
185 InstrProfRecord &Dest = Where->second; in overlapRecord()
195 InstrProfRecord &&I, uint64_t Weight, in addRecord()
200 InstrProfRecord &Dest = Where->second; in addRecord()
428 const InstrProfRecord &IPR = Func.second; in shouldEncodeData()
720 Error InstrProfWriter::validateRecord(const InstrProfRecord &Func) { in validateRecord()
737 const InstrProfRecord &Func, in writeRecordInText()
805 using FuncPair = detail::DenseMapPair<uint64_t, InstrProfRecord>; in writeText()
H A DProfileSummaryBuilder.cpp102 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord()
108 if (R.getCountPseudoKind() != InstrProfRecord::NotPseudo) in addRecord()
H A DInstrProfReader.cpp325 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { in readValueProfileData()
721 InstrProfRecord &Record) { in readRawCounts()
788 Error RawInstrProfReader<IntPtrT>::readRawBitmapBytes(InstrProfRecord &Record) { in readRawBitmapBytes()
832 InstrProfRecord &Record) { in readValueProfilingData()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.h40 std::unique_ptr<llvm::InstrProfRecord> ProfRecord;
H A DCodeGenPGO.cpp1439 std::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get())); in loadRegionCounts()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp1100 InstrProfRecord *ProfRecord;
1101 InstrProfileEntry(InstrProfRecord *Record);
1105 InstrProfileEntry::InstrProfileEntry(InstrProfRecord *Record) { in InstrProfileEntry()
1127 InstrProfRecord *ProfRecord = IFE.ProfRecord; in updateInstrProfileEntry()
1139 (SetToHot ? InstrProfRecord::PseudoHot : InstrProfRecord::PseudoWarm); in updateInstrProfileEntry()
1357 InstrProfRecord Record = PDV.second; in adjustInstrProfile()
1366 InstrProfRecord *R = &PD.getValue().begin()->second; in adjustInstrProfile()
2796 static void traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, in traverseAllValueSites()
2916 if (PseudoKind != InstrProfRecord::NotPseudo) { in showInstrProfile()
2924 if (PseudoKind == InstrProfRecord::PseudoHot) in showInstrProfile()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1186 InstrProfRecord::CountPseudoKind &PseudoKind);
1467 InstrProfRecord::CountPseudoKind &PseudoKind) { in readCounters()
1470 if (PseudoKind != InstrProfRecord::NotPseudo) { in readCounters()
2257 InstrProfRecord::CountPseudoKind PseudoKind = InstrProfRecord::NotPseudo; in annotateAllFunctions()
2267 if (PseudoKind != InstrProfRecord::NotPseudo) { in annotateAllFunctions()
2272 if (PseudoKind == InstrProfRecord::PseudoHot) in annotateAllFunctions()
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DInstrProfData.inc408 LLVM_ABI void deserializeTo(InstrProfRecord &Record,
452 LLVM_ABI static uint32_t getSize(const InstrProfRecord &Record);
457 serializeFrom(const InstrProfRecord &Record);
486 LLVM_ABI void deserializeTo(InstrProfRecord &Record,
494 * - InstrProfRecord which is the primary data structure used to
504 * in class InstrProfRecord.