LLVM 20.0.0git
|
#include "llvm/MC/MCPseudoProbe.h"
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 |
InlinedProbeTreeMap & | getChildren () |
const InlinedProbeTreeMap & | getChildren () const |
std::vector< MCPseudoProbe > & | getProbes () |
const std::vector< MCPseudoProbe > & | getProbes () const |
void | addProbes (MCPseudoProbe Probe) |
MCPseudoProbeInlineTree * | getOrAddNode (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< MCPseudoProbe > | Probes |
Definition at line 262 of file MCPseudoProbe.h.
|
default |
|
inline |
Definition at line 267 of file MCPseudoProbe.h.
References llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::Guid.
|
inline |
Definition at line 268 of file MCPseudoProbe.h.
References llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::Guid.
void MCPseudoProbeInlineTree::addPseudoProbe | ( | const MCPseudoProbe & | Probe, |
const MCPseudoProbeInlineStack & | InlineStack | ||
) |
Definition at line 100 of file MCPseudoProbe.cpp.
References assert(), llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorBase< Size_T >::empty(), llvm::SmallVectorTemplateCommon< T, typename >::end(), llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::MCPseudoProbeBase::getGuid(), llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::getOrAddNode(), and llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::isRoot().
void MCPseudoProbeInlineTree::emit | ( | MCObjectStreamer * | MCOS, |
const MCPseudoProbe *& | LastProbe | ||
) |
Definition at line 143 of file MCPseudoProbe.cpp.
References assert(), llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::Children, llvm::dbgs(), llvm::MCPseudoProbeTable::DdgPrintIndent, llvm::MCPseudoProbe::emit(), llvm::MCStreamer::emitInt64(), llvm::MCStreamer::emitULEB128IntValue(), llvm::MCPseudoProbeBase::getAttributes(), llvm::MCPseudoProbeBase::getGuid(), llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::Guid, llvm::raw_ostream::indent(), llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::isRoot(), llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::isRoot(), llvm::isSentinelProbe(), LLVM_DEBUG, llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::Parent, llvm::MCPseudoProbeInlineTreeBase< MCPseudoProbe, MCPseudoProbeInlineTree >::Probes, and llvm::sort().