Home
last modified time | relevance | path

Searched refs:CurrentLeafFrame (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/llvm/tools/llvm-profgen/
H A DPerfReader.h258 ProfiledFrame *CurrentLeafFrame; member
276 uint64_t LeafAddr = CurrentLeafFrame->Address; in validateInitialState()
293 assert(InstPtr.Address == CurrentLeafFrame->Address && in checkStateConsistency()
305 ProfiledFrame *getParentFrame() { return CurrentLeafFrame->Parent; } in getParentFrame()
308 CurrentLeafFrame = CurrentLeafFrame->getOrCreateChildFrame(Address); in pushFrame()
312 if (CurrentLeafFrame->Address == Address) in switchToFrame()
314 CurrentLeafFrame = CurrentLeafFrame->Parent->getOrCreateChildFrame(Address); in switchToFrame()
317 void popFrame() { CurrentLeafFrame = CurrentLeafFrame->Parent; } in popFrame()
319 void clearCallStack() { CurrentLeafFrame = &DummyTrieRoot; } in clearCallStack()
326 CurrentLeafFrame = Cur; in initFrameTrie()
H A DPerfReader.cpp135 State.CurrentLeafFrame->recordRangeCount(PrevIP, End, Repeat); in unwindLinear()
142 State.CurrentLeafFrame->recordRangeCount(IP.Address, End, Repeat); in unwindLinear()
265 State.CurrentLeafFrame->recordBranchCount(Branch.Source, Branch.Target, in recordBranchCount()