mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
639ae6b08b
This implements a very simple conservative transformation that doesn't require more than linear code size growth. There's room for much more optimization in this space. llvm-svn: 262982
47 lines
1.5 KiB
CMake
47 lines
1.5 KiB
CMake
set(LLVM_TARGET_DEFINITIONS WebAssembly.td)
|
|
|
|
tablegen(LLVM WebAssemblyGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM WebAssemblyGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM WebAssemblyGenFastISel.inc -gen-fast-isel)
|
|
tablegen(LLVM WebAssemblyGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM WebAssemblyGenMCCodeEmitter.inc -gen-emitter)
|
|
tablegen(LLVM WebAssemblyGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM WebAssemblyGenSubtargetInfo.inc -gen-subtarget)
|
|
add_public_tablegen_target(WebAssemblyCommonTableGen)
|
|
|
|
add_llvm_target(WebAssemblyCodeGen
|
|
WebAssemblyArgumentMove.cpp
|
|
WebAssemblyAsmPrinter.cpp
|
|
WebAssemblyCFGStackify.cpp
|
|
WebAssemblyFastISel.cpp
|
|
WebAssemblyFixIrreducibleControlFlow.cpp
|
|
WebAssemblyFrameLowering.cpp
|
|
WebAssemblyISelDAGToDAG.cpp
|
|
WebAssemblyISelLowering.cpp
|
|
WebAssemblyInstrInfo.cpp
|
|
WebAssemblyLowerBrUnless.cpp
|
|
WebAssemblyMachineFunctionInfo.cpp
|
|
WebAssemblyMCInstLower.cpp
|
|
WebAssemblyOptimizeReturned.cpp
|
|
WebAssemblyPeephole.cpp
|
|
WebAssemblyPEI.cpp
|
|
WebAssemblyRegisterInfo.cpp
|
|
WebAssemblyRegColoring.cpp
|
|
WebAssemblyRegNumbering.cpp
|
|
WebAssemblyRegStackify.cpp
|
|
WebAssemblySelectionDAGInfo.cpp
|
|
WebAssemblySetP2AlignOperands.cpp
|
|
WebAssemblyStoreResults.cpp
|
|
WebAssemblySubtarget.cpp
|
|
WebAssemblyTargetMachine.cpp
|
|
WebAssemblyTargetObjectFile.cpp
|
|
WebAssemblyTargetTransformInfo.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMWebAssemblyCodeGen intrinsics_gen)
|
|
|
|
add_subdirectory(Disassembler)
|
|
add_subdirectory(InstPrinter)
|
|
add_subdirectory(MCTargetDesc)
|
|
add_subdirectory(TargetInfo)
|