Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h45 template <class record_type = NamedInstrProfRecord,
99 virtual Error readNextRecord(NamedInstrProfRecord &Record) = 0;
263 Error readNextRecord(NamedInstrProfRecord &Record) override;
321 Error readNextRecord(NamedInstrProfRecord &Record) override;
388 Error readName(NamedInstrProfRecord &Record);
389 Error readFuncHash(NamedInstrProfRecord &Record);
434 std::vector<NamedInstrProfRecord> DataBuffer;
446 using data_type = ArrayRef<NamedInstrProfRecord>;
487 virtual Error getRecords(ArrayRef<NamedInstrProfRecord> &Data) = 0;
491 ArrayRef<NamedInstrProfRecord> &Data) = 0;
[all …]
H A DInstrProfWriter.h71 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
73 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord()
153 void overlapRecord(NamedInstrProfRecord &&Other, OverlapStats &Overlap,
H A DInstrProf.h911 struct NamedInstrProfRecord : InstrProfRecord { struct
918 NamedInstrProfRecord() = default; argument
919 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() argument
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/
H A DInstrProfReader.cpp351 Error TextInstrProfReader::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
544 Error RawInstrProfReader<IntPtrT>::readName(NamedInstrProfRecord &Record) { in readName()
550 Error RawInstrProfReader<IntPtrT>::readFuncHash(NamedInstrProfRecord &Record) { in readFuncHash()
632 Error RawInstrProfReader<IntPtrT>::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
752 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
767 ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
807 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
866 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
1099 ArrayRef<NamedInstrProfRecord> Data; in getInstrProfRecord()
1122 for (const NamedInstrProfRecord &I : Data) { in getInstrProfRecord()
[all …]
H A DInstrProfWriter.cpp152 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
189 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord()
196 void InstrProfWriter::overlapRecord(NamedInstrProfRecord &&Other, in overlapRecord()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp650 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash()
/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp2412 bool FuncIsCS = NamedInstrProfRecord::hasCSFlagInHash(Func.Hash); in showInstrProfile()