forked from OSchip/llvm-project
31 lines
880 B
CMake
31 lines
880 B
CMake
set(LLVM_TARGET_DEFINITIONS ARC.td)
|
|
|
|
tablegen(LLVM ARCGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM ARCGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM ARCGenDisassemblerTables.inc -gen-disassembler)
|
|
tablegen(LLVM ARCGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM ARCGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM ARCGenCallingConv.inc -gen-callingconv)
|
|
tablegen(LLVM ARCGenSubtargetInfo.inc -gen-subtarget)
|
|
add_public_tablegen_target(ARCCommonTableGen)
|
|
|
|
add_llvm_target(ARCCodeGen
|
|
ARCAsmPrinter.cpp
|
|
ARCBranchFinalize.cpp
|
|
ARCExpandPseudos.cpp
|
|
ARCFrameLowering.cpp
|
|
ARCInstrInfo.cpp
|
|
ARCISelDAGToDAG.cpp
|
|
ARCISelLowering.cpp
|
|
ARCMachineFunctionInfo.cpp
|
|
ARCMCInstLower.cpp
|
|
ARCRegisterInfo.cpp
|
|
ARCSubtarget.cpp
|
|
ARCTargetMachine.cpp
|
|
)
|
|
|
|
add_subdirectory(InstPrinter)
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|
|
add_subdirectory(Disassembler)
|