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

This part is for ELF object output. More...

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

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

Public Member Functions

 WebAssemblyTargetELFStreamer (MCStreamer &S)
 
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 ELF object output.

Definition at line 80 of file WebAssemblyTargetStreamer.h.

Constructor & Destructor Documentation

◆ WebAssemblyTargetELFStreamer()

WebAssemblyTargetELFStreamer::WebAssemblyTargetELFStreamer ( MCStreamer S)
explicit

Definition at line 41 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

void WebAssemblyTargetELFStreamer::emitEndFunc ( )
overridevirtual

◆ emitGlobal()

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

.globalvar

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 155 of file WebAssemblyTargetStreamer.cpp.

References llvm_unreachable.

◆ emitGlobalImport()

void WebAssemblyTargetELFStreamer::emitGlobalImport ( StringRef  name)
overridevirtual

.import_global

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 179 of file WebAssemblyTargetStreamer.cpp.

◆ emitIndIdx()

void WebAssemblyTargetELFStreamer::emitIndIdx ( const MCExpr Value)
overridevirtual

.indidx

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 169 of file WebAssemblyTargetStreamer.cpp.

References llvm_unreachable.

◆ emitIndirectFunctionType()

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

.functype

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 173 of file WebAssemblyTargetStreamer.cpp.

◆ emitLocal()

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

◆ emitParam()

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

.param

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 139 of file WebAssemblyTargetStreamer.cpp.

◆ emitResult()

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

.result

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 144 of file WebAssemblyTargetStreamer.cpp.

◆ emitStackPointer()

void WebAssemblyTargetELFStreamer::emitStackPointer ( uint32_t  Index)
overridevirtual

.stack_pointer

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 160 of file WebAssemblyTargetStreamer.cpp.

References llvm_unreachable.


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