blob: 47fa9c631baf5ad1575423cfc0fc996d2fae22fb [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
2
JF Bastienb9073fb2015-07-22 21:28:15 +00003tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
4tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
Dan Gohman7b634842015-08-24 18:44:37 +00005tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel)
JF Bastienb9073fb2015-07-22 21:28:15 +00006tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
Dan Gohman10e730a2015-06-29 23:51:55 +00007tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
JF Bastien5ca0bac2015-07-10 18:23:10 +00008tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
Dan Gohman10e730a2015-06-29 23:51:55 +00009tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
10add_public_tablegen_target(WebAssemblyCommonTableGen)
11
12add_llvm_target(WebAssemblyCodeGen
JF Bastiend4698e12015-08-15 01:23:28 +000013 Relooper.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000014 WebAssemblyAsmPrinter.cpp
Dan Gohman950a13c2015-09-16 16:51:30 +000015 WebAssemblyCFGStackify.cpp
Dan Gohman7b634842015-08-24 18:44:37 +000016 WebAssemblyFastISel.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000017 WebAssemblyFrameLowering.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000018 WebAssemblyISelDAGToDAG.cpp
19 WebAssemblyISelLowering.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000020 WebAssemblyInstrInfo.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000021 WebAssemblyMachineFunctionInfo.cpp
Dan Gohmane9361d52015-11-05 19:28:16 +000022 WebAssemblyMCInstLower.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000023 WebAssemblyRegisterInfo.cpp
Dan Gohmancf4748f2015-11-12 17:04:33 +000024 WebAssemblyRegNumbering.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000025 WebAssemblySelectionDAGInfo.cpp
26 WebAssemblySubtarget.cpp
27 WebAssemblyTargetMachine.cpp
28 WebAssemblyTargetTransformInfo.cpp
29)
30
31add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
32
33add_subdirectory(InstPrinter)
34add_subdirectory(TargetInfo)
35add_subdirectory(MCTargetDesc)