LLVM 20.0.0git
Public Member Functions | Protected Attributes | Static Protected Attributes | List of all members
llvm::MCPseudoProbeBase Class Reference

#include "llvm/MC/MCPseudoProbe.h"

Inheritance diagram for llvm::MCPseudoProbeBase:
Inheritance graph
[legend]

Public Member Functions

 MCPseudoProbeBase (uint64_t G, uint64_t I, uint64_t At, uint8_t T, uint32_t D)
 
bool isEntry () const
 
uint64_t getGuid () const
 
uint64_t getIndex () const
 
uint32_t getDiscriminator () const
 
uint8_t getAttributes () const
 
uint8_t getType () const
 
bool isBlock () const
 
bool isIndirectCall () const
 
bool isDirectCall () const
 
bool isCall () const
 
void setAttributes (uint8_t Attr)
 

Protected Attributes

uint64_t Guid
 
uint64_t Index
 
uint32_t Discriminator
 
uint8_t Attributes
 
uint8_t Type
 

Static Protected Attributes

static const uint32_t PseudoProbeFirstId = 1
 

Detailed Description

Definition at line 110 of file MCPseudoProbe.h.

Constructor & Destructor Documentation

◆ MCPseudoProbeBase()

llvm::MCPseudoProbeBase::MCPseudoProbeBase ( uint64_t  G,
uint64_t  I,
uint64_t  At,
uint8_t  T,
uint32_t  D 
)
inline

Definition at line 123 of file MCPseudoProbe.h.

Member Function Documentation

◆ getAttributes()

uint8_t llvm::MCPseudoProbeBase::getAttributes ( ) const
inline

Definition at line 134 of file MCPseudoProbe.h.

References Attributes.

Referenced by llvm::MCPseudoProbeInlineTree::emit(), and llvm::MCPseudoProbe::emit().

◆ getDiscriminator()

uint32_t llvm::MCPseudoProbeBase::getDiscriminator ( ) const
inline

Definition at line 132 of file MCPseudoProbe.h.

References Discriminator.

◆ getGuid()

uint64_t llvm::MCPseudoProbeBase::getGuid ( ) const
inline

◆ getIndex()

uint64_t llvm::MCPseudoProbeBase::getIndex ( ) const
inline

Definition at line 130 of file MCPseudoProbe.h.

References Index.

Referenced by llvm::MCPseudoProbeDecoder::getInlineContextForProbe().

◆ getType()

uint8_t llvm::MCPseudoProbeBase::getType ( ) const
inline

Definition at line 136 of file MCPseudoProbe.h.

References Type.

◆ isBlock()

bool llvm::MCPseudoProbeBase::isBlock ( ) const
inline

Definition at line 138 of file MCPseudoProbe.h.

References llvm::Block.

◆ isCall()

bool llvm::MCPseudoProbeBase::isCall ( ) const
inline

Definition at line 150 of file MCPseudoProbe.h.

References isDirectCall(), and isIndirectCall().

◆ isDirectCall()

bool llvm::MCPseudoProbeBase::isDirectCall ( ) const
inline

Definition at line 146 of file MCPseudoProbe.h.

References llvm::DirectCall.

Referenced by isCall().

◆ isEntry()

bool llvm::MCPseudoProbeBase::isEntry ( ) const
inline

Definition at line 126 of file MCPseudoProbe.h.

References PseudoProbeFirstId.

◆ isIndirectCall()

bool llvm::MCPseudoProbeBase::isIndirectCall ( ) const
inline

Definition at line 142 of file MCPseudoProbe.h.

References llvm::IndirectCall.

Referenced by isCall().

◆ setAttributes()

void llvm::MCPseudoProbeBase::setAttributes ( uint8_t  Attr)
inline

Definition at line 152 of file MCPseudoProbe.h.

References Attributes.

Member Data Documentation

◆ Attributes

uint8_t llvm::MCPseudoProbeBase::Attributes
protected

◆ Discriminator

uint32_t llvm::MCPseudoProbeBase::Discriminator
protected

◆ Guid

uint64_t llvm::MCPseudoProbeBase::Guid
protected

◆ Index

uint64_t llvm::MCPseudoProbeBase::Index
protected

Definition at line 113 of file MCPseudoProbe.h.

Referenced by getIndex().

◆ PseudoProbeFirstId

const uint32_t llvm::MCPseudoProbeBase::PseudoProbeFirstId = 1
staticprotected

Definition at line 120 of file MCPseudoProbe.h.

Referenced by isEntry().

◆ Type

uint8_t llvm::MCPseudoProbeBase::Type
protected

Definition at line 116 of file MCPseudoProbe.h.

Referenced by getType(), and llvm::MCDecodedPseudoProbe::print().


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