2015-06-30 07:51:55 +08:00
|
|
|
set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
|
|
|
|
|
2015-07-23 05:28:15 +08:00
|
|
|
tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
|
|
|
|
tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
|
2015-08-25 02:44:37 +08:00
|
|
|
tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel)
|
2015-07-23 05:28:15 +08:00
|
|
|
tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
|
2015-06-30 07:51:55 +08:00
|
|
|
tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
|
2015-07-11 02:23:10 +08:00
|
|
|
tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
|
2015-06-30 07:51:55 +08:00
|
|
|
tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
|
|
|
|
add_public_tablegen_target(WebAssemblyCommonTableGen)
|
|
|
|
|
|
|
|
add_llvm_target(WebAssemblyCodeGen
|
2015-08-15 09:23:28 +08:00
|
|
|
Relooper.cpp
|
2015-07-23 05:28:15 +08:00
|
|
|
WebAssemblyAsmPrinter.cpp
|
2015-08-25 02:44:37 +08:00
|
|
|
WebAssemblyFastISel.cpp
|
2015-06-30 07:51:55 +08:00
|
|
|
WebAssemblyFrameLowering.cpp
|
|
|
|
WebAssemblyISelDAGToDAG.cpp
|
|
|
|
WebAssemblyISelLowering.cpp
|
2015-07-23 05:28:15 +08:00
|
|
|
WebAssemblyInstrInfo.cpp
|
2015-06-30 07:51:55 +08: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)
|