[WebAssembly] Switch to MC for instruction printing.
[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   WebAssemblyRegNumbering.cpp
25   WebAssemblySelectionDAGInfo.cpp
26   WebAssemblySubtarget.cpp
27   WebAssemblyTargetMachine.cpp
28   WebAssemblyTargetTransformInfo.cpp
29 )
30
31 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
32
33 add_subdirectory(InstPrinter)
34 add_subdirectory(TargetInfo)
35 add_subdirectory(MCTargetDesc)