[WebAssembly] Support for register stackifying with load and store instructions.
[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 WebAssemblyGenFastISel.inc -gen-fast-isel)
6 tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
7 tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
8 tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
9 tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
10 add_public_tablegen_target(WebAssemblyCommonTableGen)
11
12 add_llvm_target(WebAssemblyCodeGen
13   Relooper.cpp
14   WebAssemblyAsmPrinter.cpp
15   WebAssemblyCFGStackify.cpp
16   WebAssemblyFastISel.cpp
17   WebAssemblyFrameLowering.cpp
18   WebAssemblyISelDAGToDAG.cpp
19   WebAssemblyISelLowering.cpp
20   WebAssemblyInstrInfo.cpp
21   WebAssemblyMachineFunctionInfo.cpp
22   WebAssemblyMCInstLower.cpp
23   WebAssemblyOptimizeReturned.cpp
24   WebAssemblyPeephole.cpp
25   WebAssemblyRegisterInfo.cpp
26   WebAssemblyRegColoring.cpp
27   WebAssemblyRegNumbering.cpp
28   WebAssemblyRegStackify.cpp
29   WebAssemblySelectionDAGInfo.cpp
30   WebAssemblyStoreResults.cpp
31   WebAssemblySubtarget.cpp
32   WebAssemblyTargetMachine.cpp
33   WebAssemblyTargetTransformInfo.cpp
34 )
35
36 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
37
38 add_subdirectory(InstPrinter)
39 add_subdirectory(TargetInfo)
40 add_subdirectory(MCTargetDesc)