16 #ifndef LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYTARGETSTREAMER_H
17 #define LLVM_LIB_TARGET_WEBASSEMBLY_MCTARGETDESC_WEBASSEMBLYTARGETSTREAMER_H
void emitLocal(ArrayRef< MVT > Types) override
.local
void emitIndirectFunctionType(MCSymbol *Symbol, SmallVectorImpl< MVT > &Params, SmallVectorImpl< MVT > &Results) override
.functype
MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...
Target specific streamer interface.
virtual void emitGlobalImport(StringRef name)=0
.import_global
Function Alias Analysis Results
void emitGlobalImport(StringRef name) override
.import_global
void emitLocal(ArrayRef< MVT > Types) override
.local
virtual void emitGlobal(ArrayRef< wasm::Global > Globals)=0
.globalvar
void emitParam(MCSymbol *Symbol, ArrayRef< MVT > Types) override
.param
virtual void emitStackPointer(uint32_t Index)=0
.stack_pointer
void emitIndirectFunctionType(MCSymbol *Symbol, SmallVectorImpl< MVT > &Params, SmallVectorImpl< MVT > &Results) override
.functype
This class consists of common code factored out of the SmallVector class to reduce code duplication b...
Base class for the full range of assembler expressions which are needed for parsing.
void emitGlobal(ArrayRef< wasm::Global > Globals) override
.globalvar
void emitIndIdx(const MCExpr *Value) override
.indidx
void emitGlobalImport(StringRef name) override
.import_global
WebAssemblyTargetELFStreamer(MCStreamer &S)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory)...
virtual void emitEndFunc()=0
.endfunc
void emitGlobal(ArrayRef< wasm::Global > Globals) override
.globalvar
WebAssembly-specific streamer interface, to implement support WebAssembly-specific assembly directive...
void emitGlobal(ArrayRef< wasm::Global > Globals) override
.globalvar
void emitValueType(wasm::ValType Type)
Streaming machine code generation interface.
virtual void emitResult(MCSymbol *Symbol, ArrayRef< MVT > Types)=0
.result
The instances of the Type class are immutable: once they are created, they are never changed...
void emitIndIdx(const MCExpr *Value) override
.indidx
void emitIndIdx(const MCExpr *Value) override
.indidx
This part is for ELF object output.
void emitStackPointer(uint32_t Index) override
.stack_pointer
void emitResult(MCSymbol *Symbol, ArrayRef< MVT > Types) override
.result
void emitEndFunc() override
.endfunc
This part is for ascii assembly output.
WebAssemblyTargetAsmStreamer(MCStreamer &S, formatted_raw_ostream &OS)
void emitEndFunc() override
.endfunc
virtual void emitIndirectFunctionType(MCSymbol *Symbol, SmallVectorImpl< MVT > &Params, SmallVectorImpl< MVT > &Results)=0
.functype
void emitStackPointer(uint32_t Index) override
.stack_pointer
void emitParam(MCSymbol *Symbol, ArrayRef< MVT > Types) override
.param
void emitIndirectFunctionType(MCSymbol *Symbol, SmallVectorImpl< MVT > &Params, SmallVectorImpl< MVT > &Results) override
.functype
This part is for Wasm object output.
WebAssemblyTargetStreamer(MCStreamer &S)
void emitParam(MCSymbol *Symbol, ArrayRef< MVT > Types) override
.param
virtual void emitParam(MCSymbol *Symbol, ArrayRef< MVT > Types)=0
.param
void emitEndFunc() override
.endfunc
void emitLocal(ArrayRef< MVT > Types) override
.local
void emitGlobalImport(StringRef name) override
.import_global
void emitResult(MCSymbol *Symbol, ArrayRef< MVT > Types) override
.result
LLVM Value Representation.
void emitResult(MCSymbol *Symbol, ArrayRef< MVT > Types) override
.result
virtual void emitLocal(ArrayRef< MVT > Types)=0
.local
void emitStackPointer(uint32_t Index) override
.stack_pointer
StringRef - Represent a constant reference to a string, i.e.
WebAssemblyTargetWasmStreamer(MCStreamer &S)
virtual void emitIndIdx(const MCExpr *Value)=0
.indidx