LLVM  13.0.0git
Macros | Functions | Variables
WebAssemblyAsmPrinter.cpp File Reference
#include "WebAssemblyAsmPrinter.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "MCTargetDesc/WebAssemblyTargetStreamer.h"
#include "TargetInfo/WebAssemblyTargetInfo.h"
#include "Utils/WebAssemblyTypeUtilities.h"
#include "Utils/WebAssemblyUtilities.h"
#include "WebAssembly.h"
#include "WebAssemblyMCInstLower.h"
#include "WebAssemblyMachineFunctionInfo.h"
#include "WebAssemblyRegisterInfo.h"
#include "WebAssemblyTargetMachine.h"
#include "llvm/ADT/SmallSet.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/BinaryFormat/Wasm.h"
#include "llvm/CodeGen/Analysis.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/CodeGen/MachineModuleInfoImpls.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DebugInfoMetadata.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/IR/Metadata.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSectionWasm.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for WebAssemblyAsmPrinter.cpp:

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)
 
LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyAsmPrinter ()
 

Variables

cl::opt< bool > WasmKeepRegisters
 
cl::opt< bool > EnableEmException
 
cl::opt< bool > EnableEmSjLj
 

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 50 of file WebAssemblyAsmPrinter.cpp.

Function Documentation

◆ getEmscriptenInvokeSymbolName()

static std::string getEmscriptenInvokeSymbolName ( wasm::WasmSignature Sig)
static

◆ getInvokeSig()

static char getInvokeSig ( wasm::ValType  VT)
static

◆ isEmscriptenInvokeName()

static bool isEmscriptenInvokeName ( StringRef  Name)
static

◆ LLVMInitializeWebAssemblyAsmPrinter()

LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyAsmPrinter ( )

Variable Documentation

◆ EnableEmException

cl::opt<bool> EnableEmException

◆ EnableEmSjLj

cl::opt<bool> EnableEmSjLj

◆ WasmKeepRegisters

cl::opt<bool> WasmKeepRegisters