blob: 44e536a28bd08a28341c992f36d9ff7d7da02124 [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
22 WebAssemblyRegisterInfo.cpp
23 WebAssemblySelectionDAGInfo.cpp
24 WebAssemblySubtarget.cpp
25 WebAssemblyTargetMachine.cpp
26 WebAssemblyTargetTransformInfo.cpp
27)
28
29add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
30
31add_subdirectory(InstPrinter)
32add_subdirectory(TargetInfo)
33add_subdirectory(MCTargetDesc)