LLVM 20.0.0git
|
This part is for Wasm object output. More...
#include "Target/WebAssembly/MCTargetDesc/WebAssemblyTargetStreamer.h"
Public Member Functions | |
WebAssemblyTargetWasmStreamer (MCStreamer &S) | |
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 Wasm object output.
Definition at line 78 of file WebAssemblyTargetStreamer.h.
|
explicit |
Definition at line 35 of file WebAssemblyTargetStreamer.cpp.
|
inlineoverridevirtual |
.export_name
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 92 of file WebAssemblyTargetStreamer.h.
|
inlineoverridevirtual |
.functype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 83 of file WebAssemblyTargetStreamer.h.
|
inlineoverridevirtual |
.globaltype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 85 of file WebAssemblyTargetStreamer.h.
|
inlineoverridevirtual |
.import_module
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 88 of file WebAssemblyTargetStreamer.h.
|
inlineoverridevirtual |
.import_name
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 90 of file WebAssemblyTargetStreamer.h.
.indidx
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 134 of file WebAssemblyTargetStreamer.cpp.
References llvm_unreachable.
|
overridevirtual |
.local
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 118 of file WebAssemblyTargetStreamer.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::back(), llvm::MCStreamer::emitULEB128IntValue(), llvm::WebAssemblyTargetStreamer::emitValueType(), llvm::SmallVectorBase< Size_T >::empty(), llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::SmallVectorBase< Size_T >::size(), and llvm::MCTargetStreamer::Streamer.
|
inlineoverridevirtual |
.tabletype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 86 of file WebAssemblyTargetStreamer.h.
|
inlineoverridevirtual |
.tagtype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 87 of file WebAssemblyTargetStreamer.h.