blob: 25de9eee083153fbe3411097a26c395371d0d7b5 [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
2
3tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
JF Bastien5ca0bac2015-07-10 18:23:10 +00004tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
Dan Gohman10e730a2015-06-29 23:51:55 +00005tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
6add_public_tablegen_target(WebAssemblyCommonTableGen)
7
8add_llvm_target(WebAssemblyCodeGen
9 WebAssemblyFrameLowering.cpp
10 WebAssemblyInstrInfo.cpp
11 WebAssemblyISelDAGToDAG.cpp
12 WebAssemblyISelLowering.cpp
13 WebAssemblyMachineFunctionInfo.cpp
14 WebAssemblyRegisterInfo.cpp
15 WebAssemblySelectionDAGInfo.cpp
16 WebAssemblySubtarget.cpp
17 WebAssemblyTargetMachine.cpp
18 WebAssemblyTargetTransformInfo.cpp
19)
20
21add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
22
23add_subdirectory(InstPrinter)
24add_subdirectory(TargetInfo)
25add_subdirectory(MCTargetDesc)