LLVM  15.0.0git
Public Member Functions | List of all members
llvm::MCPseudoProbeInlineTree Class Reference

#include "llvm/MC/MCPseudoProbe.h"

Inheritance diagram for llvm::MCPseudoProbeInlineTree:
Inheritance graph
[legend]
Collaboration diagram for llvm::MCPseudoProbeInlineTree:
Collaboration graph
[legend]

Public Member Functions

 MCPseudoProbeInlineTree ()=default
 
 MCPseudoProbeInlineTree (uint64_t Guid)
 
 MCPseudoProbeInlineTree (const InlineSite &Site)
 
void addPseudoProbe (const MCPseudoProbe &Probe, const MCPseudoProbeInlineStack &InlineStack)
 
void emit (MCObjectStreamer *MCOS, const MCPseudoProbe *&LastProbe)
 
- Public Member Functions inherited from llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >
bool isRoot () const
 
InlinedProbeTreeMapgetChildren ()
 
const InlinedProbeTreeMapgetChildren () const
 
std::vector< MCPseudoProbe > & getProbes ()
 
void addProbes (MCPseudoProbe Probe)
 
MCPseudoProbeInlineTreegetOrAddNode (const InlineSite &Site)
 

Additional Inherited Members

- Public Attributes inherited from llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >
uint64_t Guid
 
MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree > * Parent
 
- Protected Types inherited from llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >
using InlinedProbeTreeMap = std::unordered_map< InlineSite, std::unique_ptr< MCPseudoProbeInlineTree >, InlineSiteHash >
 
- Protected Member Functions inherited from llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >
 MCPseudoProbeInlineTreeBase ()
 
- Protected Attributes inherited from llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >
InlinedProbeTreeMap Children
 
std::vector< MCPseudoProbeProbes
 

Detailed Description

Definition at line 245 of file MCPseudoProbe.h.

Constructor & Destructor Documentation

◆ MCPseudoProbeInlineTree() [1/3]

llvm::MCPseudoProbeInlineTree::MCPseudoProbeInlineTree ( )
default

◆ MCPseudoProbeInlineTree() [2/3]

llvm::MCPseudoProbeInlineTree::MCPseudoProbeInlineTree ( uint64_t  Guid)
inline

◆ MCPseudoProbeInlineTree() [3/3]

llvm::MCPseudoProbeInlineTree::MCPseudoProbeInlineTree ( const InlineSite Site)
inline

Member Function Documentation

◆ addPseudoProbe()

void MCPseudoProbeInlineTree::addPseudoProbe ( const MCPseudoProbe Probe,
const MCPseudoProbeInlineStack InlineStack 
)

Definition at line 80 of file MCPseudoProbe.cpp.

References assert(), and llvm::MCPseudoProbeBase::getGuid().

◆ emit()

void MCPseudoProbeInlineTree::emit ( MCObjectStreamer MCOS,
const MCPseudoProbe *&  LastProbe 
)

The documentation for this class was generated from the following files: