LLVM 20.0.0git
|
This part is for ascii assembly output. More...
#include "Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h"
Public Member Functions | |
WebAssemblyTargetAsmStreamer (MCStreamer &S, formatted_raw_ostream &OS) | |
void | emitLocal (ArrayRef< wasm::ValType > Types) override |
.local | |
void | emitFunctionType (const MCSymbolWasm *Sym) override |
.functype | |
void | emitIndIdx (const MCExpr *Value) override |
.indidx | |
void | emitGlobalType (const MCSymbolWasm *Sym) override |
.globaltype | |
void | emitTableType (const MCSymbolWasm *Sym) override |
.tabletype | |
void | emitTagType (const MCSymbolWasm *Sym) override |
.tagtype | |
void | emitImportModule (const MCSymbolWasm *Sym, StringRef ImportModule) override |
.import_module | |
void | emitImportName (const MCSymbolWasm *Sym, StringRef ImportName) override |
.import_name | |
void | emitExportName (const MCSymbolWasm *Sym, StringRef ExportName) override |
.export_name | |
Public Member Functions inherited from llvm::WebAssemblyTargetStreamer | |
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 () |
Additional Inherited Members | |
Protected Member Functions inherited from llvm::WebAssemblyTargetStreamer | |
void | emitValueType (wasm::ValType Type) |
Protected Attributes inherited from llvm::MCTargetStreamer | |
MCStreamer & | Streamer |
This part is for ascii assembly output.
Definition at line 60 of file WebAssemblyTargetStreamer.h.
WebAssemblyTargetAsmStreamer::WebAssemblyTargetAsmStreamer | ( | MCStreamer & | S, |
formatted_raw_ostream & | OS | ||
) |
Definition at line 31 of file WebAssemblyTargetStreamer.cpp.
|
overridevirtual |
.export_name
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 108 of file WebAssemblyTargetStreamer.cpp.
References Sym.
|
overridevirtual |
.functype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 58 of file WebAssemblyTargetStreamer.cpp.
References assert(), llvm::WebAssembly::signatureToString(), and Sym.
|
overridevirtual |
.globaltype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 65 of file WebAssemblyTargetStreamer.cpp.
References assert(), Sym, and llvm::WebAssembly::typeToString().
|
overridevirtual |
.import_module
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 96 of file WebAssemblyTargetStreamer.cpp.
References Sym.
|
overridevirtual |
.import_name
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 102 of file WebAssemblyTargetStreamer.cpp.
References Sym.
.indidx
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 114 of file WebAssemblyTargetStreamer.cpp.
|
overridevirtual |
.local
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 51 of file WebAssemblyTargetStreamer.cpp.
References printTypes().
|
overridevirtual |
.tabletype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 75 of file WebAssemblyTargetStreamer.cpp.
References assert(), Sym, llvm::WebAssembly::typeToString(), and llvm::wasm::WASM_LIMITS_FLAG_HAS_MAX.
|
overridevirtual |
.tagtype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 89 of file WebAssemblyTargetStreamer.cpp.
References assert(), Sym, and llvm::WebAssembly::typeListToString().