llvm::MCDecodedPseudoProbe

A pseudo probe decoded from a .pseudoprobe section.

Synopsis

Declared in <llvm/MC/MCPseudoProbe.h>

class MCDecodedPseudoProbe
    : public MCPseudoProbeBase

Base Classes

NameDescription
MCPseudoProbeBaseShared state for an encoded or decoded pseudo probe.

Member Functions

NameDescription
MCDecodedPseudoProbe [constructor]Construct a decoded probe at address Ad in inline tree Tree.
getAddress Return the code address of this probe.
getAttributes Return the probe attribute bitmask.
getDiscriminator Return the probe discriminator.
getGuid Return the GUID of the function that owns this probe.
getIndex Return the probe index within its function.
getInlineContext Build the inlined context for this probe into ContextStack.
getInlineContextStr Return the inlined context of this probe as a single string.
getInlineTreeNode Return the inline-tree node that owns this probe.
getType Return the probe type.
isBlock Return true if this is a basic-block probe.
isCall Return true if this is any call probe.
isDirectCall Return true if this is a direct-call probe.
isEntry Return true if this is the function-entry probe.
isIndirectCall Return true if this is an indirect-call probe.
print Print this probe for disassembly to OS.
setAddress Set the code address of this probe to Addr.
setAttributes Replace the probe attribute bitmask with Attr.

Protected Data Members

NameDescription
Attributes Bitmask of probe attributes (see PseudoProbeAttributes).
Discriminator Source discriminator associated with the probe, if any.
Index Probe index within the originating function.
Type Probe kind (block, indirect call, or direct call).

Protected Static Data Members

NameDescription
PseudoProbeFirstId First valid user probe index.