Home
last modified time | relevance | path

Searched refs:MemProfData (Results 1 – 14 of 14) sorted by relevance

/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfReader.h47 Iter = MemProfData.Records.begin(); in begin()
53 IndexedMemProfData takeMemProfData() { return std::move(MemProfData); } in takeMemProfData()
58 if (MemProfData.Records.empty())
61 if (Iter == MemProfData.Records.end())
67 CallStackIdConverter<decltype(MemProfData.CallStacks)> CSIdConv(
68 MemProfData.CallStacks, Callback);
87 MemProfReader(IndexedMemProfData &&MemProfData) in MemProfReader() argument
88 : MemProfData(std::move(MemProfData)) {} in MemProfReader()
93 auto It = MemProfData.Frames.find(Id); in idToFrame()
94 assert(It != MemProfData.Frames.end() && "Id not found in map."); in idToFrame()
[all …]
H A DMemProfRadixTree.h220 IndexedCallstackIdConverter(IndexedMemProfData &MemProfData) in IndexedCallstackIdConverter()
221 : FrameIdConv(MemProfData.Frames), in IndexedCallstackIdConverter()
222 CSIdConv(MemProfData.CallStacks, FrameIdConv) {} in IndexedCallstackIdConverter()
H A DIndexedMemProfData.h92 ProfOStream &OS, memprof::IndexedMemProfData &MemProfData,
H A DMemProfData.inc3 /*===-- MemProfData.inc - MemProf profiling runtime structures -*- C++ -*-=== *\
96 // MemProfData.inc since it would mean we are embedding a directive (the
H A DInstrProfWriter.h58 memprof::IndexedMemProfData MemProfData; variable
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DIndexedMemProfData.cpp186 memprof::IndexedMemProfData &MemProfData, in writeMemProfV2() argument
202 writeMemProfRecords(OS, MemProfData.Records, &Schema, memprof::Version2); in writeMemProfV2()
205 uint64_t FrameTableOffset = writeMemProfFrames(OS, MemProfData.Frames); in writeMemProfV2()
209 writeMemProfCallStacks(OS, MemProfData.CallStacks); in writeMemProfV2()
221 ProfOStream &OS, memprof::IndexedMemProfData &MemProfData, in writeMemProfRadixTreeBased() argument
246 memprof::computeFrameHistogram(MemProfData.CallStacks); in writeMemProfRadixTreeBased()
247 assert(MemProfData.Frames.size() == FrameHistogram.size()); in writeMemProfRadixTreeBased()
250 writeMemProfFrameArray(OS, MemProfData.Frames, FrameHistogram); in writeMemProfRadixTreeBased()
257 writeMemProfCallStackArray(OS, MemProfData.CallStacks, in writeMemProfRadixTreeBased()
263 OS, MemProfData.Records, &Schema, Version, &MemProfCallStackIndexes); in writeMemProfRadixTreeBased()
[all …]
H A DInstrProfWriter.cpp243 auto [Iter, Inserted] = MemProfData.Records.insert({Id, NewRecord}); in addMemProfRecord()
255 auto [Iter, Inserted] = MemProfData.Frames.insert({Id, Frame}); in addMemProfFrame()
272 auto [Iter, Inserted] = MemProfData.CallStacks.insert({CSId, CallStack}); in addMemProfCallStack()
296 if (MemProfData.Frames.empty()) in addMemProfData()
297 MemProfData.Frames = std::move(Incoming.Frames); in addMemProfData()
303 if (MemProfData.CallStacks.empty()) in addMemProfData()
304 MemProfData.CallStacks = std::move(Incoming.CallStacks); in addMemProfData()
311 if (MemProfData.Records.empty() && !MemprofGenerateRandomHotness) { in addMemProfData()
316 MemProfData.Records = std::move(Incoming.Records); in addMemProfData()
404 MemProfData.Frames.reserve(IPW.MemProfData.Frames.size()); in mergeRecordsFromWriter()
[all …]
H A DMemProfReader.cpp312 for (const auto &KV : MemProfData.Records) { in printYAML()
516 CallStackId CSId = MemProfData.addCallStack(Callstack); in mapRawProfileToRecords()
522 IndexedMemProfRecord &Record = MemProfData.Records[F.Function]; in mapRawProfileToRecords()
534 IndexedMemProfRecord &Record = MemProfData.Records[Id]; in mapRawProfileToRecords()
536 Record.CallSites.emplace_back(MemProfData.addCallStack(*Loc)); in mapRawProfileToRecords()
595 SymbolizedFrame[VAddr].push_back(MemProfData.addFrame(F)); in symbolizeAndFilterStackFrames()
812 IndexedCallStack.push_back(MemProfData.addFrame(F)); in parse()
813 return MemProfData.addCallStack(std::move(IndexedCallStack)); in parse()
831 MemProfData.Records.try_emplace(GUID, std::move(IndexedRecord)); in parse()
/freebsd/lib/libclang_rt/profile/
H A DMakefile31 INCS+= MemProfData.inc
/freebsd/contrib/llvm-project/compiler-rt/include/profile/
H A DMemProfData.inc3 /*===-- MemProfData.inc - MemProf profiling runtime structures -*- C++ -*-=== *\
96 // MemProfData.inc since it would mean we are embedding a directive (the
/freebsd/contrib/llvm-project/llvm/include/
H A Dmodule.modulemap324 textual header "llvm/ProfileData/MemProfData.inc"
/freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp759 auto MemProfData = Reader->takeMemProfData(); in loadInput() local
764 if (MemProfData.Records.empty()) { in loadInput()
770 WC->Writer.addMemProfData(std::move(MemProfData), MemProfError); in loadInput()
/freebsd/
H A DObsoleteFiles.inc329 OLD_FILES+=usr/lib/clang/19/include/profile/MemProfData.inc
1283 OLD_FILES+=usr/lib/clang/18/include/profile/MemProfData.inc
1826 OLD_FILES+=usr/lib/clang/17/include/profile/MemProfData.inc
2306 OLD_FILES+=usr/lib/clang/16/include/profile/MemProfData.inc
2842 OLD_FILES+=usr/lib/clang/15.0.7/include/profile/MemProfData.inc
3272 OLD_FILES+=usr/lib/clang/14.0.5/include/profile/MemProfData.inc
3827 OLD_FILES+=usr/lib/clang/14.0.4/include/profile/MemProfData.inc
4139 OLD_FILES+=usr/lib/clang/14.0.3/include/profile/MemProfData.inc
/freebsd/tools/build/mk/
H A DOptionalObsoleteFiles.inc1161 OLD_FILES+=usr/lib/clang/21/include/profile/MemProfData.inc