Home
last modified time | relevance | path

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

/llvm-project/llvm/tools/llvm-profgen/
H A DPerfReader.h232 struct ProfiledFrame { struct
234 ProfiledFrame *Parent; argument
237 std::unordered_map<uint64_t, std::unique_ptr<ProfiledFrame>> Children; argument
239 ProfiledFrame(uint64_t Addr = 0, ProfiledFrame *P = nullptr)
241 ProfiledFrame *getOrCreateChildFrame(uint64_t Address) { in getOrCreateChildFrame() argument
244 Address, std::make_unique<ProfiledFrame>(Address, this)); in getOrCreateChildFrame()
258 ProfiledFrame DummyTrieRoot;
259 ProfiledFrame *CurrentLeafFrame;
306 ProfiledFrame *getParentFrame() { return CurrentLeafFrame->Parent; } in getParentFrame()
323 ProfiledFrame *Cur = &DummyTrieRoot; in initFrameTrie()
[all …]
H A DPerfReader.cpp197 void VirtualUnwinder::collectSamplesFromFrame(UnwindState::ProfiledFrame *Cur,
216 UnwindState::ProfiledFrame *Cur, T &Stack) { in collectSamplesFromFrameTrie()
248 UnwindState::ProfiledFrame *Cur) { in recordBranchCount()