2015-06-29 23:51:55 +00:00
|
|
|
set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
|
|
|
|
|
2015-07-22 21:28:15 +00:00
|
|
|
tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
|
|
|
|
tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
|
2015-08-24 18:44:37 +00:00
|
|
|
tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel)
|
2015-07-22 21:28:15 +00:00
|
|
|
tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
|
2015-06-29 23:51:55 +00:00
|
|
|
tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
|
2015-07-10 18:23:10 +00:00
|
|
|
tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
|
2015-06-29 23:51:55 +00:00
|
|
|
tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
|
|
|
|
add_public_tablegen_target(WebAssemblyCommonTableGen)
|
|
|
|
|
|
|
|
add_llvm_target(WebAssemblyCodeGen
|
2015-08-15 01:23:28 +00:00
|
|
|
Relooper.cpp
|
2015-07-22 21:28:15 +00:00
|
|
|
WebAssemblyAsmPrinter.cpp
|
2015-09-16 16:51:30 +00:00
|
|
|
WebAssemblyCFGStackify.cpp
|
2015-08-24 18:44:37 +00:00
|
|
|
WebAssemblyFastISel.cpp
|
2015-06-29 23:51:55 +00:00
|
|
|
WebAssemblyFrameLowering.cpp
|
|
|
|
WebAssemblyISelDAGToDAG.cpp
|
|
|
|
WebAssemblyISelLowering.cpp
|
2015-07-22 21:28:15 +00:00
|
|
|
WebAssemblyInstrInfo.cpp
|
2015-06-29 23:51:55 +00:00
|
|
|
WebAssemblyMachineFunctionInfo.cpp
|
|
|
|
WebAssemblyRegisterInfo.cpp
|
|
|
|
WebAssemblySelectionDAGInfo.cpp
|
|
|
|
WebAssemblySubtarget.cpp
|
|
|
|
WebAssemblyTargetMachine.cpp
|
|
|
|
WebAssemblyTargetTransformInfo.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
|
|
|
|
|
|
|
|
add_subdirectory(InstPrinter)
|
|
|
|
add_subdirectory(TargetInfo)
|
|
|
|
add_subdirectory(MCTargetDesc)
|