Home
last modified time | relevance | path

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

/freebsd-14.2/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()
156 const u64 NumEntries = StackIds.Size(); in SerializeMIBInfoToBuffer()
160 const u64 Key = StackIds[i]; in SerializeMIBInfoToBuffer()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp128 ArrayRef<uint64_t> StackIds) { in addCallStack() argument
131 for (auto StackId : StackIds) { in addCallStack()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1376 std::vector<uint64_t> StackIds;
1425 const std::vector<uint64_t> &stackIds() const { return StackIds; }
1428 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()});
1430 StackIds.push_back(StackId);
1435 assert(StackIds.size() > Index);
1436 return StackIds[Index];
1445 assert(StackIdToIndex.size() == StackIds.size());
1447 StackIds.shrink_to_fit();
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h93 void addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp644 SmallVector<uint64_t> StackIds; in addCallStack() local
646 StackIds.push_back(computeStackId(StackFrame)); in addCallStack()
650 AllocTrie.addCallStack(AllocType, StackIds); in addCallStack()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp913 std::vector<uint64_t> StackIds; member in __anon933571fe0411::ModuleSummaryIndexBitcodeReader
7640 StackIds = ArrayRef<uint64_t>(Record); in parseEntireSummary()
7648 assert(*R < StackIds.size()); in parseEntireSummary()
7649 StackIdList.push_back(TheIndex.addOrGetStackIdIndex(StackIds[*R])); in parseEntireSummary()
7664 assert(*RecordIter < StackIds.size()); in parseEntireSummary()
7666 TheIndex.addOrGetStackIdIndex(StackIds[*RecordIter++])); in parseEntireSummary()
7688 assert(Record[I] < StackIds.size()); in parseEntireSummary()
7690 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseEntireSummary()
7711 assert(Record[I] < StackIds.size()); in parseEntireSummary()
7713 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseEntireSummary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp1515 std::vector<uint64_t> StackIds; in getStackIdsWithContextNodes() local
1521 StackIds.push_back(StackId); in getStackIdsWithContextNodes()
1523 return StackIds; in getStackIdsWithContextNodes()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4356 std::vector<uint64_t> StackIds; in writeCombinedGlobalValueSummary() local
4358 StackIds.push_back(Index.getStackIdAtIndex(I)); in writeCombinedGlobalValueSummary()
4359 Stream.EmitRecord(bitc::FS_STACK_IDS, StackIds, StackIdAbbvId); in writeCombinedGlobalValueSummary()