Searched refs:NamedInstrProfRecord (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfReader.h | 43 template <class record_type = NamedInstrProfRecord, 97 virtual Error readNextRecord(NamedInstrProfRecord &Record) = 0; 242 Error readNextRecord(NamedInstrProfRecord &Record) override; 298 Error readNextRecord(NamedInstrProfRecord &Record) override; 356 Error readName(NamedInstrProfRecord &Record); 357 Error readFuncHash(NamedInstrProfRecord &Record); 402 std::vector<NamedInstrProfRecord> DataBuffer; 414 using data_type = ArrayRef<NamedInstrProfRecord>; 500 Error getRecords(ArrayRef<NamedInstrProfRecord> &Data) override; 502 ArrayRef<NamedInstrProfRecord> &Data) override; [all …]
|
| H A D | InstrProfWriter.h | 67 void addRecord(NamedInstrProfRecord &&I, uint64_t Weight, 69 void addRecord(NamedInstrProfRecord &&I, function_ref<void(Error)> Warn) { in addRecord() 146 void overlapRecord(NamedInstrProfRecord &&Other, OverlapStats &Overlap,
|
| H A D | InstrProf.h | 882 struct NamedInstrProfRecord : InstrProfRecord { struct 889 NamedInstrProfRecord() = default; argument 890 NamedInstrProfRecord(StringRef Name, uint64_t Hash, in NamedInstrProfRecord() argument
|
| /llvm-project-15.0.7/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 266 Error TextInstrProfReader::readNextRecord(NamedInstrProfRecord &Record) { in readNextRecord() 702 StringRef FuncName, ArrayRef<NamedInstrProfRecord> &Data) { in getRecords() 717 ArrayRef<NamedInstrProfRecord> &Data) { in getRecords() 757 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords() 816 ArrayRef<NamedInstrProfRecord> &Data) override { in getRecords() 1031 ArrayRef<NamedInstrProfRecord> Data; in getInstrProfRecord() 1055 for (const NamedInstrProfRecord &I : Data) { in getInstrProfRecord() 1059 if (NamedInstrProfRecord::hasCSFlagInHash(I.Hash) == in getInstrProfRecord() 1060 NamedInstrProfRecord::hasCSFlagInHash(FuncHash)) { in getInstrProfRecord() 1124 ArrayRef<NamedInstrProfRecord> Data; in readNextRecord() [all …]
|
| H A D | InstrProfWriter.cpp | 151 if (NamedInstrProfRecord::hasCSFlagInHash(ProfileData.first)) in EmitData() 188 void InstrProfWriter::addRecord(NamedInstrProfRecord &&I, uint64_t Weight, in addRecord() 195 void InstrProfWriter::overlapRecord(NamedInstrProfRecord &&Other, in overlapRecord()
|
| /llvm-project-15.0.7/llvm/unittests/ProfileData/ |
| H A D | InstrProfTest.cpp | 432 NamedInstrProfRecord Record1("caller", 0x1234, {1, 2}); in TEST_P() 476 NamedInstrProfRecord Record("caller", 0x1234, {1, 2}); in TEST_P() 572 NamedInstrProfRecord Record1("caller", 0x1234, {1, 2}); in TEST_P() 615 NamedInstrProfRecord Record1("caller", 0x1234, {1, 2}); in TEST_P() 663 NamedInstrProfRecord Record11(caller, 0x1234, {1, 2}); in TEST_P() 664 NamedInstrProfRecord Record12(caller, 0x1234, {1, 2}); in TEST_P() 786 NamedInstrProfRecord Record4("baz", 0x5678, {3, 4}); in TEST_P() 795 NamedInstrProfRecord Record5("baz", 0x5678, {5, 6}); in TEST_P() 828 NamedInstrProfRecord Record11(caller, 0x1234, {1, 2}); in TEST_P() 829 NamedInstrProfRecord Record12(caller, 0x1234, {1, 2}); in TEST_P() [all …]
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Instrumentation/ |
| H A D | PGOInstrumentation.cpp | 626 NamedInstrProfRecord::setCSFlagInHash(FunctionHash); in computeCFGHash()
|
| /llvm-project-15.0.7/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 2183 bool FuncIsCS = NamedInstrProfRecord::hasCSFlagInHash(Func.Hash); in showInstrProfile()
|