LLVM  14.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]
Collaboration diagram for llvm::PseudoProbeHandler:
Collaboration 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. More...
 
void endModule () override
 Emit all sections that should come after the content. More...
 
void beginFunction (const MachineFunction *MF) override
 Gather pre-function debug information. More...
 
void endFunction (const MachineFunction *MF) override
 Gather post-function debug information. More...
 
void beginInstruction (const MachineInstr *MI) override
 Process beginning of an instruction. More...
 
void endInstruction () override
 Process end of an instruction. More...
 
- Public Member Functions inherited from llvm::AsmPrinterHandler
virtual ~AsmPrinterHandler ()
 Pin vtable to this file. More...
 
virtual void beginModule (Module *M)
 
virtual void markFunctionEnd ()
 
virtual void beginFragment (const MachineBasicBlock *MBB, ExceptionSymbolProvider ESP)
 
virtual void endFragment ()
 
virtual void beginFunclet (const MachineBasicBlock &MBB, MCSymbol *Sym=nullptr)
 Emit target-specific EH funclet machinery. More...
 
virtual void endFunclet ()
 
virtual void beginBasicBlock (const MachineBasicBlock &MBB)
 Process beginning of a basic block during basic block sections. More...
 
virtual void endBasicBlock (const MachineBasicBlock &MBB)
 Process end of a basic block during basic block sections. More...
 

Detailed Description

Definition at line 26 of file PseudoProbePrinter.h.

Constructor & Destructor Documentation

◆ PseudoProbeHandler()

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

Definition at line 33 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 42 of file PseudoProbePrinter.h.

◆ beginInstruction()

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

Process beginning of an instruction.

Implements llvm::AsmPrinterHandler.

Definition at line 44 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.

Please note that some AsmPrinter implementations may not call beginFunction at all.

Implements llvm::AsmPrinterHandler.

Definition at line 43 of file PseudoProbePrinter.h.

◆ endInstruction()

void llvm::PseudoProbeHandler::endInstruction ( )
inlineoverridevirtual

Process end of an instruction.

Implements llvm::AsmPrinterHandler.

Definition at line 45 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 41 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 40 of file PseudoProbePrinter.h.


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