[WebAssembly] Convert a regular for loop to a range-based for loop.
[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   WebAssemblyArgumentMove.cpp
15   WebAssemblyAsmPrinter.cpp
16   WebAssemblyCFGStackify.cpp
17   WebAssemblyFastISel.cpp
18   WebAssemblyFrameLowering.cpp
19   WebAssemblyISelDAGToDAG.cpp
20   WebAssemblyISelLowering.cpp
21   WebAssemblyInstrInfo.cpp
22   WebAssemblyLowerBrUnless.cpp
23   WebAssemblyMachineFunctionInfo.cpp
24   WebAssemblyMCInstLower.cpp
25   WebAssemblyOptimizeReturned.cpp
26   WebAssemblyPeephole.cpp
27   WebAssemblyPEI.cpp
28   WebAssemblyRegisterInfo.cpp
29   WebAssemblyRegColoring.cpp
30   WebAssemblyRegNumbering.cpp
31   WebAssemblyRegStackify.cpp
32   WebAssemblySelectionDAGInfo.cpp
33   WebAssemblyStoreResults.cpp
34   WebAssemblySubtarget.cpp
35   WebAssemblyTargetMachine.cpp
36   WebAssemblyTargetObjectFile.cpp
37   WebAssemblyTargetTransformInfo.cpp
38 )
39
40 add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
41
42 add_subdirectory(InstPrinter)
43 add_subdirectory(TargetInfo)
44 add_subdirectory(MCTargetDesc)