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 I, uint64_t At, uint8_t T, uint32_t D)
 
bool isEntry () const
 
uint32_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

uint32_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 119 of file MCPseudoProbe.h.

Constructor & Destructor Documentation

◆ MCPseudoProbeBase()

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

Definition at line 131 of file MCPseudoProbe.h.

Member Function Documentation

◆ getAttributes()

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

Definition at line 140 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 138 of file MCPseudoProbe.h.

References Discriminator.

◆ getIndex()

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

Definition at line 136 of file MCPseudoProbe.h.

References Index.

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

◆ getType()

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

Definition at line 142 of file MCPseudoProbe.h.

References Type.

◆ isBlock()

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

Definition at line 144 of file MCPseudoProbe.h.

References llvm::Block.

◆ isCall()

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

Definition at line 156 of file MCPseudoProbe.h.

References isDirectCall(), and isIndirectCall().

◆ isDirectCall()

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

Definition at line 152 of file MCPseudoProbe.h.

References llvm::DirectCall.

Referenced by isCall().

◆ isEntry()

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

Definition at line 134 of file MCPseudoProbe.h.

References Index, and PseudoProbeFirstId.

◆ isIndirectCall()

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

Definition at line 148 of file MCPseudoProbe.h.

References llvm::IndirectCall.

Referenced by isCall().

◆ setAttributes()

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

Definition at line 158 of file MCPseudoProbe.h.

References Attributes.

Member Data Documentation

◆ Attributes

uint8_t llvm::MCPseudoProbeBase::Attributes
protected

◆ Discriminator

uint32_t llvm::MCPseudoProbeBase::Discriminator
protected

◆ Index

uint32_t llvm::MCPseudoProbeBase::Index
protected

◆ PseudoProbeFirstId

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

Definition at line 128 of file MCPseudoProbe.h.

Referenced by isEntry().

◆ Type

uint8_t llvm::MCPseudoProbeBase::Type
protected

Definition at line 124 of file MCPseudoProbe.h.

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


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