Searched refs:StackId (Results 1 – 10 of 10) sorted by relevance
131 for (auto StackId : StackIds) { in addCallStack() local136 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() local167 assert(StackId); in addCallStack()168 CallStack.push_back(StackId->getZExtValue()); in addCallStack()
514 for (auto StackId : InstCallsite) in computeFunctionSummary() local515 StackIdIndices.push_back(Index.addOrGetStackIdIndex(StackId)); in computeFunctionSummary()
666 uint64_t StackId = computeStackId(*StackFrame); in stackFrameIncludesInlinedCallStack() local667 if (StackId != *InlCallStackIter) in stackFrameIncludesInlinedCallStack()739 uint64_t StackId = computeStackId(AI.CallStack[0]); in readMemprof() local740 LocHashToAllocInfo[StackId].insert(&AI); in readMemprof()748 uint64_t StackId = computeStackId(StackFrame); in readMemprof() local749 LocHashToCallSites[StackId].insert(std::make_pair(&CS, Idx++)); in readMemprof()799 auto StackId = computeStackId(CalleeGUID, GetOffset(DIL), in readMemprof() local806 AllocInfoIter = LocHashToAllocInfo.find(StackId); in readMemprof()807 CallSitesIter = LocHashToCallSites.find(StackId); in readMemprof()813 InlinedCallStack.push_back(StackId); in readMemprof()
71 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument74 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
115 bool isStackIdSafeForLocalArea(unsigned StackId) const override { in isStackIdSafeForLocalArea() argument118 return StackId != TargetStackID::ScalableVector; in isStackIdSafeForLocalArea()
124 const uint64_t StackId = in readStackInfo() local135 Items[StackId] = CallStack; in readStackInfo()408 const uint64_t StackId = Entry.first; in mapRawProfileToRecords() local410 auto It = StackMap.find(StackId); in mapRawProfileToRecords()414 "memprof callstack record does not contain id: " + Twine(StackId)); in mapRawProfileToRecords()
495 ContextNode *getNodeForStackId(uint64_t StackId);793 uint64_t StackId) { in getNodeForStackId() argument970 auto StackId = getStackId(*ContextIter); in addStackNodesForMIB() local971 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() local1518 ContextNode *Node = getNodeForStackId(StackId); in getStackIdsWithContextNodes()1521 StackIds.push_back(StackId); in getStackIdsWithContextNodes()3557 for (auto StackId : CallsiteContext) { in applyImport() local[all …]
136 virtual bool isStackIdSafeForLocalArea(unsigned StackId) const { in isStackIdSafeForLocalArea() argument
1427 unsigned addOrGetStackIdIndex(uint64_t StackId) {1428 auto Inserted = StackIdToIndex.insert({StackId, StackIds.size()});1430 StackIds.push_back(StackId);
10041 uint64_t StackId = 0; in parseMemProfs() local10042 if (parseUInt64(StackId)) in parseMemProfs()10044 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseMemProfs()10139 uint64_t StackId = 0; in parseOptionalCallsites() local10140 if (parseUInt64(StackId)) in parseOptionalCallsites()10142 StackIdIndices.push_back(Index->addOrGetStackIdIndex(StackId)); in parseOptionalCallsites()