LLVM  13.0.0git
Functions | Variables
WebAssemblyMCInstLower.cpp File Reference
#include "WebAssemblyMCInstLower.h"
#include "TargetInfo/WebAssemblyTargetInfo.h"
#include "Utils/WebAssemblyTypeUtilities.h"
#include "Utils/WebAssemblyUtilities.h"
#include "WebAssemblyAsmPrinter.h"
#include "WebAssemblyMachineFunctionInfo.h"
#include "WebAssemblyRuntimeLibcallSignatures.h"
#include "llvm/CodeGen/AsmPrinter.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/IR/Constants.h"
#include "llvm/MC/MCAsmInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCSymbolWasm.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for WebAssemblyMCInstLower.cpp:

Go to the source code of this file.

Functions

static void removeRegisterOperands (const MachineInstr *MI, MCInst &OutMI)
 
static wasm::ValType getType (const TargetRegisterClass *RC)
 
static void getFunctionReturns (const MachineInstr *MI, SmallVectorImpl< wasm::ValType > &Returns)
 

Variables

cl::opt< bool > WasmKeepRegisters ("wasm-keep-registers", cl::Hidden, cl::desc("WebAssembly: output stack registers in" " instruction output for test purposes only."), cl::init(false))
 
cl::opt< bool > EnableEmException
 
cl::opt< bool > EnableEmSjLj
 

Detailed Description

This file contains code to lower WebAssembly MachineInstrs to their corresponding MCInst records.

Definition in file WebAssemblyMCInstLower.cpp.

Function Documentation

◆ getFunctionReturns()

static void getFunctionReturns ( const MachineInstr MI,
SmallVectorImpl< wasm::ValType > &  Returns 
)
static

◆ getType()

static wasm::ValType getType ( const TargetRegisterClass RC)
static

◆ removeRegisterOperands()

static void removeRegisterOperands ( const MachineInstr MI,
MCInst OutMI 
)
static

Variable Documentation

◆ EnableEmException

cl::opt<bool> EnableEmException

◆ EnableEmSjLj

cl::opt<bool> EnableEmSjLj

◆ WasmKeepRegisters

cl::opt<bool> WasmKeepRegisters("wasm-keep-registers", cl::Hidden, cl::desc("WebAssembly: output stack registers in" " instruction output for test purposes only."), cl::init(false))