blob: a1099c535b190a73832b577532a14174d60fecfc [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 Bastienb9073fb2015-07-22 21:28:15 +000012 WebAssemblyAsmPrinter.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000013 WebAssemblyFrameLowering.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000014 WebAssemblyISelDAGToDAG.cpp
15 WebAssemblyISelLowering.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000016 WebAssemblyInstrInfo.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000017 WebAssemblyMachineFunctionInfo.cpp
18 WebAssemblyRegisterInfo.cpp
19 WebAssemblySelectionDAGInfo.cpp
20 WebAssemblySubtarget.cpp
21 WebAssemblyTargetMachine.cpp
22 WebAssemblyTargetTransformInfo.cpp
23)
24
25add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
26
27add_subdirectory(InstPrinter)
28add_subdirectory(TargetInfo)
29add_subdirectory(MCTargetDesc)