[WebAssembly] Prototype passes for register coloring and register stackifying.
[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   WebAssemblyRegisterInfo.cpp
24   WebAssemblyRegColoring.cpp
25   WebAssemblyRegNumbering.cpp
26   WebAssemblyRegStackify.cpp
27   WebAssemblySelectionDAGInfo.cpp
28   WebAssemblySubtarget.cpp
29   WebAssemblyTargetMachine.cpp
30   WebAssemblyTargetTransformInfo.cpp
31 )
32
33 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
34
35 add_subdirectory(InstPrinter)
36 add_subdirectory(TargetInfo)
37 add_subdirectory(MCTargetDesc)