Home
last modified time | relevance | path

Searched refs:IndexedMemProfRecord (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DMemProf.cpp11 void IndexedMemProfRecord::serialize(const MemProfSchema &Schema, in serialize()
34 IndexedMemProfRecord
35 IndexedMemProfRecord::deserialize(const MemProfSchema &Schema, in deserialize()
39 IndexedMemProfRecord Record; in deserialize()
73 GlobalValue::GUID IndexedMemProfRecord::getGUID(const StringRef FunctionName) { in getGUID()
H A DRawMemProfReader.cpp364 FunctionProfileData.insert({F.Function, IndexedMemProfRecord()}); in mapRawProfileToRecords()
365 IndexedMemProfRecord &Record = Result.first->second; in mapRawProfileToRecords()
379 auto Result = FunctionProfileData.insert({Id, IndexedMemProfRecord()}); in mapRawProfileToRecords()
380 IndexedMemProfRecord &Record = Result.first->second; in mapRawProfileToRecords()
427 IndexedMemProfRecord::getGUID(DIFrame.FunctionName); in symbolizeAndFilterStackFrames()
552 const IndexedMemProfRecord &IndexedRecord = Iter->second; in readNextRecord()
H A DInstrProfWriter.cpp257 const Function::GUID Id, const memprof::IndexedMemProfRecord &Record) { in addMemProfRecord()
263 memprof::IndexedMemProfRecord &Existing = Result.first->second; in addMemProfRecord()
/llvm-project-15.0.7/llvm/unittests/ProfileData/
H A DMemProfTest.cpp30 using ::llvm::memprof::IndexedMemProfRecord;
184 const llvm::GlobalValue::GUID FooId = IndexedMemProfRecord::getGUID("foo"); in TEST()
200 const llvm::GlobalValue::GUID BarId = IndexedMemProfRecord::getGUID("bar"); in TEST()
220 const llvm::GlobalValue::GUID XyzId = IndexedMemProfRecord::getGUID("xyz"); in TEST()
231 const llvm::GlobalValue::GUID AbcId = IndexedMemProfRecord::getGUID("abc"); in TEST()
278 IndexedMemProfRecord Record; in TEST()
290 const IndexedMemProfRecord GotRecord = IndexedMemProfRecord::deserialize( in TEST()
H A DInstrProfTest.cpp227 using ::llvm::memprof::IndexedMemProfRecord;
243 IndexedMemProfRecord makeRecord( in makeRecord()
249 llvm::memprof::IndexedMemProfRecord MR; in makeRecord()
295 const IndexedMemProfRecord IndexedMR = makeRecord( in TEST_F()
339 const IndexedMemProfRecord IndexedMR = makeRecord( in TEST_F()
373 const IndexedMemProfRecord IndexedMR = makeRecord( in TEST_F()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DMemProf.h323 struct IndexedMemProfRecord { struct
339 void merge(const IndexedMemProfRecord &Other) { in merge() argument
361 bool operator==(const IndexedMemProfRecord &Other) const { argument
385 static IndexedMemProfRecord deserialize(const MemProfSchema &Schema, argument
405 const IndexedMemProfRecord &Record, in MemProfRecord()
449 using data_type = const IndexedMemProfRecord &;
480 Record = IndexedMemProfRecord::deserialize(Schema, D); in ReadData()
488 IndexedMemProfRecord Record;
497 using data_type = IndexedMemProfRecord;
498 using data_type_ref = IndexedMemProfRecord &;
H A DRawMemProfReader.h98 const llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord> &
143 llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord> FunctionProfileData;
144 llvm::MapVector<GlobalValue::GUID, IndexedMemProfRecord>::iterator Iter;
H A DInstrProfWriter.h46 llvm::MapVector<GlobalValue::GUID, memprof::IndexedMemProfRecord>
75 const memprof::IndexedMemProfRecord &Record);