| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfUse.cpp | 144 InlinedCallStack, [](const Frame &F, uint64_t StackId) { in stackFrameIncludesInlinedCallStack() argument 145 return computeStackId(F) == StackId; in stackFrameIncludesInlinedCallStack() 468 uint64_t StackId = computeStackId(AI.CallStack[0]); in readMemprof() local 469 LocHashToAllocInfo[StackId].insert(&AI); in readMemprof() 478 uint64_t StackId = computeStackId(StackFrame); in readMemprof() local 481 LocHashToCallSites[StackId].insert({FrameSlice, CalleeGuids}); in readMemprof() 530 auto StackId = computeStackId(CalleeGUID, GetOffset(DIL), in readMemprof() local 537 AllocInfoIter = LocHashToAllocInfo.find(StackId); in readMemprof() 538 CallSitesIter = LocHashToCallSites.find(StackId); in readMemprof() 544 InlinedCallStack.push_back(StackId); in readMemprof() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | MemoryProfileInfo.cpp | 129 for (auto StackId : StackIds) { in addCallStack() local 134 assert(AllocStackId == StackId); in addCallStack() 137 AllocStackId = StackId; in addCallStack() 144 auto [Next, Inserted] = Curr->Callers.try_emplace(StackId); in addCallStack() 165 auto *StackId = mdconst::dyn_extract<ConstantInt>(MIBStackIter); in addCallStack() local 166 assert(StackId); in addCallStack() 167 CallStack.push_back(StackId->getZExtValue()); in addCallStack()
|
| H A D | ModuleSummaryAnalysis.cpp | 593 for (auto StackId : InstCallsite) in computeFunctionSummary() local 594 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
| H A D | RISCVFrameLowering.h | 75 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument 78 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
|
| /freebsd/contrib/llvm-project/compiler-rt/lib/nsan/ |
| H A D | nsan_stats.cpp | 35 static uptr Key(CheckTypeT CheckType, u32 StackId) { in Key() argument 37 StackId * static_cast<uptr>(CheckTypeT::kMaxCheckType); in Key()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64FrameLowering.h | 127 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument 130 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | MemProfReader.cpp | 177 const uint64_t StackId = in readStackInfo() local 189 Items[StackId] = CallStack; in readStackInfo() 477 for (const auto &[StackId, MIB] : CallstackProfileData) { in mapRawProfileToRecords() 478 auto It = StackMap.find(StackId); in mapRawProfileToRecords() 482 "memprof callstack record does not contain id: " + Twine(StackId)); in mapRawProfileToRecords()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | MemProfContextDisambiguation.cpp | 759 ContextNode *getNodeForStackId(uint64_t StackId); 1134 uint64_t StackId) { in getNodeForStackId() argument 1135 auto StackEntryNode = StackEntryIdToContextNodeMap.find(StackId); in getNodeForStackId() 1365 auto StackId = getStackId(*ContextIter); in addStackNodesForMIB() local 1366 ContextNode *StackNode = getNodeForStackId(StackId); in addStackNodesForMIB() 1369 StackEntryIdToContextNodeMap[StackId] = StackNode; in addStackNodesForMIB() 1370 StackNode->OrigStackOrAllocId = StackId; in addStackNodesForMIB() 1375 auto Ins = StackIdSet.insert(StackId); in addStackNodesForMIB() 2113 auto StackId = getStackId(IdOrIndex); in getStackIdsWithContextNodes() local 2114 ContextNode *Node = getNodeForStackId(StackId); in getStackIdsWithContextNodes() [all …]
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | TargetFrameLowering.h | 138 virtual bool isStackIdSafeForLocalArea(unsigned StackId) const { in isStackIdSafeForLocalArea() argument
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | ModuleSummaryIndex.h | 1545 unsigned addOrGetStackIdIndex(uint64_t StackId) { 1546 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()}); 1548 StackIds.push_back(StackId);
|
| /freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
| H A D | LLParser.cpp | 10842 uint64_t StackId = 0; in parseMemProfs() local 10843 if (parseUInt64(StackId)) in parseMemProfs() 10845 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs() 10943 uint64_t StackId = 0; in parseOptionalCallsites() local 10944 if (parseUInt64(StackId)) in parseOptionalCallsites() 10946 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()
|