LLVM  3.7.0
WebAssemblyTargetInfo.cpp
Go to the documentation of this file.
1 //===-- WebAssemblyTargetInfo.cpp - WebAssembly Target Implementation -----===//
2 //
3 // The LLVM Compiler Infrastructure
4 //
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
7 //
8 //===----------------------------------------------------------------------===//
9 ///
10 /// \file
11 /// \brief This file registers the WebAssembly target.
12 ///
13 //===----------------------------------------------------------------------===//
14 
16 #include "llvm/ADT/Triple.h"
18 using namespace llvm;
19 
20 #define DEBUG_TYPE "wasm-target-info"
21 
24 
27  "WebAssembly 32-bit");
29  "WebAssembly 64-bit");
30 }
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...
Target TheWebAssemblyTarget64
void LLVMInitializeWebAssemblyTargetInfo()
Target TheWebAssemblyTarget32
This file provides WebAssembly-specific target descriptions.
static GCMetadataPrinterRegistry::Add< ErlangGCPrinter > X("erlang","erlang-compatible garbage collector")
Target - Wrapper for Target specific information.
static GCMetadataPrinterRegistry::Add< OcamlGCMetadataPrinter > Y("ocaml","ocaml 3.10-compatible collector")