LLVM: lib/Target/WebAssembly/TargetInfo/WebAssemblyTargetInfo.cpp Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
17using namespace llvm;
18
19#define DEBUG_TYPE "wasm-target-info"
20
22 static Target TheWebAssemblyTarget32;
23 return TheWebAssemblyTarget32;
24}
26 static Target TheWebAssemblyTarget64;
27 return TheWebAssemblyTarget64;
28}
29
33 "WebAssembly 32-bit", "WebAssembly");
35 "WebAssembly 64-bit", "WebAssembly");
36}
37
38
39
40#define GET_INSTRMAP_INFO 1
41#define GET_INSTRINFO_ENUM 1
42#define GET_INSTRINFO_MC_HELPER_DECLS
43#include "WebAssemblyGenInstrInfo.inc"
#define LLVM_EXTERNAL_VISIBILITY
static TableGen::Emitter::Opt Y("gen-skeleton-entry", EmitSkeleton, "Generate example skeleton entry")
static TableGen::Emitter::OptClass< SkeletonEmitter > X("gen-skeleton-class", "Generate example skeleton class")
LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeWebAssemblyTargetInfo()
Definition WebAssemblyTargetInfo.cpp:31
This file registers the WebAssembly target.
Target - Wrapper for Target specific information.
This is an optimization pass for GlobalISel generic memory operations.
Target & getTheWebAssemblyTarget32()
Definition WebAssemblyTargetInfo.cpp:21
Target & getTheWebAssemblyTarget64()
Definition WebAssemblyTargetInfo.cpp:25
RegisterTarget - Helper template for registering a target, for use in the target's initialization fun...