Searched refs:StackIds (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/compiler-rt/lib/memprof/ |
| H A D | memprof_rawprofile.cpp | 32 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 D | ModuleSummaryIndex.h | 1493 std::vector<uint64_t> StackIds; 1543 const std::vector<uint64_t> &stackIds() const { return StackIds; } 1546 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()}); 1548 StackIds.push_back(StackId); 1553 assert(StackIds.size() > Index); 1554 return StackIds[Index]; 1563 assert(StackIdToIndex.size() == StackIds.size()); 1565 StackIds.shrink_to_fit();
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfUse.cpp | 119 SmallVector<uint64_t> StackIds; in addCallStack() local 121 StackIds.push_back(computeStackId(StackFrame)); in addCallStack() 132 AllocTrie.addCallStack(AllocType, StackIds, std::move(ContextSizeInfo)); in addCallStack()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 125 AllocationType AllocType, ArrayRef<uint64_t> StackIds, in addCallStack() argument 129 for (auto StackId : StackIds) { in addCallStack()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | MemProfContextDisambiguation.cpp | 616 std::vector<uint64_t> StackIds; member 1826 auto &Ids = Calls[0].StackIds; in updateStackNodes() 1846 return A.StackIds.size() > B.StackIds.size() || in updateStackNodes() 1847 (A.StackIds.size() == B.StackIds.size() && in updateStackNodes() 1848 (A.StackIds < B.StackIds || in updateStackNodes() 1849 (A.StackIds == B.StackIds && in updateStackNodes() 1885 if (I > 0 && Ids != Calls[I - 1].StackIds) in updateStackNodes() 1975 auto &NextIds = CallCtxInfo.StackIds; in updateStackNodes() 2111 std::vector<uint64_t> StackIds; in getStackIdsWithContextNodes() local 2117 StackIds.push_back(StackId); in getStackIdsWithContextNodes() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | MemoryProfileInfo.h | 144 addCallStack(AllocationType AllocType, ArrayRef<uint64_t> StackIds,
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/ |
| H A D | BitcodeReader.cpp | 973 std::vector<uint64_t> StackIds; member in __anondf6e26480411::ModuleSummaryIndexBitcodeReader 7577 assert(Record[I] < StackIds.size()); in parseAllocInfoContext() 7579 TheIndex.addOrGetStackIdIndex(StackIds[Record[I++]])); in parseAllocInfoContext() 7602 StackIdList.push_back(TheIndex.addOrGetStackIdIndex(StackIds[Elem])); in parseAllocInfoContext() 8060 StackIds = ArrayRef<uint64_t>(Record); in parseEntireSummary() 8066 StackIds.reserve(Record.size() / 2); in parseEntireSummary() 8068 StackIds.push_back(*R << 32 | *(R + 1)); in parseEntireSummary() 8081 assert(R < StackIds.size()); in parseEntireSummary() 8082 StackIdList.push_back(TheIndex.addOrGetStackIdIndex(StackIds[R])); in parseEntireSummary() 8097 assert(*RecordIter < StackIds.size()); in parseEntireSummary() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 477 std::vector<uint64_t> StackIds; member in __anoneb218b5c0111::IndexBitcodeWriter 514 StackIdIndicesToIndex.insert({StackIdIndex, StackIds.size()}); in IndexBitcodeWriter() 516 StackIds.push_back(Index.getStackIdAtIndex(StackIdIndex)); in IndexBitcodeWriter() 4927 if (!StackIds.empty()) { in writeCombinedGlobalValueSummary() 4937 Vals.reserve(StackIds.size() * 2); in writeCombinedGlobalValueSummary() 4938 for (auto Id : StackIds) { in writeCombinedGlobalValueSummary()
|