Home
last modified time | relevance | path

Searched refs:StackIds (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/compiler-rt/lib/memprof/
H A Dmemprof_rawprofile.cpp32 auto *StackIds = reinterpret_cast<Vector<u64> *>(Arg); in RecordStackId() local
33 StackIds->PushBack(Key); in RecordStackId()
88 u64 StackSizeBytes(const Vector<u64> &StackIds) { in StackSizeBytes() argument
91 const u64 NumIds = StackIds.Size(); in StackSizeBytes()
93 const u64 Id = StackIds[k]; in StackSizeBytes()
116 void SerializeStackToBuffer(const Vector<u64> &StackIds, in SerializeStackToBuffer() argument
118 const u64 NumIds = StackIds.Size(); in SerializeStackToBuffer()
123 const u64 Id = StackIds[k]; in SerializeStackToBuffer()
159 void SerializeMIBInfoToBuffer(MIBMapTy &MIBMap, const Vector<u64> &StackIds, in SerializeMIBInfoToBuffer() argument
162 const u64 NumEntries = StackIds.Size(); in SerializeMIBInfoToBuffer()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1421 std::vector<uint64_t> StackIds;
1470 const std::vector<uint64_t> &stackIds() const { return StackIds; }
1473 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()});
1475 StackIds.push_back(StackId);
1480 assert(StackIds.size() > Index);
1481 return StackIds[Index];
1490 assert(StackIdToIndex.size() == StackIds.size());
1492 StackIds.shrink_to_fit();
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp138 ArrayRef<uint64_t> StackIds, in addCallStack() argument
142 for (auto StackId : StackIds) { in addCallStack()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h98 void addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp711 SmallVector<uint64_t> StackIds; in addCallStack() local
713 StackIds.push_back(computeStackId(StackFrame)); in addCallStack()
722 AllocTrie.addCallStack(AllocType, StackIds, TotalSize); in addCallStack()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp971 std::vector<uint64_t> StackIds; member in __anondf6e26480411::ModuleSummaryIndexBitcodeReader
7955 StackIds = ArrayRef<uint64_t>(Record); in parseEntireSummary()
7963 assert(*R < StackIds.size()); in parseEntireSummary()
7964 StackIdList.push_back(TheIndex.addOrGetStackIdIndex(StackIds[*R])); in parseEntireSummary()
7979 assert(*RecordIter < StackIds.size()); in parseEntireSummary()
7981 TheIndex.addOrGetStackIdIndex(StackIds[*RecordIter++])); in parseEntireSummary()
8008 assert(Record[I] < StackIds.size()); in parseEntireSummary()
8010 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseEntireSummary()
8043 assert(Record[I] < StackIds.size()); in parseEntireSummary()
8045 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseEntireSummary()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp1659 std::vector<uint64_t> StackIds; in getStackIdsWithContextNodes() local
1665 StackIds.push_back(StackId); in getStackIdsWithContextNodes()
1667 return StackIds; in getStackIdsWithContextNodes()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp443 std::vector<uint64_t> StackIds; member in __anoneb218b5c0111::IndexBitcodeWriter
480 StackIdIndicesToIndex.insert({StackIdIndex, StackIds.size()}); in IndexBitcodeWriter()
482 StackIds.push_back(Index.getStackIdAtIndex(StackIdIndex)); in IndexBitcodeWriter()
4525 if (!StackIds.empty()) { in writeCombinedGlobalValueSummary()
4532 Stream.EmitRecord(bitc::FS_STACK_IDS, StackIds, StackIdAbbvId); in writeCombinedGlobalValueSummary()