LLVM 20.0.0git
|
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 | |
virtual void | emitFunctionType (const MCSymbolWasm *Sym)=0 |
.functype | |
virtual void | emitIndIdx (const MCExpr *Value)=0 |
.indidx | |
virtual void | emitGlobalType (const MCSymbolWasm *Sym)=0 |
.globaltype | |
virtual void | emitTableType (const MCSymbolWasm *Sym)=0 |
.tabletype | |
virtual void | emitTagType (const MCSymbolWasm *Sym)=0 |
.tagtype | |
virtual void | emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule)=0 |
.import_module | |
virtual void | emitImportName (const MCSymbolWasm *Sym, StringRef ImportName)=0 |
.import_name | |
virtual void | emitExportName (const MCSymbolWasm *Sym, StringRef ExportName)=0 |
.export_name | |
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, 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, uint32_t SubSection, raw_ostream &OS) |
Update streamer for a new active section. | |
virtual void | emitValue (const MCExpr *Value) |
virtual void | emitRawBytes (StringRef Data) |
Emit the bytes in Data into the output. | |
virtual void | emitConstantPools () |
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 29 of file WebAssemblyTargetStreamer.h.
|
explicit |
Definition at line 27 of file WebAssemblyTargetStreamer.cpp.
|
pure virtual |
.export_name
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitDecls().
|
pure virtual |
.functype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitDecls(), and llvm::WebAssemblyAsmPrinter::emitFunctionBodyStart().
|
pure virtual |
.globaltype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitSymbolType().
|
pure virtual |
.import_module
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitDecls().
|
pure virtual |
.import_name
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitDecls().
.indidx
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitFunctionBodyStart().
|
pure virtual |
.local
Implemented in llvm::WebAssemblyTargetAsmStreamer, llvm::WebAssemblyTargetWasmStreamer, and llvm::WebAssemblyTargetNullStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitFunctionBodyStart().
|
pure virtual |
.tabletype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitSymbolType().
|
pure virtual |
.tagtype
Implemented in llvm::WebAssemblyTargetNullStreamer, llvm::WebAssemblyTargetAsmStreamer, and llvm::WebAssemblyTargetWasmStreamer.
Referenced by llvm::WebAssemblyAsmPrinter::emitSymbolType().
|
protected |
Definition at line 30 of file WebAssemblyTargetStreamer.cpp.
References llvm::MCStreamer::emitIntValue(), and llvm::MCTargetStreamer::Streamer.
Referenced by llvm::WebAssemblyTargetWasmStreamer::emitLocal().