LLVM  8.0.0svn
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
Collaboration diagram for llvm::WebAssemblyTargetStreamer:
Collaboration graph

Public Member Functions

 WebAssemblyTargetStreamer (MCStreamer &S)
virtual void emitParam (MCSymbol *Symbol, ArrayRef< MVT > Types)=0
 .param More...
virtual void emitResult (MCSymbol *Symbol, ArrayRef< MVT > Types)=0
 .result More...
virtual void emitLocal (ArrayRef< MVT > Types)=0
 .local More...
virtual void emitEndFunc ()=0
 .endfunc More...
virtual void emitIndirectFunctionType (MCSymbolWasm *Symbol)=0
 .functype More...
virtual void emitIndIdx (const MCExpr *Value)=0
 .indidx More...
virtual void emitGlobalImport (StringRef name)=0
 .import_global More...
virtual void emitImportModule (MCSymbolWasm *Sym, StringRef ModuleName)=0
 .import_module 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 finish ()

Protected Member Functions

void emitValueType (wasm::ValType Type)

Additional Inherited Members

- Protected Attributes inherited from llvm::MCTargetStreamer

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)

Definition at line 28 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

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

◆ emitGlobalImport()

virtual void llvm::WebAssemblyTargetStreamer::emitGlobalImport ( StringRef  name)
pure virtual

◆ emitImportModule()

virtual void llvm::WebAssemblyTargetStreamer::emitImportModule ( MCSymbolWasm Sym,
StringRef  ModuleName 
pure virtual

◆ emitIndIdx()

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

◆ emitIndirectFunctionType()

virtual void llvm::WebAssemblyTargetStreamer::emitIndirectFunctionType ( MCSymbolWasm Symbol)
pure virtual

◆ emitLocal()

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

◆ emitParam()

virtual void llvm::WebAssemblyTargetStreamer::emitParam ( MCSymbol Symbol,
ArrayRef< MVT Types 
pure virtual

◆ emitResult()

virtual void llvm::WebAssemblyTargetStreamer::emitResult ( MCSymbol Symbol,
ArrayRef< MVT Types 
pure virtual

◆ emitValueType()

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

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