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 338 of file MCPseudoProbe.h.
Definition at line 368 of file MCPseudoProbe.h.
Definition at line 367 of file MCPseudoProbe.h.
bool MCPseudoProbeDecoder::buildAddress2ProbeMap | ( | const uint8_t * | Start, |
std::size_t | Size, | ||
const Uint64Set & | GuildFilter, | ||
const Uint64Map & | FuncStartAddrs | ||
) |
Definition at line 535 of file MCPseudoProbe.cpp.
References assert(), buildAddress2ProbeMap(), and Size.
Referenced by buildAddress2ProbeMap().
bool MCPseudoProbeDecoder::buildAddress2ProbeMap | ( | MCDecodedPseudoProbeInlineTree * | Cur, |
uint64_t & | LastAddr, | ||
const Uint64Set & | GuildFilter, | ||
const Uint64Map & | FuncStartAddrs | ||
) |
Definition at line 419 of file MCPseudoProbe.cpp.
References llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::addProbes(), Addr, buildAddress2ProbeMap(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty(), llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::getChildren(), llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::getOrAddNode(), llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::Guid, llvm::Guid, llvm::hasDiscriminator(), I, llvm::isSentinelProbe(), llvm::DenseMapBase< DerivedT, KeyT, ValueT, KeyInfoT, BucketT >::lookup(), and llvm::Offset.
Definition at line 374 of file MCPseudoProbe.cpp.
References assert(), Name, llvm::XCOFF::NameSize, and Size.
|
inline |
Definition at line 413 of file MCPseudoProbe.h.
|
inline |
Definition at line 409 of file MCPseudoProbe.h.
const MCDecodedPseudoProbe * MCPseudoProbeDecoder::getCallProbeForAddr | ( | uint64_t | Address | ) | const |
Definition at line 582 of file MCPseudoProbe.cpp.
References llvm::Address.
|
inline |
Definition at line 422 of file MCPseudoProbe.h.
const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getFuncDescForGUID | ( | uint64_t | GUID | ) | const |
Definition at line 611 of file MCPseudoProbe.cpp.
References assert().
Referenced by getInlineContextForProbe(), and getInlinerDescForProbe().
|
inline |
Definition at line 415 of file MCPseudoProbe.h.
void MCPseudoProbeDecoder::getInlineContextForProbe | ( | const MCDecodedPseudoProbe * | Probe, |
SmallVectorImpl< MCPseudoProbeFrameLocation > & | InlineContextStack, | ||
bool | IncludeLeaf | ||
) | const |
Definition at line 617 of file MCPseudoProbe.cpp.
References llvm::SmallVectorImpl< T >::emplace_back(), getFuncDescForGUID(), llvm::MCPseudoProbeBase::getGuid(), llvm::MCPseudoProbeBase::getIndex(), and llvm::MCDecodedPseudoProbe::getInlineContext().
const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getInlinerDescForProbe | ( | const MCDecodedPseudoProbe * | Probe | ) | const |
Definition at line 631 of file MCPseudoProbe.cpp.
References getFuncDescForGUID(), llvm::MCDecodedPseudoProbe::getInlineTreeNode(), llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::Guid, llvm::MCDecodedPseudoProbeInlineTree::hasInlineSite(), and llvm::MCPseudoProbeInlineTreeBase< ProbeType, DerivedProbeInlineTreeType >::Parent.
void MCPseudoProbeDecoder::printGUID2FuncDescMap | ( | raw_ostream & | OS | ) |
Definition at line 548 of file MCPseudoProbe.cpp.
void MCPseudoProbeDecoder::printProbeForAddress | ( | raw_ostream & | OS, |
uint64_t | Address | ||
) |
Definition at line 558 of file MCPseudoProbe.cpp.
References llvm::Address, OS, and llvm::MCDecodedPseudoProbe::print().
Referenced by printProbesForAllAddresses().
void MCPseudoProbeDecoder::printProbesForAllAddresses | ( | raw_ostream & | OS | ) |
Definition at line 569 of file MCPseudoProbe.cpp.
References llvm::make_first_range(), OS, printProbeForAddress(), and llvm::sort().