Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/compiler-rt/lib/memprof/
H A Dmemprof_rawprofile.cpp31 auto *StackIds = reinterpret_cast<Vector<u64> *>(Arg); in RecordStackId() local
32 StackIds->PushBack(Key); in RecordStackId()
82 u64 StackSizeBytes(const Vector<u64> &StackIds) { in StackSizeBytes() argument
85 const u64 NumIds = StackIds.Size(); in StackSizeBytes()
87 const u64 Id = StackIds[k]; in StackSizeBytes()
110 void SerializeStackToBuffer(const Vector<u64> &StackIds, in SerializeStackToBuffer() argument
112 const u64 NumIds = StackIds.Size(); in SerializeStackToBuffer()
117 const u64 Id = StackIds[k]; in SerializeStackToBuffer()
150 const u64 NumEntries = StackIds.Size(); in SerializeMIBInfoToBuffer()
154 const u64 Key = StackIds[i]; in SerializeMIBInfoToBuffer()
[all …]
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp101 ArrayRef<uint64_t> StackIds) { in addCallStack() argument
104 for (auto StackId : StackIds) { in addCallStack()
/openbsd/gnu/llvm/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1282 std::vector<uint64_t> StackIds;
1330 const std::vector<uint64_t> &stackIds() const { return StackIds; }
1333 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()});
1335 StackIds.push_back(StackId);
1340 assert(StackIds.size() > Index);
1341 return StackIds[Index];
1350 assert(StackIdToIndex.size() == StackIds.size());
1352 StackIds.shrink_to_fit();
/openbsd/gnu/llvm/llvm/include/llvm/Analysis/
H A DMemoryProfileInfo.h87 void addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds);
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1270 SmallVector<uint64_t> StackIds; in addCallStack() local
1272 StackIds.push_back(computeStackId(StackFrame)); in addCallStack()
1276 AllocTrie.addCallStack(AllocType, StackIds); in addCallStack()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Reader/
H A DBitcodeReader.cpp916 std::vector<uint64_t> StackIds; member in __anonbda00ad50411::ModuleSummaryIndexBitcodeReader
7588 StackIds = ArrayRef<uint64_t>(Record); in parseEntireSummary()
7596 assert(*R < StackIds.size()); in parseEntireSummary()
7597 StackIdList.push_back(TheIndex.addOrGetStackIdIndex(StackIds[*R])); in parseEntireSummary()
7612 assert(*RecordIter < StackIds.size()); in parseEntireSummary()
7614 TheIndex.addOrGetStackIdIndex(StackIds[*RecordIter++])); in parseEntireSummary()
7636 assert(Record[I] < StackIds.size()); in parseEntireSummary()
7638 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseEntireSummary()
7659 assert(Record[I] < StackIds.size()); in parseEntireSummary()
7661 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseEntireSummary()
/openbsd/gnu/llvm/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp4293 std::vector<uint64_t> StackIds; in writeCombinedGlobalValueSummary() local
4295 StackIds.push_back(Index.getStackIdAtIndex(I)); in writeCombinedGlobalValueSummary()
4296 Stream.EmitRecord(bitc::FS_STACK_IDS, StackIds, StackIdAbbvId); in writeCombinedGlobalValueSummary()