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.h49 template <class record_type = NamedInstrProfRecord,
103 virtual Error readNextRecord(NamedInstrProfRecord &Record) = 0;
294 Error readNextRecord(NamedInstrProfRecord &Record) override;
364 Error readNextRecord(NamedInstrProfRecord &Record) override;
433 Error readName(NamedInstrProfRecord &Record);
434 Error readFuncHash(NamedInstrProfRecord &Record);
481 std::vector<NamedInstrProfRecord> DataBuffer;
493 using data_type = ArrayRef<NamedInstrProfRecord>;
536 virtual Error getRecords(ArrayRef<NamedInstrProfRecord> &Data) = 0;
540 ArrayRef<NamedInstrProfRecord> &Data) = 0;
[all …]
H A DInstrProfWriter.h94 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
96 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord()
203 void overlapRecord(NamedInstrProfRecord &&Other, OverlapStats &Overlap,
H A DInstrProf.h984 struct NamedInstrProfRecord : InstrProfRecord { struct
991 NamedInstrProfRecord() = default; argument
992 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() function
995 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() function
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp392 Error TextInstrProfReader::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
675 Error RawInstrProfReader<IntPtrT>::readName(NamedInstrProfRecord &Record) { in readName()
681 Error RawInstrProfReader<IntPtrT>::readFuncHash(NamedInstrProfRecord &Record) { in readFuncHash()
827 Error RawInstrProfReader<IntPtrT>::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
972 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
987 ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
1027 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
1087 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
1485 ArrayRef<NamedInstrProfRecord> Data; in getInstrProfRecord()
1520 for (const NamedInstrProfRecord &I : Data) { in getInstrProfRecord()
[all …]
H A DInstrProfWriter.cpp158 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
206 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord()
213 void InstrProfWriter::overlapRecord(NamedInstrProfRecord &&Other, in overlapRecord()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp678 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash()
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp2791 bool FuncIsCS = NamedInstrProfRecord::hasCSFlagInHash(Func.Hash); in showInstrProfile()