LLVM  8.0.1
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 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 emitEventType (const MCSymbolWasm *Sym) override
 .eventtype More...
 
void emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule) override
 .import_module More...
 
void emitImportName (const MCSymbolWasm *Sym, StringRef ImportName) override
 .import_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, 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 emitRawBytes (StringRef Data)
 Emit the bytes in Data into the output. More...
 
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 58 of file WebAssemblyTargetStreamer.h.

Constructor & Destructor Documentation

◆ WebAssemblyTargetAsmStreamer()

WebAssemblyTargetAsmStreamer::WebAssemblyTargetAsmStreamer ( MCStreamer S,
formatted_raw_ostream OS 
)

Definition at line 35 of file WebAssemblyTargetStreamer.cpp.

Member Function Documentation

◆ emitEndFunc()

void WebAssemblyTargetAsmStreamer::emitEndFunc ( )
overridevirtual

◆ emitEventType()

void WebAssemblyTargetAsmStreamer::emitEventType ( const MCSymbolWasm Sym)
overridevirtual

◆ emitFunctionType()

void WebAssemblyTargetAsmStreamer::emitFunctionType ( const MCSymbolWasm Sym)
overridevirtual

◆ emitGlobalType()

void WebAssemblyTargetAsmStreamer::emitGlobalType ( const MCSymbolWasm Sym)
overridevirtual

◆ emitImportModule()

void WebAssemblyTargetAsmStreamer::emitImportModule ( const MCSymbolWasm Sym,
StringRef  ImportModule 
)
overridevirtual

.import_module

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 115 of file WebAssemblyTargetStreamer.cpp.

References llvm::MCSymbol::getName().

◆ emitImportName()

void WebAssemblyTargetAsmStreamer::emitImportName ( const MCSymbolWasm Sym,
StringRef  ImportName 
)
overridevirtual

.import_name

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 121 of file WebAssemblyTargetStreamer.cpp.

◆ emitIndIdx()

void WebAssemblyTargetAsmStreamer::emitIndIdx ( const MCExpr Value)
overridevirtual

.indidx

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 127 of file WebAssemblyTargetStreamer.cpp.

◆ emitLocal()

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

.local

Implements llvm::WebAssemblyTargetStreamer.

Definition at line 55 of file WebAssemblyTargetStreamer.cpp.

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


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