Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DMemoryProfileInfo.cpp131 for (auto StackId : StackIds) { in addCallStack() local
136 assert(AllocStackId == StackId); in addCallStack()
139 AllocStackId = StackId; in addCallStack()
146 auto Next = Curr->Callers.find(StackId); in addCallStack()
154 Curr->Callers[StackId] = New; in addCallStack()
166 auto *StackId = mdconst::dyn_extract<ConstantInt>(MIBStackIter); in addCallStack() local
167 assert(StackId); in addCallStack()
168 CallStack.push_back(StackId->getZExtValue()); in addCallStack()
H A DModuleSummaryAnalysis.cpp514 for (auto StackId : InstCallsite) in computeFunctionSummary() local
515 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DMemProfiler.cpp666 uint64_t StackId = computeStackId(*StackFrame); in stackFrameIncludesInlinedCallStack() local
667 if (StackId != *InlCallStackIter) in stackFrameIncludesInlinedCallStack()
739 uint64_t StackId = computeStackId(AI.CallStack[0]); in readMemprof() local
740 LocHashToAllocInfo[StackId].insert(&AI); in readMemprof()
748 uint64_t StackId = computeStackId(StackFrame); in readMemprof() local
749 LocHashToCallSites[StackId].insert(std::make_pair(&CS, Idx++)); in readMemprof()
799 auto StackId = computeStackId(CalleeGUID, GetOffset(DIL), in readMemprof() local
806 AllocInfoIter = LocHashToAllocInfo.find(StackId); in readMemprof()
807 CallSitesIter = LocHashToCallSites.find(StackId); in readMemprof()
813 InlinedCallStack.push_back(StackId); in readMemprof()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVFrameLowering.h71 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument
74 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64FrameLowering.h115 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument
118 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DRawMemProfReader.cpp124 const uint64_t StackId = in readStackInfo() local
135 Items[StackId] = CallStack; in readStackInfo()
408 const uint64_t StackId = Entry.first; in mapRawProfileToRecords() local
410 auto It = StackMap.find(StackId); in mapRawProfileToRecords()
414 "memprof callstack record does not contain id: " + Twine(StackId)); in mapRawProfileToRecords()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMemProfContextDisambiguation.cpp495 ContextNode *getNodeForStackId(uint64_t StackId);
793 uint64_t StackId) { in getNodeForStackId() argument
970 auto StackId = getStackId(*ContextIter); in addStackNodesForMIB() local
971 ContextNode *StackNode = getNodeForStackId(StackId); in addStackNodesForMIB()
977 StackNode->OrigStackOrAllocId = StackId; in addStackNodesForMIB()
979 auto Ins = StackIdSet.insert(StackId); in addStackNodesForMIB()
1517 auto StackId = getStackId(IdOrIndex); in getStackIdsWithContextNodes() local
1518 ContextNode *Node = getNodeForStackId(StackId); in getStackIdsWithContextNodes()
1521 StackIds.push_back(StackId); in getStackIdsWithContextNodes()
3557 for (auto StackId : CallsiteContext) { in applyImport() local
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DTargetFrameLowering.h136 virtual bool isStackIdSafeForLocalArea(unsigned StackId) const { in isStackIdSafeForLocalArea() argument
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndex.h1427 unsigned addOrGetStackIdIndex(uint64_t StackId) {
1428 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()});
1430 StackIds.push_back(StackId);
/freebsd-14.2/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp10041 uint64_t StackId = 0; in parseMemProfs() local
10042 if (parseUInt64(StackId)) in parseMemProfs()
10044 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs()
10139 uint64_t StackId = 0; in parseOptionalCallsites() local
10140 if (parseUInt64(StackId)) in parseOptionalCallsites()
10142 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()