LLVM 20.0.0git
|
Instances of this class represent the pseudo probes inserted into a compile unit. More...
#include "llvm/MC/MCPseudoProbe.h"
Public Types | |
using | MCProbeDivisionMap = std::unordered_map< MCSymbol *, MCPseudoProbeInlineTree > |
Public Member Functions | |
void | addPseudoProbe (MCSymbol *FuncSym, const MCPseudoProbe &Probe, const MCPseudoProbeInlineStack &InlineStack) |
const MCProbeDivisionMap & | getMCProbes () const |
bool | empty () const |
void | emit (MCObjectStreamer *MCOS) |
Instances of this class represent the pseudo probes inserted into a compile unit.
Definition at line 294 of file MCPseudoProbe.h.
using llvm::MCPseudoProbeSections::MCProbeDivisionMap = std::unordered_map<MCSymbol *, MCPseudoProbeInlineTree> |
Definition at line 303 of file MCPseudoProbe.h.
|
inline |
Definition at line 296 of file MCPseudoProbe.h.
Referenced by llvm::MCStreamer::emitPseudoProbe().
void MCPseudoProbeSections::emit | ( | MCObjectStreamer * | MCOS | ) |
Definition at line 209 of file MCPseudoProbe.cpp.
References A, B, llvm::Block, llvm::SmallVectorImpl< T >::emplace_back(), llvm::enumerate(), llvm::MCObjectStreamer::getAssembler(), llvm::MCStreamer::getContext(), llvm::MCContext::getObjectFileInfo(), llvm::MCObjectFileInfo::getPseudoProbeSection(), I, llvm::Invalid, llvm::sampleprof::MD5Hash(), llvm::SmallVectorImpl< T >::reserve(), llvm::Sentinel, llvm::sort(), and llvm::MCStreamer::switchSection().
|
inline |
Definition at line 314 of file MCPseudoProbe.h.
|
inline |
Definition at line 312 of file MCPseudoProbe.h.