LLVM
8.0.1
|
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 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 () |
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 () |
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 39 of file WebAssemblyTargetStreamer.cpp.
|
overridevirtual |
.endfunc
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 147 of file WebAssemblyTargetStreamer.cpp.
References llvm_unreachable.
|
inlineoverridevirtual |
.eventtype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 87 of file WebAssemblyTargetStreamer.h.
|
inlineoverridevirtual |
.functype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 84 of file WebAssemblyTargetStreamer.h.
References llvm::WebAssemblyTargetStreamer::emitIndIdx().
|
inlineoverridevirtual |
.globaltype
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 86 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 151 of file WebAssemblyTargetStreamer.cpp.
References llvm_unreachable.
|
overridevirtual |
.local
Implements llvm::WebAssemblyTargetStreamer.
Definition at line 131 of file WebAssemblyTargetStreamer.cpp.
References llvm::SmallVectorTemplateCommon< T >::back(), llvm::MCStreamer::EmitULEB128IntValue(), llvm::WebAssemblyTargetStreamer::emitValueType(), llvm::SmallVectorBase::empty(), llvm::SmallVectorTemplateBase< T >::push_back(), llvm::SmallVectorBase::size(), and llvm::MCTargetStreamer::Streamer.