LLVM 20.0.0git
Public Member Functions | Protected Member Functions | List of all members
llvm::WebAssemblyTargetStreamer Class Referenceabstract

WebAssembly-specific streamer interface, to implement support WebAssembly-specific assembly directives. More...

#include "Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h"

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

Public Member Functions

 WebAssemblyTargetStreamer (MCStreamer &S)
 
virtual void emitLocal (ArrayRef< wasm::ValType > Types)=0
 .local
 
virtual void emitFunctionType (const MCSymbolWasm *Sym)=0
 .functype
 
virtual void emitIndIdx (const MCExpr *Value)=0
 .indidx
 
virtual void emitGlobalType (const MCSymbolWasm *Sym)=0
 .globaltype
 
virtual void emitTableType (const MCSymbolWasm *Sym)=0
 .tabletype
 
virtual void emitTagType (const MCSymbolWasm *Sym)=0
 .tagtype
 
virtual void emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule)=0
 .import_module
 
virtual void emitImportName (const MCSymbolWasm *Sym, StringRef ImportName)=0
 .import_name
 
virtual void emitExportName (const MCSymbolWasm *Sym, StringRef ExportName)=0
 .export_name
 
- Public Member Functions inherited from llvm::MCTargetStreamer
 MCTargetStreamer (MCStreamer &S)
 
virtual ~MCTargetStreamer ()
 
MCStreamergetStreamer ()
 
virtual void emitLabel (MCSymbol *Symbol)
 
virtual void emitAssignment (MCSymbol *Symbol, const MCExpr *Value)
 
virtual void prettyPrintAsm (MCInstPrinter &InstPrinter, uint64_t Address, const MCInst &Inst, const MCSubtargetInfo &STI, raw_ostream &OS)
 
virtual void emitDwarfFileDirective (StringRef Directive)
 
virtual void changeSection (const MCSection *CurSection, MCSection *Section, uint32_t SubSection, raw_ostream &OS)
 Update streamer for a new active section.
 
virtual void emitValue (const MCExpr *Value)
 
virtual void emitRawBytes (StringRef Data)
 Emit the bytes in Data into the output.
 
virtual void emitConstantPools ()
 
virtual void finish ()
 

Protected Member Functions

void emitValueType (wasm::ValType Type)
 

Additional Inherited Members

- Protected Attributes inherited from llvm::MCTargetStreamer
MCStreamerStreamer
 

Detailed Description

WebAssembly-specific streamer interface, to implement support WebAssembly-specific assembly directives.

Definition at line 29 of file WebAssemblyTargetStreamer.h.

Constructor & Destructor Documentation

◆ WebAssemblyTargetStreamer()

WebAssemblyTargetStreamer::WebAssemblyTargetStreamer ( MCStreamer S)
explicit

Definition at line 24 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitExportName()

virtual void llvm::WebAssemblyTargetStreamer::emitExportName ( const MCSymbolWasm Sym,
StringRef  ExportName 
)
pure virtual

◆ emitFunctionType()

virtual void llvm::WebAssemblyTargetStreamer::emitFunctionType ( const MCSymbolWasm Sym)
pure virtual

◆ emitGlobalType()

virtual void llvm::WebAssemblyTargetStreamer::emitGlobalType ( const MCSymbolWasm Sym)
pure virtual

◆ emitImportModule()

virtual void llvm::WebAssemblyTargetStreamer::emitImportModule ( const MCSymbolWasm Sym,
StringRef  ImportModule 
)
pure virtual

◆ emitImportName()

virtual void llvm::WebAssemblyTargetStreamer::emitImportName ( const MCSymbolWasm Sym,
StringRef  ImportName 
)
pure virtual

◆ emitIndIdx()

virtual void llvm::WebAssemblyTargetStreamer::emitIndIdx ( const MCExpr Value)
pure virtual

◆ emitLocal()

virtual void llvm::WebAssemblyTargetStreamer::emitLocal ( ArrayRef< wasm::ValType Types)
pure virtual

◆ emitTableType()

virtual void llvm::WebAssemblyTargetStreamer::emitTableType ( const MCSymbolWasm Sym)
pure virtual

◆ emitTagType()

virtual void llvm::WebAssemblyTargetStreamer::emitTagType ( const MCSymbolWasm Sym)
pure virtual

◆ emitValueType()

void WebAssemblyTargetStreamer::emitValueType ( wasm::ValType  Type)
protected

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