LLVM 20.0.0git
Public Member Functions | Protected Member Functions | Friends | List of all members
llvm::GCMetadataPrinter Class Reference

GCMetadataPrinter - Emits GC metadata as assembly code. More...

#include "llvm/CodeGen/GCMetadataPrinter.h"

Public Member Functions

 GCMetadataPrinter (const GCMetadataPrinter &)=delete
 
GCMetadataPrinteroperator= (const GCMetadataPrinter &)=delete
 
virtual ~GCMetadataPrinter ()
 
GCStrategygetStrategy ()
 
virtual void beginAssembly (Module &M, GCModuleInfo &Info, AsmPrinter &AP)
 Called before the assembly for the module is generated by the AsmPrinter (but after target specific hooks.)
 
virtual void finishAssembly (Module &M, GCModuleInfo &Info, AsmPrinter &AP)
 Called after the assembly for the module is generated by the AsmPrinter (but before target specific hooks)
 
virtual bool emitStackMaps (StackMaps &SM, AsmPrinter &AP)
 Called when the stack maps are generated.
 

Protected Member Functions

 GCMetadataPrinter ()
 

Friends

class AsmPrinter
 

Detailed Description

GCMetadataPrinter - Emits GC metadata as assembly code.

Instances are created, managed, and owned by the AsmPrinter.

Definition at line 39 of file GCMetadataPrinter.h.

Constructor & Destructor Documentation

◆ GCMetadataPrinter() [1/2]

GCMetadataPrinter::GCMetadataPrinter ( )
protecteddefault

◆ GCMetadataPrinter() [2/2]

llvm::GCMetadataPrinter::GCMetadataPrinter ( const GCMetadataPrinter )
delete

◆ ~GCMetadataPrinter()

GCMetadataPrinter::~GCMetadataPrinter ( )
virtualdefault

Member Function Documentation

◆ beginAssembly()

virtual void llvm::GCMetadataPrinter::beginAssembly ( Module M,
GCModuleInfo Info,
AsmPrinter AP 
)
inlinevirtual

Called before the assembly for the module is generated by the AsmPrinter (but after target specific hooks.)

Definition at line 58 of file GCMetadataPrinter.h.

◆ emitStackMaps()

virtual bool llvm::GCMetadataPrinter::emitStackMaps ( StackMaps SM,
AsmPrinter AP 
)
inlinevirtual

Called when the stack maps are generated.

Return true if stack maps with a custom format are generated. Otherwise returns false and the default format will be used.

Definition at line 67 of file GCMetadataPrinter.h.

◆ finishAssembly()

virtual void llvm::GCMetadataPrinter::finishAssembly ( Module M,
GCModuleInfo Info,
AsmPrinter AP 
)
inlinevirtual

Called after the assembly for the module is generated by the AsmPrinter (but before target specific hooks)

Definition at line 62 of file GCMetadataPrinter.h.

◆ getStrategy()

GCStrategy & llvm::GCMetadataPrinter::getStrategy ( )
inline

Definition at line 54 of file GCMetadataPrinter.h.

◆ operator=()

GCMetadataPrinter & llvm::GCMetadataPrinter::operator= ( const GCMetadataPrinter )
delete

Friends And Related Function Documentation

◆ AsmPrinter

friend class AsmPrinter
friend

Definition at line 41 of file GCMetadataPrinter.h.


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