LLVM 17.0.0git
|
#include "llvm/MC/MCPseudoProbe.h"
Public Member Functions | |
MCDecodedPseudoProbe (uint64_t Ad, uint64_t G, uint32_t I, PseudoProbeType K, uint8_t At, MCDecodedPseudoProbeInlineTree *Tree) | |
uint64_t | getAddress () const |
void | setAddress (uint64_t Addr) |
MCDecodedPseudoProbeInlineTree * | getInlineTreeNode () const |
void | getInlineContext (SmallVectorImpl< MCPseduoProbeFrameLocation > &ContextStack, const GUIDProbeFunctionMap &GUID2FuncMAP) const |
std::string | getInlineContextStr (const GUIDProbeFunctionMap &GUID2FuncMAP) const |
void | print (raw_ostream &OS, const GUIDProbeFunctionMap &GUID2FuncMAP, bool ShowName) const |
![]() | |
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) |
Additional Inherited Members | |
![]() | |
uint64_t | Guid |
uint64_t | Index |
uint8_t | Attributes |
uint8_t | Type |
![]() | |
static const uint32_t | PseudoProbeFirstId = 1 |
Definition at line 172 of file MCPseudoProbe.h.
|
inline |
Definition at line 177 of file MCPseudoProbe.h.
|
inline |
Definition at line 182 of file MCPseudoProbe.h.
void MCDecodedPseudoProbe::getInlineContext | ( | SmallVectorImpl< MCPseduoProbeFrameLocation > & | ContextStack, |
const GUIDProbeFunctionMap & | GUID2FuncMAP | ||
) | const |
Definition at line 269 of file MCPseudoProbe.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::SmallVectorTemplateCommon< T, typename >::end(), getProbeFNameForGUID(), llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::Guid, llvm::MCDecodedPseudoProbeInlineTree::hasInlineSite(), llvm::MCDecodedPseudoProbeInlineTree::ISite, llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::Parent, and llvm::SmallVectorBase< Size_T >::size().
Referenced by llvm::MCPseudoProbeDecoder::getInlineContextForProbe(), and getInlineContextStr().
std::string MCDecodedPseudoProbe::getInlineContextStr | ( | const GUIDProbeFunctionMap & | GUID2FuncMAP | ) | const |
Definition at line 286 of file MCPseudoProbe.cpp.
References getInlineContext().
Referenced by print().
|
inline |
Definition at line 186 of file MCPseudoProbe.h.
Referenced by llvm::MCPseudoProbeDecoder::getInlinerDescForProbe().
void MCDecodedPseudoProbe::print | ( | raw_ostream & | OS, |
const GUIDProbeFunctionMap & | GUID2FuncMAP, | ||
bool | ShowName | ||
) | const |
Definition at line 302 of file MCPseudoProbe.cpp.
References getInlineContextStr(), getProbeFNameForGUID(), llvm::MCPseudoProbeBase::Guid, OS, PseudoProbeTypeStr, llvm::StringRef::str(), and llvm::MCPseudoProbeBase::Type.
|
inline |
Definition at line 184 of file MCPseudoProbe.h.
References Addr.