LLVM 22.0.0git
|
#include "llvm/MC/MCPseudoProbe.h"
Public Types | |
using | Uint64Set = DenseSet<uint64_t> |
using | Uint64Map = DenseMap<uint64_t, uint64_t> |
Definition at line 387 of file MCPseudoProbe.h.
Definition at line 433 of file MCPseudoProbe.h.
Definition at line 432 of file MCPseudoProbe.h.
|
inline |
Definition at line 497 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 616 of file MCPseudoProbe.cpp.
References assert(), buildAddress2ProbeMap(), countRecords(), llvm::enumerate(), I, llvm::make_second_range(), llvm::MutableArrayRef(), Size, and llvm::sort().
Referenced by buildAddress2ProbeMap().
bool MCPseudoProbeDecoder::buildGUID2FuncDescMap | ( | const uint8_t * | Start, |
std::size_t | Size, | ||
bool | IsMMapped = false ) |
Definition at line 376 of file MCPseudoProbe.cpp.
References assert(), llvm::cantFail(), llvm::errorOrToExpected(), llvm::XCOFF::NameSize, Size, and llvm::sort().
bool MCPseudoProbeDecoder::countRecords | ( | bool & | Discard, |
uint32_t & | ProbeCount, | ||
uint32_t & | InlinedCount, | ||
const Uint64Set & | GuidFilter ) |
Definition at line 538 of file MCPseudoProbe.cpp.
References llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::count(), countRecords(), llvm::detail::DenseSetImpl< ValueT, MapTy, ValueInfoT >::empty(), llvm::Guid, llvm::hasDiscriminator(), I, and llvm::isSentinelProbe().
Referenced by buildAddress2ProbeMap(), and countRecords().
|
inline |
Definition at line 484 of file MCPseudoProbe.h.
|
inline |
Definition at line 480 of file MCPseudoProbe.h.
const MCDecodedPseudoProbe * MCPseudoProbeDecoder::getCallProbeForAddr | ( | uint64_t | Address | ) | const |
Definition at line 692 of file MCPseudoProbe.cpp.
References llvm::Address.
|
inline |
Definition at line 493 of file MCPseudoProbe.h.
const MCPseudoProbeFuncDesc * MCPseudoProbeDecoder::getFuncDescForGUID | ( | uint64_t | GUID | ) | const |
Definition at line 716 of file MCPseudoProbe.cpp.
References assert().
Referenced by getInlineContextForProbe(), and getInlinerDescForProbe().
|
inline |
Definition at line 486 of file MCPseudoProbe.h.
|
inline |
Definition at line 510 of file MCPseudoProbe.h.
References assert(), and llvm::iterator_range().
void MCPseudoProbeDecoder::getInlineContextForProbe | ( | const MCDecodedPseudoProbe * | Probe, |
SmallVectorImpl< MCPseudoProbeFrameLocation > & | InlineContextStack, | ||
bool | IncludeLeaf ) const |
Definition at line 722 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 736 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 516 of file MCPseudoProbe.h.
|
inline |
Definition at line 503 of file MCPseudoProbe.h.
void MCPseudoProbeDecoder::printGUID2FuncDescMap | ( | raw_ostream & | OS | ) |
Definition at line 664 of file MCPseudoProbe.cpp.
References I.
void MCPseudoProbeDecoder::printProbeForAddress | ( | raw_ostream & | OS, |
uint64_t | Address ) |
Definition at line 670 of file MCPseudoProbe.cpp.
References llvm::Address.
void MCPseudoProbeDecoder::printProbesForAllAddresses | ( | raw_ostream & | OS | ) |
Definition at line 678 of file MCPseudoProbe.cpp.
References llvm::Address, and INT64_MAX.