LLVM  6.0.0svn
Public Member Functions | List of all members
llvm::WebAssemblyTargetAsmStreamer Class Referencefinal

This part is for ascii assembly output. More...

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

Inheritance diagram for llvm::WebAssemblyTargetAsmStreamer:
Inheritance graph
[legend]
Collaboration diagram for llvm::WebAssemblyTargetAsmStreamer:
Collaboration graph
[legend]

Public Member Functions

 WebAssemblyTargetAsmStreamer (MCStreamer &S, formatted_raw_ostream &OS)
 
void emitParam (MCSymbol *Symbol, ArrayRef< MVT > Types) override
 .param More...
 
void emitResult (MCSymbol *Symbol, ArrayRef< MVT > Types) override
 .result More...
 
void emitLocal (ArrayRef< MVT > Types) override
 .local More...
 
void emitGlobal (ArrayRef< wasm::Global > Globals) override
 .globalvar More...
 
void emitStackPointer (uint32_t Index) override
 .stack_pointer More...
 
void emitEndFunc () override
 .endfunc More...
 
void emitIndirectFunctionType (MCSymbol *Symbol, SmallVectorImpl< MVT > &Params, SmallVectorImpl< MVT > &Results) override
 .functype More...
 
void emitIndIdx (const MCExpr *Value) override
 .indidx More...
 
void emitGlobalImport (StringRef name) override
 .import_global More...
 
- Public Member Functions inherited from llvm::WebAssemblyTargetStreamer
 WebAssemblyTargetStreamer (MCStreamer &S)
 
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::WebAssemblyTargetStreamer
void emitValueType (wasm::ValType Type)
 
- Protected Attributes inherited from llvm::MCTargetStreamer
MCStreamerStreamer
 

Detailed Description

This part is for ascii assembly output.

Definition at line 60 of file WebAssemblyTargetStreamer.h.

Constructor & Destructor Documentation

◆ WebAssemblyTargetAsmStreamer()

WebAssemblyTargetAsmStreamer::WebAssemblyTargetAsmStreamer ( MCStreamer S,
formatted_raw_ostream OS 
)

Definition at line 37 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

void WebAssemblyTargetAsmStreamer::emitEndFunc ( )
overridevirtual

.endfunc

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 115 of file WebAssemblyTargetStreamer.cpp.

◆ emitGlobal()

void WebAssemblyTargetAsmStreamer::emitGlobal ( ArrayRef< wasm::Global Globals)
overridevirtual

◆ emitGlobalImport()

void WebAssemblyTargetAsmStreamer::emitGlobalImport ( StringRef  name)
overridevirtual

.import_global

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 131 of file WebAssemblyTargetStreamer.cpp.

◆ emitIndIdx()

void WebAssemblyTargetAsmStreamer::emitIndIdx ( const MCExpr Value)
overridevirtual

.indidx

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 135 of file WebAssemblyTargetStreamer.cpp.

◆ emitIndirectFunctionType()

void WebAssemblyTargetAsmStreamer::emitIndirectFunctionType ( MCSymbol Symbol,
SmallVectorImpl< MVT > &  Params,
SmallVectorImpl< MVT > &  Results 
)
overridevirtual

◆ emitLocal()

void WebAssemblyTargetAsmStreamer::emitLocal ( ArrayRef< MVT Types)
overridevirtual

.local

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 83 of file WebAssemblyTargetStreamer.cpp.

References llvm::ArrayRef< T >::empty(), and PrintTypes().

◆ emitParam()

void WebAssemblyTargetAsmStreamer::emitParam ( MCSymbol Symbol,
ArrayRef< MVT Types 
)
overridevirtual

.param

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 59 of file WebAssemblyTargetStreamer.cpp.

References llvm::ArrayRef< T >::empty(), and PrintTypes().

◆ emitResult()

void WebAssemblyTargetAsmStreamer::emitResult ( MCSymbol Symbol,
ArrayRef< MVT Types 
)
overridevirtual

.result

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 71 of file WebAssemblyTargetStreamer.cpp.

References llvm::ArrayRef< T >::empty(), and PrintTypes().

◆ emitStackPointer()

void WebAssemblyTargetAsmStreamer::emitStackPointer ( uint32_t  Index)
overridevirtual

.stack_pointer

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 111 of file WebAssemblyTargetStreamer.cpp.


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