Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfWriter.cpp187 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 DInstrProfReader.cpp1206 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 DMemProfReader.cpp45 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 DMemProf.cpp12 namespace memprof { namespace
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfWriter.h55 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 DInstrProfReader.h560 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 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.
47 namespace memprof {
48 // A struct describing the header used for the raw binary memprof profile format.
232 } // namespace memprof
H A DMemProfReader.h33 namespace memprof {
H A DMemProf.h19 namespace memprof {
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp17 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 DModuleSummaryAnalysis.cpp61 using namespace llvm::memprof;
/freebsd/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.cpp43 using ::llvm::memprof::MemInfoBlock;
/freebsd/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.
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 DFixedMetadataKinds.def48 LLVM_FIXED_MD_KIND(MD_memprof, "memprof", 34)
/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/tests/
H A Drawprofile.cpp21 using ::llvm::memprof::MemInfoBlock;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp49 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 DMemoryProfileInfo.h24 namespace memprof {
/freebsd/contrib/llvm-project/llvm/lib/Passes/
H A DPassRegistry.def90 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 Dllvm-profdata.cpp308 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()

12