Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h44 using value_type = NamedInstrProfRecord;
83 virtual Error readNextRecord(NamedInstrProfRecord &Record) = 0;
187 Error readNextRecord(NamedInstrProfRecord &Record) override;
233 Error readNextRecord(NamedInstrProfRecord &Record) override;
275 Error readName(NamedInstrProfRecord &Record);
276 Error readFuncHash(NamedInstrProfRecord &Record);
319 std::vector<NamedInstrProfRecord> DataBuffer;
331 using data_type = ArrayRef<NamedInstrProfRecord>;
372 virtual Error getRecords(ArrayRef<NamedInstrProfRecord> &Data) = 0;
376 ArrayRef<NamedInstrProfRecord> &Data) = 0;
[all …]
H A DInstrProfWriter.h56 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight,
58 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord()
111 void overlapRecord(NamedInstrProfRecord &&Other, OverlapStats &Overlap,
H A DInstrProf.h848 struct NamedInstrProfRecord : InstrProfRecord { struct
855 NamedInstrProfRecord() = default; argument
856 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() function
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp253 Error TextInstrProfReader::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
408 Error RawInstrProfReader<IntPtrT>::readName(NamedInstrProfRecord &Record) { in readName()
414 Error RawInstrProfReader<IntPtrT>::readFuncHash(NamedInstrProfRecord &Record) { in readFuncHash()
482 Error RawInstrProfReader<IntPtrT>::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
587 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
601 ArrayRef<NamedInstrProfRecord> &Data) { in getRecords()
635 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
694 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords()
881 ArrayRef<NamedInstrProfRecord> Data; in getInstrProfRecord()
906 Error IndexedInstrProfReader::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord()
[all …]
H A DInstrProfWriter.cpp146 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData()
184 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord()
191 void InstrProfWriter::overlapRecord(NamedInstrProfRecord &&Other, in overlapRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp701 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp2081 bool FuncIsCS = NamedInstrProfRecord::hasCSFlagInHash(Func.Hash); in showInstrProfile()