/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | InstrProfWriter.cpp | 187 memprof::IndexedVersion MemProfVersionRequested, bool MemProfFullSchema) in InstrProfWriter() 275 const Function::GUID Id, const memprof::IndexedMemProfRecord &Record) { in addMemProfRecord() 281 memprof::IndexedMemProfRecord &Existing = Iter->second; in addMemProfRecord() 285 bool InstrProfWriter::addMemProfFrame(const memprof::FrameId Id, in addMemProfFrame() 286 const memprof::Frame &Frame, in addMemProfFrame() 302 const memprof::CallStackId CSId, in addMemProfCallStack() 303 const llvm::SmallVector<memprof::FrameId> &CallStack, in addMemProfCallStack() 444 const memprof::MemProfSchema &Schema) { in writeMemProfSchema() 453 llvm::MapVector<GlobalValue::GUID, memprof::IndexedMemProfRecord> in writeMemProfRecords() 455 memprof::MemProfSchema *Schema, memprof::IndexedVersion Version, in writeMemProfRecords() [all …]
|
H A D | InstrProfReader.cpp | 1206 Version == memprof::Version0 in deserializeV012() 1222 if (Version >= memprof::Version2) { in deserializeV012() 1230 auto SchemaOr = memprof::readMemProfSchema(Ptr); in deserializeV012() 1239 /*Base=*/Start, memprof::RecordLookupTrait(Version, Schema))); in deserializeV012() 1247 if (Version >= memprof::Version2) in deserializeV012() 1270 auto SchemaOr = memprof::readMemProfSchema(Ptr); in deserializeV3() 1282 /*Base=*/Start, memprof::RecordLookupTrait(memprof::Version3, Schema))); in deserializeV3() 1297 if (FirstWord == memprof::Version1 || FirstWord == memprof::Version2 || in deserialize() 1298 FirstWord == memprof::Version3) { in deserialize() 1300 Version = static_cast<memprof::IndexedVersion>(FirstWord); in deserialize() [all …]
|
H A D | MemProfReader.cpp | 45 namespace memprof { namespace 662 const auto *Header = reinterpret_cast<const memprof::Header *>(Next); in peekBuildIds() 693 const auto *Header = reinterpret_cast<const memprof::Header *>(Next); in readRawProfile()
|
H A D | MemProf.cpp | 12 namespace memprof { namespace
|
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | InstrProfWriter.h | 55 memprof::IndexedMemProfData MemProfData; 76 memprof::IndexedVersion MemProfVersionRequested; 85 memprof::IndexedVersion MemProfVersionRequested = memprof::Version0, 108 const memprof::IndexedMemProfRecord &Record); 112 bool addMemProfFrame(const memprof::FrameId, const memprof::Frame &F, 117 bool addMemProfCallStack(const memprof::CallStackId CSId, 118 const llvm::SmallVector<memprof::FrameId> &CallStack, 197 void setMemProfVersionRequested(memprof::IndexedVersion Version) { in setMemProfVersionRequested()
|
H A D | InstrProfReader.h | 560 OnDiskIterableChainedHashTable<memprof::RecordLookupTrait>; 562 OnDiskIterableChainedHashTable<memprof::FrameLookupTrait>; 564 OnDiskIterableChainedHashTable<memprof::CallStackLookupTrait>; 653 memprof::IndexedVersion Version = memprof::Version0; 655 memprof::MemProfSchema Schema; 676 Expected<memprof::MemProfRecord> 772 Expected<memprof::MemProfRecord> getMemProfRecord(uint64_t FuncNameHash) { in getMemProfRecord()
|
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. 47 namespace memprof { 48 // A struct describing the header used for the raw binary memprof profile format. 232 } // namespace memprof
|
H A D | MemProfReader.h | 33 namespace memprof {
|
H A D | MemProf.h | 19 namespace memprof {
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryProfileInfo.cpp | 17 using namespace llvm::memprof; 48 AllocationType llvm::memprof::getAllocType(uint64_t TotalLifetimeAccessDensity, in getAllocType() 69 MDNode *llvm::memprof::buildCallstackMetadata(ArrayRef<uint64_t> CallStack, in buildCallstackMetadata() 80 MDNode *llvm::memprof::getMIBStackNode(const MDNode *MIB) { in getMIBStackNode() 86 AllocationType llvm::memprof::getMIBAllocType(const MDNode *MIB) { in getMIBAllocType() 101 uint64_t llvm::memprof::getMIBTotalSize(const MDNode *MIB) { in getMIBTotalSize() 107 std::string llvm::memprof::getAllocTypeAttributeString(AllocationType Type) { in getAllocTypeAttributeString() 131 bool llvm::memprof::hasSingleAllocType(uint8_t AllocTypes) { in hasSingleAllocType()
|
H A D | ModuleSummaryAnalysis.cpp | 61 using namespace llvm::memprof;
|
/freebsd/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 | 43 using ::llvm::memprof::MemInfoBlock;
|
/freebsd/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. 47 namespace memprof { 48 // A struct describing the header used for the raw binary memprof profile format. 232 } // namespace memprof
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | FixedMetadataKinds.def | 48 LLVM_FIXED_MD_KIND(MD_memprof, "memprof", 34)
|
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/tests/ |
H A D | rawprofile.cpp | 21 using ::llvm::memprof::MemInfoBlock;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemProfiler.cpp | 49 using namespace llvm::memprof; 691 static uint64_t computeStackId(const memprof::Frame &Frame) { in computeStackId() 698 computeFullStackId(const std::vector<memprof::Frame> &CallStack) { in computeFullStackId() 799 std::optional<memprof::MemProfRecord> MemProfRec; in readMemprof()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | MemoryProfileInfo.h | 24 namespace memprof {
|
/freebsd/contrib/llvm-project/llvm/lib/Passes/ |
H A D | PassRegistry.def | 90 MODULE_PASS("memprof-context-disambiguation", MemProfContextDisambiguation()) 91 MODULE_PASS("memprof-module", ModuleMemProfilerPass()) 205 "memprof-use", "MemProfUsePass", 397 FUNCTION_PASS("memprof", MemProfilerPass())
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
H A D | llvm-profdata.cpp | 308 cl::opt<memprof::IndexedVersion> MemProfVersionRequested( 311 cl::init(memprof::Version0), 312 cl::values(clEnumValN(memprof::Version0, "0", "version 0"), 313 clEnumValN(memprof::Version1, "1", "version 1"), 314 clEnumValN(memprof::Version2, "2", "version 2"), 315 clEnumValN(memprof::Version3, "3", "version 3"))); 663 using ::llvm::memprof::RawMemProfReader; in loadInput() 3199 auto ReaderOr = llvm::memprof::RawMemProfReader::create( in showMemProfProfile() 3207 std::unique_ptr<llvm::memprof::RawMemProfReader> Reader( in showMemProfProfile()
|