LLVM  14.0.0git
Public Member Functions | List of all members
llvm::WebAssemblyTargetWasmStreamer Class Referencefinal

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

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

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

Public Member Functions

 WebAssemblyTargetWasmStreamer (MCStreamer &S)
 
void emitLocal (ArrayRef< wasm::ValType > Types) override
 .local More...
 
void emitEndFunc () override
 .endfunc More...
 
void emitFunctionType (const MCSymbolWasm *Sym) override
 .functype More...
 
void emitIndIdx (const MCExpr *Value) override
 .indidx More...
 
void emitGlobalType (const MCSymbolWasm *Sym) override
 .globaltype More...
 
void emitTableType (const MCSymbolWasm *Sym) override
 .tabletype More...
 
void emitTagType (const MCSymbolWasm *Sym) override
 .tagtype More...
 
void emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule) override
 .import_module More...
 
void emitImportName (const MCSymbolWasm *Sym, StringRef ImportName) override
 .import_name More...
 
void emitExportName (const MCSymbolWasm *Sym, StringRef ExportName) override
 .export_name 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, uint64_t Address, const MCInst &Inst, const MCSubtargetInfo &STI, raw_ostream &OS)
 
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 emitConstantPools ()
 
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 Wasm object output.

Definition at line 81 of file WebAssemblyTargetStreamer.h.

Constructor & Destructor Documentation

◆ WebAssemblyTargetWasmStreamer()

WebAssemblyTargetWasmStreamer::WebAssemblyTargetWasmStreamer ( MCStreamer S)
explicit

Definition at line 38 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

void WebAssemblyTargetWasmStreamer::emitEndFunc ( )
overridevirtual

.endfunc

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 139 of file WebAssemblyTargetStreamer.cpp.

References llvm_unreachable.

◆ emitExportName()

void llvm::WebAssemblyTargetWasmStreamer::emitExportName ( const MCSymbolWasm Sym,
StringRef  ExportName 
)
inlineoverridevirtual

.export_name

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 96 of file WebAssemblyTargetStreamer.h.

◆ emitFunctionType()

void llvm::WebAssemblyTargetWasmStreamer::emitFunctionType ( const MCSymbolWasm Sym)
inlineoverridevirtual

.functype

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 87 of file WebAssemblyTargetStreamer.h.

◆ emitGlobalType()

void llvm::WebAssemblyTargetWasmStreamer::emitGlobalType ( const MCSymbolWasm Sym)
inlineoverridevirtual

.globaltype

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 89 of file WebAssemblyTargetStreamer.h.

◆ emitImportModule()

void llvm::WebAssemblyTargetWasmStreamer::emitImportModule ( const MCSymbolWasm Sym,
StringRef  ImportModule 
)
inlineoverridevirtual

.import_module

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 92 of file WebAssemblyTargetStreamer.h.

◆ emitImportName()

void llvm::WebAssemblyTargetWasmStreamer::emitImportName ( const MCSymbolWasm Sym,
StringRef  ImportName 
)
inlineoverridevirtual

.import_name

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 94 of file WebAssemblyTargetStreamer.h.

◆ emitIndIdx()

void WebAssemblyTargetWasmStreamer::emitIndIdx ( const MCExpr Value)
overridevirtual

.indidx

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 143 of file WebAssemblyTargetStreamer.cpp.

References llvm_unreachable.

◆ emitLocal()

void WebAssemblyTargetWasmStreamer::emitLocal ( ArrayRef< wasm::ValType Types)
overridevirtual

◆ emitTableType()

void llvm::WebAssemblyTargetWasmStreamer::emitTableType ( const MCSymbolWasm Sym)
inlineoverridevirtual

.tabletype

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 90 of file WebAssemblyTargetStreamer.h.

◆ emitTagType()

void llvm::WebAssemblyTargetWasmStreamer::emitTagType ( const MCSymbolWasm Sym)
inlineoverridevirtual

.tagtype

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 91 of file WebAssemblyTargetStreamer.h.


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