WebAssembly: basic instructions todo, and basic register info.
[oota-llvm.git] / lib / Target / WebAssembly / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
2
3 tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
4 tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
5 tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
6 add_public_tablegen_target(WebAssemblyCommonTableGen)
7
8 add_llvm_target(WebAssemblyCodeGen
9   WebAssemblyFrameLowering.cpp
10   WebAssemblyInstrInfo.cpp
11   WebAssemblyISelDAGToDAG.cpp
12   WebAssemblyISelLowering.cpp
13   WebAssemblyMachineFunctionInfo.cpp
14   WebAssemblyRegisterInfo.cpp
15   WebAssemblySelectionDAGInfo.cpp
16   WebAssemblySubtarget.cpp
17   WebAssemblyTargetMachine.cpp
18   WebAssemblyTargetTransformInfo.cpp
19 )
20
21 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
22
23 add_subdirectory(InstPrinter)
24 add_subdirectory(TargetInfo)
25 add_subdirectory(MCTargetDesc)