blob: 41b7694b97fa5b38777db9fe8603674fb6486b7b [file] [log] [blame]
Dan Gohman10e730a2015-06-29 23:51:55 +00001set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
2
Nico Weber1cbd0962018-04-04 12:37:44 +00003tablegen(LLVM WebAssemblyGenAsmMatcher.inc -gen-asm-matcher)
JF Bastienb9073fb2015-07-22 21:28:15 +00004tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
5tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
Sam Clegg16c16822018-05-10 22:16:44 +00006tablegen(LLVM WebAssemblyGenDisassemblerTables.inc -gen-disassembler)
Dan Gohman7b634842015-08-24 18:44:37 +00007tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel)
JF Bastienb9073fb2015-07-22 21:28:15 +00008tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
Dan Gohman10e730a2015-06-29 23:51:55 +00009tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
JF Bastien5ca0bac2015-07-10 18:23:10 +000010tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
Dan Gohman10e730a2015-06-29 23:51:55 +000011tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
Nico Weber1cbd0962018-04-04 12:37:44 +000012
Dan Gohman10e730a2015-06-29 23:51:55 +000013add_public_tablegen_target(WebAssemblyCommonTableGen)
14
15add_llvm_target(WebAssemblyCodeGen
Dan Gohman1cf96c02015-12-09 16:23:59 +000016 WebAssemblyArgumentMove.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000017 WebAssemblyAsmPrinter.cpp
Derek Schuff6f697832016-10-21 16:38:07 +000018 WebAssemblyCallIndirectFixup.cpp
Dan Gohman950a13c2015-09-16 16:51:30 +000019 WebAssemblyCFGStackify.cpp
Dan Gohmanf52ee172017-02-27 22:38:58 +000020 WebAssemblyCFGSort.cpp
Dan Gohman4fc4e422016-10-24 19:49:43 +000021 WebAssemblyExplicitLocals.cpp
Dan Gohman7b634842015-08-24 18:44:37 +000022 WebAssemblyFastISel.cpp
Dan Gohmand7a2eea2016-03-09 02:01:14 +000023 WebAssemblyFixIrreducibleControlFlow.cpp
Dan Gohman1b637452017-01-07 00:34:54 +000024 WebAssemblyFixFunctionBitcasts.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000025 WebAssemblyFrameLowering.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000026 WebAssemblyISelDAGToDAG.cpp
27 WebAssemblyISelLowering.cpp
JF Bastienb9073fb2015-07-22 21:28:15 +000028 WebAssemblyInstrInfo.cpp
Dan Gohmanf0b165a2015-12-05 03:03:35 +000029 WebAssemblyLowerBrUnless.cpp
Derek Schuffccdceda2016-08-18 15:27:25 +000030 WebAssemblyLowerEmscriptenEHSjLj.cpp
Sam Cleggbafe6902017-12-15 00:17:10 +000031 WebAssemblyLowerGlobalDtors.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000032 WebAssemblyMachineFunctionInfo.cpp
Dan Gohmane9361d52015-11-05 19:28:16 +000033 WebAssemblyMCInstLower.cpp
Dan Gohman0cfb5f82016-05-10 04:24:02 +000034 WebAssemblyOptimizeLiveIntervals.cpp
Dan Gohman81719f82015-11-25 16:55:01 +000035 WebAssemblyOptimizeReturned.cpp
36 WebAssemblyPeephole.cpp
Dan Gohman0cfb5f82016-05-10 04:24:02 +000037 WebAssemblyPrepareForLiveIntervals.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000038 WebAssemblyRegisterInfo.cpp
Dan Gohman1462faa2015-11-16 16:18:28 +000039 WebAssemblyRegColoring.cpp
Dan Gohmancf4748f2015-11-12 17:04:33 +000040 WebAssemblyRegNumbering.cpp
Dan Gohman1462faa2015-11-16 16:18:28 +000041 WebAssemblyRegStackify.cpp
Dan Gohman0cfb5f82016-05-10 04:24:02 +000042 WebAssemblyReplacePhysRegs.cpp
Dan Gohman38b42b42017-02-22 18:34:16 +000043 WebAssemblyRuntimeLibcallSignatures.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000044 WebAssemblySelectionDAGInfo.cpp
Dan Gohmanbb372242016-01-26 03:39:31 +000045 WebAssemblySetP2AlignOperands.cpp
Dan Gohman81719f82015-11-25 16:55:01 +000046 WebAssemblyStoreResults.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000047 WebAssemblySubtarget.cpp
48 WebAssemblyTargetMachine.cpp
Dan Gohman5bf22fc2015-12-17 04:55:44 +000049 WebAssemblyTargetObjectFile.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000050 WebAssemblyTargetTransformInfo.cpp
Dan Gohman4fc4e422016-10-24 19:49:43 +000051 WebAssemblyUtilities.cpp
Dan Gohman10e730a2015-06-29 23:51:55 +000052
Chris Bieneman05c279fc2016-11-17 04:36:50 +000053 DEPENDS
54 intrinsics_gen
55)
Dan Gohman10e730a2015-06-29 23:51:55 +000056
Derek Schuffe4825972018-03-20 20:06:35 +000057add_subdirectory(AsmParser)
Dan Gohman1a427282016-01-12 03:32:29 +000058add_subdirectory(Disassembler)
Dan Gohman10e730a2015-06-29 23:51:55 +000059add_subdirectory(InstPrinter)
Dan Gohman10e730a2015-06-29 23:51:55 +000060add_subdirectory(MCTargetDesc)
Dan Gohman35e4a282016-01-08 01:06:00 +000061add_subdirectory(TargetInfo)