LLVM  15.0.0git
Public Member Functions | List of all members
llvm::MCPseudoProbeDecoder Class Reference

#include "llvm/MC/MCPseudoProbe.h"

Public Member Functions

bool buildGUID2FuncDescMap (const uint8_t *Start, std::size_t Size)
 
bool buildAddress2ProbeMap (const uint8_t *Start, std::size_t Size)
 
bool buildAddress2ProbeMap (const uint8_t *Start, std::size_t Size, std::unordered_set< uint64_t > &GuildFilter)
 
bool buildAddress2ProbeMap (MCDecodedPseudoProbeInlineTree *Cur, uint64_t &LastAddr, std::unordered_set< uint64_t > &GuildFilter)
 
void printGUID2FuncDescMap (raw_ostream &OS)
 
void printProbeForAddress (raw_ostream &OS, uint64_t Address)
 
void printProbesForAllAddresses (raw_ostream &OS)
 
const MCDecodedPseudoProbegetCallProbeForAddr (uint64_t Address) const
 
const MCPseudoProbeFuncDescgetFuncDescForGUID (uint64_t GUID) const
 
void getInlineContextForProbe (const MCDecodedPseudoProbe *Probe, SmallVectorImpl< MCPseduoProbeFrameLocation > &InlineContextStack, bool IncludeLeaf) const
 
const AddressProbesMapgetAddress2ProbesMap () const
 
AddressProbesMapgetAddress2ProbesMap ()
 
const GUIDProbeFunctionMapgetGUID2FuncDescMap () const
 
const MCPseudoProbeFuncDescgetInlinerDescForProbe (const MCDecodedPseudoProbe *Probe) const
 
const MCDecodedPseudoProbeInlineTreegetDummyInlineRoot () const
 

Detailed Description

Definition at line 325 of file MCPseudoProbe.h.

Member Function Documentation

◆ buildAddress2ProbeMap() [1/3]

bool MCPseudoProbeDecoder::buildAddress2ProbeMap ( const uint8_t *  Start,
std::size_t  Size 
)

Definition at line 491 of file MCPseudoProbe.cpp.

◆ buildAddress2ProbeMap() [2/3]

bool MCPseudoProbeDecoder::buildAddress2ProbeMap ( const uint8_t *  Start,
std::size_t  Size,
std::unordered_set< uint64_t > &  GuildFilter 
)

Definition at line 479 of file MCPseudoProbe.cpp.

References llvm::Data.

◆ buildAddress2ProbeMap() [3/3]

bool MCPseudoProbeDecoder::buildAddress2ProbeMap ( MCDecodedPseudoProbeInlineTree Cur,
uint64_t LastAddr,
std::unordered_set< uint64_t > &  GuildFilter 
)

◆ buildGUID2FuncDescMap()

bool MCPseudoProbeDecoder::buildGUID2FuncDescMap ( const uint8_t *  Start,
std::size_t  Size 
)

Definition at line 315 of file MCPseudoProbe.cpp.

References llvm::Data.

◆ getAddress2ProbesMap() [1/2]

AddressProbesMap& llvm::MCPseudoProbeDecoder::getAddress2ProbesMap ( )
inline

Definition at line 396 of file MCPseudoProbe.h.

◆ getAddress2ProbesMap() [2/2]

const AddressProbesMap& llvm::MCPseudoProbeDecoder::getAddress2ProbesMap ( ) const
inline

Definition at line 392 of file MCPseudoProbe.h.

◆ getCallProbeForAddr()

const MCDecodedPseudoProbe * MCPseudoProbeDecoder::getCallProbeForAddr ( uint64_t  Address) const

Definition at line 532 of file MCPseudoProbe.cpp.

References assert().

◆ getDummyInlineRoot()

const MCDecodedPseudoProbeInlineTree& llvm::MCPseudoProbeDecoder::getDummyInlineRoot ( ) const
inline

Definition at line 405 of file MCPseudoProbe.h.

◆ getFuncDescForGUID()

const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getFuncDescForGUID ( uint64_t  GUID) const

Definition at line 551 of file MCPseudoProbe.cpp.

References assert().

◆ getGUID2FuncDescMap()

const GUIDProbeFunctionMap& llvm::MCPseudoProbeDecoder::getGUID2FuncDescMap ( ) const
inline

Definition at line 398 of file MCPseudoProbe.h.

◆ getInlineContextForProbe()

void MCPseudoProbeDecoder::getInlineContextForProbe ( const MCDecodedPseudoProbe Probe,
SmallVectorImpl< MCPseduoProbeFrameLocation > &  InlineContextStack,
bool  IncludeLeaf 
) const

◆ getInlinerDescForProbe()

const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getInlinerDescForProbe ( const MCDecodedPseudoProbe Probe) const

◆ printGUID2FuncDescMap()

void MCPseudoProbeDecoder::printGUID2FuncDescMap ( raw_ostream OS)

Definition at line 497 of file MCPseudoProbe.cpp.

References I.

◆ printProbeForAddress()

void MCPseudoProbeDecoder::printProbeForAddress ( raw_ostream OS,
uint64_t  Address 
)

Definition at line 507 of file MCPseudoProbe.cpp.

◆ printProbesForAllAddresses()

void MCPseudoProbeDecoder::printProbesForAllAddresses ( raw_ostream OS)

Definition at line 518 of file MCPseudoProbe.cpp.


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