Home
last modified time | relevance | path

Searched refs:memprof (Results 1 – 25 of 28) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h56 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 DMIBEntryDef.inc9 * This file defines the macros for memprof profiling data structures.
10 * Eg. usage to define the memprof meminfoblock struct:
H A DMemProfData.inc30 // 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 DInstrProfReader.h556 OnDiskIterableChainedHashTable<memprof::RecordLookupTrait>;
558 OnDiskIterableChainedHashTable<memprof::FrameLookupTrait>;
654 memprof::MemProfSchema Schema;
733 Expected<memprof::MemProfRecord> getMemProfRecord(uint64_t FuncNameHash);
H A DRawMemProfReader.h32 namespace memprof {
H A DMemProf.h16 namespace memprof {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp17 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 DModuleSummaryAnalysis.cpp60 using namespace llvm::memprof;
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_mibmap.h14 ::llvm::memprof::MemInfoBlock mib;
22 void InsertOrMerge(const uptr Id, const ::llvm::memprof::MemInfoBlock &Block,
H A DREADME.txt8 memprof_*.{cc,h} : Sources of the memprof runtime library.
17 make check-memprof
H A Dmemprof_rawprofile.cpp19 using ::llvm::memprof::MemInfoBlock;
20 using SegmentEntry = ::llvm::memprof::SegmentEntry;
21 using Header = ::llvm::memprof::Header;
H A Dmemprof_mibmap.cpp19 using ::llvm::memprof::MemInfoBlock;
H A Dmemprof_allocator.cpp39 using ::llvm::memprof::MemInfoBlock;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp269 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 DInstrProfReader.cpp1225 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 DRawMemProfReader.cpp46 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 DMemProf.cpp10 namespace memprof { namespace
/freebsd-14.2/contrib/llvm-project/compiler-rt/include/profile/
H A DMIBEntryDef.inc9 * This file defines the macros for memprof profiling data structures.
10 * Eg. usage to define the memprof meminfoblock struct:
H A DMemProfData.inc30 // 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 DFixedMetadataKinds.def48 LLVM_FIXED_MD_KIND(MD_memprof, "memprof", 34)
/freebsd-14.2/contrib/llvm-project/compiler-rt/lib/memprof/tests/
H A Drawprofile.cpp21 using ::llvm::memprof::MemInfoBlock;
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h24 namespace memprof {
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp49 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 DPassRegistry.def88 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 Dllvm-profdata.cpp625 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()

12