blob: 66f585ae7caf8760c09064f61f4662575b7d097c [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)
5tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
Dan Gohman10e730a2015-06-29 23:51:55 +00006tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
JF Bastien5ca0bac2015-07-10 18:23:10 +00007tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
Dan Gohman10e730a2015-06-29 23:51:55 +00008tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
9add_public_tablegen_target(WebAssemblyCommonTableGen)
10
11add_llvm_target(WebAssemblyCodeGen
JF Bastiend4698e12015-08-15 01:23:28 +000012 Relooper.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000013 WebAssemblyAsmPrinter.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000014 WebAssemblyFrameLowering.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000015 WebAssemblyISelDAGToDAG.cpp
16 WebAssemblyISelLowering.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000017 WebAssemblyInstrInfo.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000018 WebAssemblyMachineFunctionInfo.cpp
19 WebAssemblyRegisterInfo.cpp
20 WebAssemblySelectionDAGInfo.cpp
21 WebAssemblySubtarget.cpp
22 WebAssemblyTargetMachine.cpp
23 WebAssemblyTargetTransformInfo.cpp
24)
25
26add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
27
28add_subdirectory(InstPrinter)
29add_subdirectory(TargetInfo)
30add_subdirectory(MCTargetDesc)