LLVM 20.0.0git
|
#include "llvm/MC/MCPseudoProbe.h"
Public Types | |
using | Uint64Set = DenseSet< uint64_t > |
using | Uint64Map = DenseMap< uint64_t, uint64_t > |
Definition at line 385 of file MCPseudoProbe.h.
Definition at line 431 of file MCPseudoProbe.h.
Definition at line 430 of file MCPseudoProbe.h.
|
inline |
Definition at line 494 of file MCPseudoProbe.h.
References llvm::Address, and llvm::MCDecodedPseudoProbe::getInlineTreeNode().
bool MCPseudoProbeDecoder::buildAddress2ProbeMap | ( | const uint8_t * | Start, |
std::size_t | Size, | ||
const Uint64Set & | GuildFilter, | ||
const Uint64Map & | FuncStartAddrs | ||
) |
Definition at line 617 of file MCPseudoProbe.cpp.
References assert(), llvm::enumerate(), llvm::MCPseudoProbeInlineTreeBase< ProbesType, DerivedProbeInlineTreeType, InlinedProbeTreeMap >::getChildren(), I, llvm::make_second_range(), Size, and llvm::sort().
bool MCPseudoProbeDecoder::buildGUID2FuncDescMap | ( | const uint8_t * | Start, |
std::size_t | Size, | ||
bool | IsMMapped = false |
||
) |
Definition at line 377 of file MCPseudoProbe.cpp.
References assert(), llvm::cantFail(), llvm::errorOrToExpected(), LHS, Name, llvm::XCOFF::NameSize, RHS, Size, and llvm::sort().
bool MCPseudoProbeDecoder::countRecords | ( | bool & | Discard, |
uint32_t & | ProbeCount, | ||
uint32_t & | InlinedCount, | ||
const Uint64Set & | GuidFilter | ||
) |
Definition at line 539 of file MCPseudoProbe.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty(), llvm::Guid, llvm::hasDiscriminator(), I, and llvm::isSentinelProbe().
|
inline |
Definition at line 481 of file MCPseudoProbe.h.
|
inline |
Definition at line 477 of file MCPseudoProbe.h.
const MCDecodedPseudoProbe * MCPseudoProbeDecoder::getCallProbeForAddr | ( | uint64_t | Address | ) | const |
Definition at line 693 of file MCPseudoProbe.cpp.
References llvm::Address, and llvm::AddressProbesMap::find().
|
inline |
Definition at line 490 of file MCPseudoProbe.h.
const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getFuncDescForGUID | ( | uint64_t | GUID | ) | const |
Definition at line 717 of file MCPseudoProbe.cpp.
References assert(), and llvm::GUIDProbeFunctionMap::find().
Referenced by getInlineContextForProbe(), and getInlinerDescForProbe().
|
inline |
Definition at line 483 of file MCPseudoProbe.h.
|
inline |
Definition at line 507 of file MCPseudoProbe.h.
References assert().
void MCPseudoProbeDecoder::getInlineContextForProbe | ( | const MCDecodedPseudoProbe * | Probe, |
SmallVectorImpl< MCPseudoProbeFrameLocation > & | InlineContextStack, | ||
bool | IncludeLeaf | ||
) | const |
Definition at line 723 of file MCPseudoProbe.cpp.
References llvm::SmallVectorImpl< T >::emplace_back(), getFuncDescForGUID(), llvm::MCDecodedPseudoProbe::getGuid(), llvm::MCPseudoProbeBase::getIndex(), and llvm::MCDecodedPseudoProbe::getInlineContext().
const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getInlinerDescForProbe | ( | const MCDecodedPseudoProbe * | Probe | ) | const |
Definition at line 737 of file MCPseudoProbe.cpp.
References getFuncDescForGUID(), llvm::MCDecodedPseudoProbe::getInlineTreeNode(), llvm::MCPseudoProbeInlineTreeBase< ProbesType, DerivedProbeInlineTreeType, InlinedProbeTreeMap >::Guid, llvm::MCDecodedPseudoProbeInlineTree::hasInlineSite(), and llvm::MCPseudoProbeInlineTreeBase< ProbesType, DerivedProbeInlineTreeType, InlinedProbeTreeMap >::Parent.
|
inline |
Definition at line 513 of file MCPseudoProbe.h.
|
inline |
Definition at line 500 of file MCPseudoProbe.h.
void MCPseudoProbeDecoder::printGUID2FuncDescMap | ( | raw_ostream & | OS | ) |
Definition at line 665 of file MCPseudoProbe.cpp.
void MCPseudoProbeDecoder::printProbeForAddress | ( | raw_ostream & | OS, |
uint64_t | Address | ||
) |
Definition at line 671 of file MCPseudoProbe.cpp.
References llvm::Address, llvm::AddressProbesMap::find(), and OS.
void MCPseudoProbeDecoder::printProbesForAllAddresses | ( | raw_ostream & | OS | ) |
Definition at line 679 of file MCPseudoProbe.cpp.
References llvm::Address, INT64_MAX, and OS.