| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProfWriter.h | 56 llvm::MapVector<GlobalValue::GUID, memprof::IndexedMemProfRecord> 61 llvm::MapVector<memprof::FrameId, memprof::Frame> MemProfFrameData; 95 const memprof::IndexedMemProfRecord &Record); 99 bool addMemProfFrame(const memprof::FrameId, const memprof::Frame &F,
|
| H A D | MIBEntryDef.inc | 9 * This file defines the macros for memprof profiling data structures. 10 * Eg. usage to define the memprof meminfoblock struct:
|
| H A D | MemProfData.inc | 30 // A 64-bit magic number to uniquely identify the raw binary memprof profile file. 41 namespace memprof { 42 // A struct describing the header used for the raw binary memprof profile format. 205 } // namespace memprof
|
| H A D | InstrProfReader.h | 556 OnDiskIterableChainedHashTable<memprof::RecordLookupTrait>; 558 OnDiskIterableChainedHashTable<memprof::FrameLookupTrait>; 654 memprof::MemProfSchema Schema; 733 Expected<memprof::MemProfRecord> getMemProfRecord(uint64_t FuncNameHash);
|
| H A D | RawMemProfReader.h | 32 namespace memprof {
|
| H A D | MemProf.h | 16 namespace memprof {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 17 using namespace llvm::memprof; 44 AllocationType llvm::memprof::getAllocType(uint64_t TotalLifetimeAccessDensity, in getAllocType() 65 MDNode *llvm::memprof::buildCallstackMetadata(ArrayRef<uint64_t> CallStack, in buildCallstackMetadata() 76 MDNode *llvm::memprof::getMIBStackNode(const MDNode *MIB) { in getMIBStackNode() 82 AllocationType llvm::memprof::getMIBAllocType(const MDNode *MIB) { in getMIBAllocType() 97 std::string llvm::memprof::getAllocTypeAttributeString(AllocationType Type) { in getAllocTypeAttributeString() 121 bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType()
|
| H A D | ModuleSummaryAnalysis.cpp | 60 using namespace llvm::memprof;
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_mibmap.h | 14 ::llvm::memprof::MemInfoBlock mib; 22 void InsertOrMerge(const uptr Id, const ::llvm::memprof::MemInfoBlock &Block,
|
| H A D | README.txt | 8 memprof_*.{cc,h} : Sources of the memprof runtime library. 17 make check-memprof
|
| H A D | memprof_rawprofile.cpp | 19 using ::llvm::memprof::MemInfoBlock; 20 using SegmentEntry = ::llvm::memprof::SegmentEntry; 21 using Header = ::llvm::memprof::Header;
|
| H A D | memprof_mibmap.cpp | 19 using ::llvm::memprof::MemInfoBlock;
|
| H A D | memprof_allocator.cpp | 39 using ::llvm::memprof::MemInfoBlock;
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfWriter.cpp | 269 const Function::GUID Id, const memprof::IndexedMemProfRecord &Record) { in addMemProfRecord() 275 memprof::IndexedMemProfRecord &Existing = Result.first->second; in addMemProfRecord() 279 bool InstrProfWriter::addMemProfFrame(const memprof::FrameId Id, in addMemProfFrame() 280 const memprof::Frame &Frame, in addMemProfFrame() 525 auto Schema = memprof::PortableMemInfoBlock::getSchema(); in writeImpl() 531 auto RecordWriter = std::make_unique<memprof::RecordWriterTrait>(); in writeImpl() 533 OnDiskChainedHashTableGenerator<memprof::RecordWriterTrait> in writeImpl() 550 auto FrameWriter = std::make_unique<memprof::FrameWriterTrait>(); in writeImpl() 551 OnDiskChainedHashTableGenerator<memprof::FrameWriterTrait> in writeImpl()
|
| H A D | InstrProfReader.cpp | 1225 auto SchemaOr = memprof::readMemProfSchema(Ptr); in readHeader() 1234 /*Base=*/Start, memprof::RecordLookupTrait(Schema))); in readHeader() 1240 /*Base=*/Start, memprof::FrameLookupTrait())); in readHeader() 1390 Expected<memprof::MemProfRecord> 1404 memprof::FrameId LastUnmappedFrameId = 0; in getMemProfRecord() 1406 auto IdToFrameCallback = [&](const memprof::FrameId Id) { in getMemProfRecord() 1411 return memprof::Frame(0, 0, 0, false); in getMemProfRecord() 1416 memprof::MemProfRecord Record(*Iter, IdToFrameCallback); in getMemProfRecord()
|
| H A D | RawMemProfReader.cpp | 46 namespace memprof { namespace 570 auto *Header = reinterpret_cast<const memprof::Header *>(Next); in peekBuildIds() 593 auto *Header = reinterpret_cast<const memprof::Header *>(Next); in readRawProfile()
|
| H A D | MemProf.cpp | 10 namespace memprof { namespace
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/ |
| H A D | MIBEntryDef.inc | 9 * This file defines the macros for memprof profiling data structures. 10 * Eg. usage to define the memprof meminfoblock struct:
|
| H A D | MemProfData.inc | 30 // A 64-bit magic number to uniquely identify the raw binary memprof profile file. 41 namespace memprof { 42 // A struct describing the header used for the raw binary memprof profile format. 205 } // namespace memprof
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | FixedMetadataKinds.def | 48 LLVM_FIXED_MD_KIND(MD_memprof, "memprof", 34)
|
| /freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/tests/ |
| H A D | rawprofile.cpp | 21 using ::llvm::memprof::MemInfoBlock;
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryProfileInfo.h | 24 namespace memprof {
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 49 using namespace llvm::memprof; 638 static uint64_t computeStackId(const memprof::Frame &Frame) { in computeStackId() 688 std::optional<memprof::MemProfRecord> MemProfRec; in readMemprof()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Passes/ |
| H A D | PassRegistry.def | 88 MODULE_PASS("memprof-context-disambiguation", MemProfContextDisambiguation()) 89 MODULE_PASS("memprof-module", ModuleMemProfilerPass()) 187 "memprof-use", "MemProfUsePass", 373 FUNCTION_PASS("memprof", MemProfilerPass())
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 625 using ::llvm::memprof::RawMemProfReader; in loadInput() 3124 auto ReaderOr = llvm::memprof::RawMemProfReader::create( in showMemProfProfile() 3132 std::unique_ptr<llvm::memprof::RawMemProfReader> Reader( in showMemProfProfile()
|