[WebAssembly] Add Relooper
[oota-llvm.git] / lib / Target / WebAssembly / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
2
3 tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
4 tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
5 tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
6 tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
7 tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
8 tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
9 add_public_tablegen_target(WebAssemblyCommonTableGen)
10
11 add_llvm_target(WebAssemblyCodeGen
12   Relooper.cpp
13   WebAssemblyAsmPrinter.cpp
14   WebAssemblyFrameLowering.cpp
15   WebAssemblyISelDAGToDAG.cpp
16   WebAssemblyISelLowering.cpp
17   WebAssemblyInstrInfo.cpp
18   WebAssemblyMachineFunctionInfo.cpp
19   WebAssemblyRegisterInfo.cpp
20   WebAssemblySelectionDAGInfo.cpp
21   WebAssemblySubtarget.cpp
22   WebAssemblyTargetMachine.cpp
23   WebAssemblyTargetTransformInfo.cpp
24 )
25
26 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
27
28 add_subdirectory(InstPrinter)
29 add_subdirectory(TargetInfo)
30 add_subdirectory(MCTargetDesc)