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

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 emitGlobal (ArrayRef< wasm::Global > Globals)=0
 .globalvar More...
 
virtual void emitEndFunc ()=0
 .endfunc More...
 
virtual void emitIndirectFunctionType (MCSymbol *Symbol, SmallVectorImpl< MVT > &Params, SmallVectorImpl< MVT > &Results)=0
 .functype More...
 
virtual void emitIndIdx (const MCExpr *Value)=0
 .indidx More...
 
virtual void emitGlobalImport (StringRef name)=0
 .import_global 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 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 30 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

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

◆ emitGlobal()

virtual void llvm::WebAssemblyTargetStreamer::emitGlobal ( ArrayRef< wasm::Global Globals)
pure virtual

◆ emitGlobalImport()

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

◆ emitIndIdx()

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

◆ emitIndirectFunctionType()

virtual void llvm::WebAssemblyTargetStreamer::emitIndirectFunctionType ( MCSymbol Symbol,
SmallVectorImpl< MVT > &  Params,
SmallVectorImpl< MVT > &  Results 
)
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)
protected

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