Home
last modified time | relevance | path

Searched refs:StackId (Results 1 – 11 of 11) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp142 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 DModuleSummaryAnalysis.cpp555 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 DMemProfiler.cpp739 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 DRISCVFrameLowering.h77 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 Dnsan_stats.cpp35 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 DAArch64FrameLowering.h118 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 DMemProfReader.cpp174 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 DMemProfContextDisambiguation.cpp568 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 DTargetFrameLowering.h137 virtual bool isStackIdSafeForLocalArea(unsigned StackId) const { in isStackIdSafeForLocalArea() argument
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1472 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 DLLParser.cpp10512 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()