| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 52 struct InstrProfRecord; 693 struct InstrProfRecord { struct 697 InstrProfRecord() = default; argument 699 InstrProfRecord(std::vector<uint64_t> Counts, in InstrProfRecord() function 702 InstrProfRecord(InstrProfRecord &&) = default; 703 InstrProfRecord(const InstrProfRecord &RHS) in InstrProfRecord() function 708 InstrProfRecord &operator=(InstrProfRecord &&) = default; argument 709 InstrProfRecord &operator=(const InstrProfRecord &RHS) { 760 void merge(InstrProfRecord &Other, uint64_t Weight, 879 struct NamedInstrProfRecord : InstrProfRecord { [all …]
|
| H A D | InstrProfWriter.h | 39 using ProfilingData = SmallDenseMap<uint64_t, InstrProfRecord>; 122 Error validateRecord(const InstrProfRecord &Func); 126 const InstrProfRecord &Counters, 181 void addRecord(StringRef Name, uint64_t Hash, InstrProfRecord &&I,
|
| H A D | InstrProfReader.h | 242 Error readValueProfileData(InstrProfRecord &Record); 431 Error readRawCounts(InstrProfRecord &Record); 432 Error readRawBitmapBytes(InstrProfRecord &Record); 433 Error readValueProfilingData(InstrProfRecord &Record); 726 Expected<InstrProfRecord>
|
| H A D | ProfileCommon.h | 89 void addRecord(const InstrProfRecord &);
|
| H A D | InstrProfData.inc | 354 void deserializeTo(InstrProfRecord &Record, 398 static uint32_t getSize(const InstrProfRecord &Record); 403 serializeFrom(const InstrProfRecord &Record); 432 void deserializeTo(InstrProfRecord &Record, 440 * - InstrProfRecord which is the primary data structure used to 450 * in class InstrProfRecord.
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProf.cpp | 698 void InstrProfRecord::overlap(InstrProfRecord &Other, OverlapStats &Overlap, in overlap() 783 void InstrProfRecord::mergeValueProfData( in mergeValueProfData() 802 void InstrProfRecord::merge(InstrProfRecord &Other, uint64_t Weight, in merge() 858 void InstrProfRecord::scaleValueProfData( in scaleValueProfData() 865 void InstrProfRecord::scale(uint64_t N, uint64_t D, in scale() 963 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueSitesInstrProf() 968 return reinterpret_cast<const InstrProfRecord *>(Record) in getNumValueDataInstrProf() 974 return reinterpret_cast<const InstrProfRecord *>(R) in getNumValueDataForSiteInstrProf() 1017 void ValueProfRecord::deserializeTo(InstrProfRecord &Record, in deserializeTo() 1056 void ValueProfData::deserializeTo(InstrProfRecord &Record, in deserializeTo() [all …]
|
| H A D | InstrProfWriter.cpp | 131 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitKeyDataLength() 155 const InstrProfRecord &ProfRecord = ProfileData.second; in EmitData() 226 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in overlapRecord() 231 InstrProfRecord &Dest = Where->second; in overlapRecord() 241 InstrProfRecord &&I, uint64_t Weight, in addRecord() 248 ProfileDataMap.insert(std::make_pair(Hash, InstrProfRecord())); in addRecord() 249 InstrProfRecord &Dest = Where->second; in addRecord() 386 const InstrProfRecord &IPR = Func.second; in shouldEncodeData() 692 Error InstrProfWriter::validateRecord(const InstrProfRecord &Func) { in validateRecord() 711 const InstrProfRecord &Func, in writeRecordInText() [all …]
|
| H A D | ProfileSummaryBuilder.cpp | 93 void InstrProfSummaryBuilder::addRecord(const InstrProfRecord &R) { in addRecord() 99 if (R.getCountPseudoKind() != InstrProfRecord::NotPseudo) in addRecord()
|
| H A D | InstrProfReader.cpp | 316 TextInstrProfReader::readValueProfileData(InstrProfRecord &Record) { in readValueProfileData() 649 InstrProfRecord &Record) { in readRawCounts() 716 Error RawInstrProfReader<IntPtrT>::readRawBitmapBytes(InstrProfRecord &Record) { in readRawBitmapBytes() 760 InstrProfRecord &Record) { in readValueProfilingData() 1332 Expected<InstrProfRecord> IndexedInstrProfReader::getInstrProfRecord( in getInstrProfRecord() 1430 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionCounts() 1440 Expected<InstrProfRecord> Record = getInstrProfRecord(FuncName, FuncHash); in getFunctionBitmapBytes()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 1053 InstrProfRecord::CountPseudoKind &PseudoKind); 1083 InstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord() 1121 InstrProfRecord ProfileRecord; 1318 InstrProfRecord::CountPseudoKind &PseudoKind) { in readCounters() 1321 Expected<InstrProfRecord> Result = PGOReader->getInstrProfRecord( in readCounters() 1330 if (PseudoKind != InstrProfRecord::NotPseudo) { in readCounters() 1367 Expected<InstrProfRecord> Result = PGOReader->getInstrProfRecord( in populateCoverage() 2041 InstrProfRecord::CountPseudoKind PseudoKind = InstrProfRecord::NotPseudo; in annotateAllFunctions() 2051 if (PseudoKind != InstrProfRecord::NotPseudo) { in annotateAllFunctions() 2056 if (PseudoKind == InstrProfRecord::PseudoHot) in annotateAllFunctions()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.h | 42 std::unique_ptr<llvm::InstrProfRecord> ProfRecord;
|
| H A D | CodeGenPGO.cpp | 1281 llvm::Expected<llvm::InstrProfRecord> RecordExpected = in loadRegionCounts() 1295 std::make_unique<llvm::InstrProfRecord>(std::move(RecordExpected.get())); in loadRegionCounts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 954 InstrProfRecord *ProfRecord; 955 InstrProfileEntry(InstrProfRecord *Record); 959 InstrProfileEntry::InstrProfileEntry(InstrProfRecord *Record) { in InstrProfileEntry() 981 InstrProfRecord *ProfRecord = IFE.ProfRecord; in updateInstrProfileEntry() 993 (SetToHot ? InstrProfRecord::PseudoHot : InstrProfRecord::PseudoWarm); in updateInstrProfileEntry() 1213 InstrProfRecord Record = PDV.second; in adjustInstrProfile() 1222 InstrProfRecord *R = &PD.getValue().begin()->second; in adjustInstrProfile() 2641 static void traverseAllValueSites(const InstrProfRecord &Func, uint32_t VK, in traverseAllValueSites() 2761 if (PseudoKind != InstrProfRecord::NotPseudo) { in showInstrProfile() 2769 if (PseudoKind == InstrProfRecord::PseudoHot) in showInstrProfile() [all …]
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/ |
| H A D | InstrProfData.inc | 354 void deserializeTo(InstrProfRecord &Record, 398 static uint32_t getSize(const InstrProfRecord &Record); 403 serializeFrom(const InstrProfRecord &Record); 432 void deserializeTo(InstrProfRecord &Record, 440 * - InstrProfRecord which is the primary data structure used to 450 * in class InstrProfRecord.
|