LLVM 19.0.0git
Public Member Functions | List of all members
llvm::PseudoProbeHandler Class Reference

#include "CodeGen/AsmPrinter/PseudoProbePrinter.h"

Inheritance diagram for llvm::PseudoProbeHandler:
Inheritance graph
[legend]

Public Member Functions

 PseudoProbeHandler (AsmPrinter *A)
 
 ~PseudoProbeHandler () override
 
void emitPseudoProbe (uint64_t Guid, uint64_t Index, uint64_t Type, uint64_t Attr, const DILocation *DebugLoc)
 
void setSymbolSize (const MCSymbol *Sym, uint64_t Size) override
 For symbols that have a size designated (e.g.
 
void endModule () override
 Emit all sections that should come after the content.
 
void beginFunction (const MachineFunction *MF) override
 Gather pre-function debug information.
 
void endFunction (const MachineFunction *MF) override
 Gather post-function debug information.
 
void beginInstruction (const MachineInstr *MI) override
 Process beginning of an instruction.
 
void endInstruction () override
 Process end of an instruction.
 
- Public Member Functions inherited from llvm::AsmPrinterHandler
virtual ~AsmPrinterHandler ()
 Pin vtable to this file.
 
virtual void setSymbolSize (const MCSymbol *Sym, uint64_t Size)=0
 For symbols that have a size designated (e.g.
 
virtual void beginModule (Module *M)
 
virtual void endModule ()=0
 Emit all sections that should come after the content.
 
virtual void beginFunction (const MachineFunction *MF)=0
 Gather pre-function debug information.
 
virtual void markFunctionEnd ()
 
virtual void endFunction (const MachineFunction *MF)=0
 Gather post-function debug information.
 
virtual void beginBasicBlockSection (const MachineBasicBlock &MBB)
 Process the beginning of a new basic-block-section within a function.
 
virtual void endBasicBlockSection (const MachineBasicBlock &MBB)
 Process the end of a basic-block-section within a function.
 
virtual void beginFunclet (const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr)
 Emit target-specific EH funclet machinery.
 
virtual void endFunclet ()
 
virtual void beginInstruction (const MachineInstr *MI)=0
 Process beginning of an instruction.
 
virtual void endInstruction ()=0
 Process end of an instruction.
 

Detailed Description

Definition at line 24 of file PseudoProbePrinter.h.

Constructor & Destructor Documentation

◆ PseudoProbeHandler()

llvm::PseudoProbeHandler::PseudoProbeHandler ( AsmPrinter A)
inline

Definition at line 31 of file PseudoProbePrinter.h.

◆ ~PseudoProbeHandler()

PseudoProbeHandler::~PseudoProbeHandler ( )
overridedefault

Member Function Documentation

◆ beginFunction()

void llvm::PseudoProbeHandler::beginFunction ( const MachineFunction MF)
inlineoverridevirtual

Gather pre-function debug information.

Every beginFunction(MF) call should be followed by an endFunction(MF) call.

Implements llvm::AsmPrinterHandler.

Definition at line 40 of file PseudoProbePrinter.h.

◆ beginInstruction()

void llvm::PseudoProbeHandler::beginInstruction ( const MachineInstr MI)
inlineoverridevirtual

Process beginning of an instruction.

Implements llvm::AsmPrinterHandler.

Definition at line 42 of file PseudoProbePrinter.h.

◆ emitPseudoProbe()

void PseudoProbeHandler::emitPseudoProbe ( uint64_t  Guid,
uint64_t  Index,
uint64_t  Type,
uint64_t  Attr,
const DILocation DebugLoc 
)

◆ endFunction()

void llvm::PseudoProbeHandler::endFunction ( const MachineFunction MF)
inlineoverridevirtual

Gather post-function debug information.

Implements llvm::AsmPrinterHandler.

Definition at line 41 of file PseudoProbePrinter.h.

◆ endInstruction()

void llvm::PseudoProbeHandler::endInstruction ( )
inlineoverridevirtual

Process end of an instruction.

Implements llvm::AsmPrinterHandler.

Definition at line 43 of file PseudoProbePrinter.h.

◆ endModule()

void llvm::PseudoProbeHandler::endModule ( )
inlineoverridevirtual

Emit all sections that should come after the content.

Implements llvm::AsmPrinterHandler.

Definition at line 39 of file PseudoProbePrinter.h.

◆ setSymbolSize()

void llvm::PseudoProbeHandler::setSymbolSize ( const MCSymbol Sym,
uint64_t  Size 
)
inlineoverridevirtual

For symbols that have a size designated (e.g.

common symbols), this tracks that size.

Implements llvm::AsmPrinterHandler.

Definition at line 38 of file PseudoProbePrinter.h.


The documentation for this class was generated from the following files: