LLVM  15.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]
Collaboration diagram for llvm::MCPseudoProbeBase:
Collaboration graph
[legend]

Public Member Functions

 MCPseudoProbeBase (uint64_t G, uint64_t I, uint64_t At, uint8_t T)
 
bool isEntry () const
 
uint64_t getGuid () const
 
uint64_t getIndex () 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
 
uint8_t Attributes
 
uint8_t Type
 

Static Protected Attributes

const static uint32_t PseudoProbeFirstId = 1
 

Detailed Description

Definition at line 100 of file MCPseudoProbe.h.

Constructor & Destructor Documentation

◆ MCPseudoProbeBase()

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

Definition at line 112 of file MCPseudoProbe.h.

References T.

Member Function Documentation

◆ getAttributes()

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

Definition at line 121 of file MCPseudoProbe.h.

References Attributes.

◆ getGuid()

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

◆ getIndex()

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

Definition at line 119 of file MCPseudoProbe.h.

References Index.

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

◆ getType()

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

Definition at line 123 of file MCPseudoProbe.h.

References Type.

◆ isBlock()

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

Definition at line 125 of file MCPseudoProbe.h.

References llvm::Block.

◆ isCall()

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

Definition at line 137 of file MCPseudoProbe.h.

References isDirectCall(), and isIndirectCall().

◆ isDirectCall()

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

Definition at line 133 of file MCPseudoProbe.h.

References llvm::DirectCall.

Referenced by isCall().

◆ isEntry()

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

Definition at line 115 of file MCPseudoProbe.h.

References PseudoProbeFirstId.

◆ isIndirectCall()

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

Definition at line 129 of file MCPseudoProbe.h.

References llvm::IndirectCall.

Referenced by isCall().

◆ setAttributes()

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

Definition at line 139 of file MCPseudoProbe.h.

References Attributes.

Member Data Documentation

◆ Attributes

uint8_t llvm::MCPseudoProbeBase::Attributes
protected

◆ Guid

uint64_t llvm::MCPseudoProbeBase::Guid
protected

Definition at line 102 of file MCPseudoProbe.h.

Referenced by getGuid().

◆ Index

uint64_t llvm::MCPseudoProbeBase::Index
protected

Definition at line 103 of file MCPseudoProbe.h.

Referenced by getIndex().

◆ PseudoProbeFirstId

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

Definition at line 109 of file MCPseudoProbe.h.

Referenced by isEntry().

◆ Type

uint8_t llvm::MCPseudoProbeBase::Type
protected

Definition at line 105 of file MCPseudoProbe.h.

Referenced by getType().


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