blob: b4fcfa4fed5da7bfdf9b958d4ef3ee836d2f9b57 [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
Dan Gohman1cf96c02015-12-09 16:23:59 +000013 WebAssemblyArgumentMove.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 Gohmand7a2eea2016-03-09 02:01:14 +000017 WebAssemblyFixIrreducibleControlFlow.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000018 WebAssemblyFrameLowering.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000019 WebAssemblyISelDAGToDAG.cpp
20 WebAssemblyISelLowering.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000021 WebAssemblyInstrInfo.cpp
Dan Gohmanf0b165a2015-12-05 03:03:35 +000022 WebAssemblyLowerBrUnless.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000023 WebAssemblyMachineFunctionInfo.cpp
Dan Gohmane9361d52015-11-05 19:28:16 +000024 WebAssemblyMCInstLower.cpp
Dan Gohman81719f82015-11-25 16:55:01 +000025 WebAssemblyOptimizeReturned.cpp
26 WebAssemblyPeephole.cpp
Derek Schuff9769deb2015-12-11 23:49:46 +000027 WebAssemblyPEI.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000028 WebAssemblyRegisterInfo.cpp
Dan Gohman1462faa2015-11-16 16:18:28 +000029 WebAssemblyRegColoring.cpp
Dan Gohmancf4748f2015-11-12 17:04:33 +000030 WebAssemblyRegNumbering.cpp
Dan Gohman1462faa2015-11-16 16:18:28 +000031 WebAssemblyRegStackify.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000032 WebAssemblySelectionDAGInfo.cpp
Dan Gohmanbb372242016-01-26 03:39:31 +000033 WebAssemblySetP2AlignOperands.cpp
Dan Gohman81719f82015-11-25 16:55:01 +000034 WebAssemblyStoreResults.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000035 WebAssemblySubtarget.cpp
36 WebAssemblyTargetMachine.cpp
Dan Gohman5bf22fc2015-12-17 04:55:44 +000037 WebAssemblyTargetObjectFile.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000038 WebAssemblyTargetTransformInfo.cpp
39)
40
41add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
42
Dan Gohman1a427282016-01-12 03:32:29 +000043add_subdirectory(Disassembler)
Dan Gohman10e730a2015-06-29 23:51:55 +000044add_subdirectory(InstPrinter)
Dan Gohman10e730a2015-06-29 23:51:55 +000045add_subdirectory(MCTargetDesc)
Dan Gohman35e4a282016-01-08 01:06:00 +000046add_subdirectory(TargetInfo)