LLVM
8.0.1
|
WebAssembly-specific streamer interface, to implement support WebAssembly-specific assembly directives. More...
#include "Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h"
Public Member Functions | |
WebAssemblyTargetStreamer (MCStreamer &S) | |
virtual void | emitLocal (ArrayRef< wasm::ValType > Types)=0 |
.local More... | |
virtual void | emitEndFunc ()=0 |
.endfunc More... | |
virtual void | emitFunctionType (const MCSymbolWasm *Sym)=0 |
.functype More... | |
virtual void | emitIndIdx (const MCExpr *Value)=0 |
.indidx More... | |
virtual void | emitGlobalType (const MCSymbolWasm *Sym)=0 |
.globaltype More... | |
virtual void | emitEventType (const MCSymbolWasm *Sym)=0 |
.eventtype More... | |
virtual void | emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule)=0 |
.import_module More... | |
virtual void | emitImportName (const MCSymbolWasm *Sym, StringRef ImportName)=0 |
.import_name More... | |
Public Member Functions inherited from llvm::MCTargetStreamer | |
MCTargetStreamer (MCStreamer &S) | |
virtual | ~MCTargetStreamer () |
MCStreamer & | getStreamer () |
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 () |
Protected Member Functions | |
void | emitValueType (wasm::ValType Type) |
Additional Inherited Members | |
Protected Attributes inherited from llvm::MCTargetStreamer | |
MCStreamer & | Streamer |
WebAssembly-specific streamer interface, to implement support WebAssembly-specific assembly directives.
Definition at line 30 of file WebAssemblyTargetStreamer.h.
|
explicit |
Definition at line 28 of file WebAssemblyTargetStreamer.cpp.
|
pure virtual |
.endfunc
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
|
pure virtual |
.eventtype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitEndOfAsmFile().
|
pure virtual |
.functype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitEndOfAsmFile(), and llvm::WebAssemblyAsmPrinter::EmitFunctionBodyStart().
|
pure virtual |
.globaltype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitEndOfAsmFile().
|
pure virtual |
.import_module
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitEndOfAsmFile().
|
pure virtual |
.import_name
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitEndOfAsmFile().
.indidx
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitFunctionBodyStart(), and llvm::WebAssemblyTargetWasmStreamer::emitFunctionType().
|
pure virtual |
.local
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetAsmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::EmitFunctionBodyStart().
|
protected |
Definition at line 31 of file WebAssemblyTargetStreamer.cpp.
References llvm::MCStreamer::EmitIntValue(), and llvm::MCTargetStreamer::Streamer.
Referenced by llvm::WebAssemblyTargetWasmStreamer::emitLocal().