LLVM 22.0.0git
WebAssemblyAsmPrinter.cpp File Reference

This file contains a printer that converts from our internal representation of machine-dependent LLVM code to the WebAssembly assembly language. More...

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "asm-printer"

Functions

static bool isEmscriptenInvokeName (StringRef Name)
static char getInvokeSig (wasm::ValType VT)
static std::string getEmscriptenInvokeSymbolName (wasm::WasmSignature *Sig)
 INITIALIZE_PASS (WebAssemblyAsmPrinter, "webassembly-asm-printer", "WebAssembly Assmebly Printer", false, false) extern "C" LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyAsmPrinter()

Variables

cl::opt< boolWasmKeepRegisters

Detailed Description

This file contains a printer that converts from our internal representation of machine-dependent LLVM code to the WebAssembly assembly language.

Definition in file WebAssemblyAsmPrinter.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "asm-printer"

Definition at line 56 of file WebAssemblyAsmPrinter.cpp.

Function Documentation

◆ getEmscriptenInvokeSymbolName()

◆ getInvokeSig()

◆ INITIALIZE_PASS()

INITIALIZE_PASS ( WebAssemblyAsmPrinter ,
"webassembly-asm-printer" ,
"WebAssembly Assmebly Printer" ,
false ,
false  )

◆ isEmscriptenInvokeName()

bool isEmscriptenInvokeName ( StringRef Name)
static

Variable Documentation

◆ WasmKeepRegisters

cl::opt<bool> WasmKeepRegisters
extern