LLVM  8.0.1
Macros | Functions | Variables
WebAssemblyTargetMachine.cpp File Reference

This file defines the WebAssembly-specific subclass of TargetMachine. More...

#include "WebAssemblyTargetMachine.h"
#include "MCTargetDesc/WebAssemblyMCTargetDesc.h"
#include "WebAssembly.h"
#include "WebAssemblyTargetObjectFile.h"
#include "WebAssemblyTargetTransformInfo.h"
#include "llvm/CodeGen/MachineFunctionPass.h"
#include "llvm/CodeGen/Passes.h"
#include "llvm/CodeGen/RegAllocRegistry.h"
#include "llvm/CodeGen/TargetPassConfig.h"
#include "llvm/IR/Function.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetOptions.h"
#include "llvm/Transforms/Scalar.h"
#include "llvm/Transforms/Utils.h"
Include dependency graph for WebAssemblyTargetMachine.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "wasm"
 

Functions

void LLVMInitializeWebAssemblyTarget ()
 
static Reloc::Model getEffectiveRelocModel (Optional< Reloc::Model > RM)
 

Variables

static cl::opt< boolEnableEmException ("enable-emscripten-cxx-exceptions", cl::desc("WebAssembly Emscripten-style exception handling"), cl::init(false))
 
static cl::opt< boolEnableEmSjLj ("enable-emscripten-sjlj", cl::desc("WebAssembly Emscripten-style setjmp/longjmp handling"), cl::init(false))
 

Detailed Description

This file defines the WebAssembly-specific subclass of TargetMachine.

Definition in file WebAssemblyTargetMachine.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "wasm"

Definition at line 31 of file WebAssemblyTargetMachine.cpp.

Function Documentation

◆ getEffectiveRelocModel()

static Reloc::Model getEffectiveRelocModel ( Optional< Reloc::Model RM)
static

◆ LLVMInitializeWebAssemblyTarget()

void LLVMInitializeWebAssemblyTarget ( )

Variable Documentation

◆ EnableEmException

cl::opt<bool> EnableEmException("enable-emscripten-cxx-exceptions", cl::desc("WebAssembly Emscripten-style exception handling"), cl::init(false))
static

◆ EnableEmSjLj

cl::opt<bool> EnableEmSjLj("enable-emscripten-sjlj", cl::desc("WebAssembly Emscripten-style setjmp/longjmp handling"), cl::init(false))
static