LLVM  8.0.1
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]
Collaboration diagram for llvm::WebAssemblyTargetStreamer:
Collaboration graph
[legend]

Public Member Functions

 WebAssemblyTargetStreamer (MCStreamer &S)
 
virtual void emitLocal (ArrayRef< wasm::ValType > Types)=0
 .local More...
 
virtual void emitEndFunc ()=0
 .endfunc More...
 
virtual void emitFunctionType (const MCSymbolWasm *Sym)=0
 .functype More...
 
virtual void emitIndIdx (const MCExpr *Value)=0
 .indidx More...
 
virtual void emitGlobalType (const MCSymbolWasm *Sym)=0
 .globaltype More...
 
virtual void emitEventType (const MCSymbolWasm *Sym)=0
 .eventtype More...
 
virtual void emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule)=0
 .import_module More...
 
virtual void emitImportName (const MCSymbolWasm *Sym, StringRef ImportName)=0
 .import_name More...
 
- 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, raw_ostream &OS, const MCInst &Inst, const MCSubtargetInfo &STI)
 
virtual void emitDwarfFileDirective (StringRef Directive)
 
virtual void changeSection (const MCSection *CurSection, MCSection *Section, const MCExpr *SubSection, raw_ostream &OS)
 Update streamer for a new active section. More...
 
virtual void emitValue (const MCExpr *Value)
 
virtual void emitRawBytes (StringRef Data)
 Emit the bytes in Data into the output. More...
 
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 30 of file WebAssemblyTargetStreamer.h.

Constructor & Destructor Documentation

◆ WebAssemblyTargetStreamer()

WebAssemblyTargetStreamer::WebAssemblyTargetStreamer ( MCStreamer S)
explicit

Definition at line 28 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

virtual void llvm::WebAssemblyTargetStreamer::emitEndFunc ( )
pure virtual

◆ emitEventType()

virtual void llvm::WebAssemblyTargetStreamer::emitEventType ( const MCSymbolWasm Sym)
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

◆ emitValueType()

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

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