Home
last modified time | relevance | path

Searched refs:NamedInstrProfRecord (Results 1 – 7 of 7) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h53 template <class record_type = NamedInstrProfRecord,
107 virtual Error readNextRecord(NamedInstrProfRecord &Record) = 0;
312 Error readNextRecord(NamedInstrProfRecord &Record) override;
395 Error readNextRecord(NamedInstrProfRecord &Record) override;
468 Error readName(NamedInstrProfRecord &Record);
469 Error readFuncHash(NamedInstrProfRecord &Record);
516 std::vector<NamedInstrProfRecord> DataBuffer;
528 using data_type = ArrayRef<NamedInstrProfRecord>;
572 virtual Error getRecords(ArrayRef<NamedInstrProfRecord> &Data) = 0;
576 ArrayRef<NamedInstrProfRecord> &Data) = 0;
[all …]
H A DInstrProfWriter.h115 LLVM_ABI void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
117 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord()
220 LLVM_ABI void overlapRecord(NamedInstrProfRecord &&Other,
H A DInstrProf.h1047 struct NamedInstrProfRecord : InstrProfRecord { struct
1054 NamedInstrProfRecord() = default; argument
1055 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() argument
1058 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() argument
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp404 Error TextInstrProfReader::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
708 Error RawInstrProfReader<IntPtrT>::readName(NamedInstrProfRecord &Record) { in readName()
714 Error RawInstrProfReader<IntPtrT>::readFuncHash(NamedInstrProfRecord &Record) { in readFuncHash()
860 Error RawInstrProfReader<IntPtrT>::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
1005 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
1020 ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
1060 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
1120 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
1372 Expected<NamedInstrProfRecord> IndexedInstrProfReader::getInstrProfRecord( in getInstrProfRecord()
1375 ArrayRef<NamedInstrProfRecord> Data; in getInstrProfRecord()
[all …]
H A DInstrProfWriter.cpp98 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
156 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord()
163 void InstrProfWriter::overlapRecord(NamedInstrProfRecord &&Other, in overlapRecord()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp741 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash()
1216 NamedInstrProfRecord &getProfileRecord() { return ProfileRecord; } in getProfileRecord()
1254 NamedInstrProfRecord ProfileRecord;
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp2887 bool FuncIsCS = NamedInstrProfRecord::hasCSFlagInHash(Func.Hash); in showInstrProfile()