/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | MemoryProfileInfo.cpp | 142 for (auto StackId : StackIds) { in addCallStack() local 147 assert(AllocStackId == StackId); in addCallStack() 151 AllocStackId = StackId; in addCallStack() 158 auto Next = Curr->Callers.find(StackId); in addCallStack() 167 Curr->Callers[StackId] = New; in addCallStack() 179 auto *StackId = mdconst::dyn_extract<ConstantInt>(MIBStackIter); in addCallStack() local 180 assert(StackId); in addCallStack() 181 CallStack.push_back(StackId->getZExtValue()); in addCallStack()
|
H A D | ModuleSummaryAnalysis.cpp | 555 for (auto StackId : InstCallsite) in computeFunctionSummary() local 556 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
H A D | MemProfiler.cpp | 739 uint64_t StackId = computeStackId(*StackFrame); in stackFrameIncludesInlinedCallStack() local 740 if (StackId != *InlCallStackIter) in stackFrameIncludesInlinedCallStack() 854 uint64_t StackId = computeStackId(AI.CallStack[0]); in readMemprof() local 855 LocHashToAllocInfo[StackId].insert(&AI); in readMemprof() 864 uint64_t StackId = computeStackId(StackFrame); in readMemprof() local 865 LocHashToCallSites[StackId].insert(std::make_pair(&CS, Idx++)); in readMemprof() 915 auto StackId = computeStackId(CalleeGUID, GetOffset(DIL), in readMemprof() local 922 AllocInfoIter = LocHashToAllocInfo.find(StackId); in readMemprof() 923 CallSitesIter = LocHashToCallSites.find(StackId); in readMemprof() 929 InlinedCallStack.push_back(StackId); in readMemprof()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/ |
H A D | RISCVFrameLowering.h | 77 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument 80 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 | 118 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument 121 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
|
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
H A D | MemProfReader.cpp | 174 const uint64_t StackId = in readStackInfo() local 186 Items[StackId] = CallStack; in readStackInfo() 490 for (const auto &[StackId, MIB] : CallstackProfileData) { in mapRawProfileToRecords() 491 auto It = StackMap.find(StackId); in mapRawProfileToRecords() 495 "memprof callstack record does not contain id: " + Twine(StackId)); in mapRawProfileToRecords()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | MemProfContextDisambiguation.cpp | 568 ContextNode *getNodeForStackId(uint64_t StackId); 872 uint64_t StackId) { in getNodeForStackId() argument 873 auto StackEntryNode = StackEntryIdToContextNodeMap.find(StackId); in getNodeForStackId() 1057 auto StackId = getStackId(*ContextIter); in addStackNodesForMIB() local 1058 ContextNode *StackNode = getNodeForStackId(StackId); in addStackNodesForMIB() 1063 StackEntryIdToContextNodeMap[StackId] = StackNode; in addStackNodesForMIB() 1064 StackNode->OrigStackOrAllocId = StackId; in addStackNodesForMIB() 1066 auto Ins = StackIdSet.insert(StackId); in addStackNodesForMIB() 1661 auto StackId = getStackId(IdOrIndex); in getStackIdsWithContextNodes() local 1662 ContextNode *Node = getNodeForStackId(StackId); in getStackIdsWithContextNodes() [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | TargetFrameLowering.h | 137 virtual bool isStackIdSafeForLocalArea(unsigned StackId) const { in isStackIdSafeForLocalArea() argument
|
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
H A D | ModuleSummaryIndex.h | 1472 unsigned addOrGetStackIdIndex(uint64_t StackId) { 1473 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()}); 1475 StackIds.push_back(StackId);
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 10512 uint64_t StackId = 0; in parseMemProfs() local 10513 if (parseUInt64(StackId)) in parseMemProfs() 10515 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs() 10610 uint64_t StackId = 0; in parseOptionalCallsites() local 10611 if (parseUInt64(StackId)) in parseOptionalCallsites() 10613 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()
|