LLVM  8.0.1
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.) More...
 
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) More...
 
virtual bool emitStackMaps (StackMaps &SM, AsmPrinter &AP)
 Called when the stack maps are generated. More...
 

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 40 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 59 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 68 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 63 of file GCMetadataPrinter.h.

◆ getStrategy()

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

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


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