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