mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-30 05:29:47 +00:00
assembler such as shifts greater than 32. In the case of direct object, the code gen needs to do this lowering since the assembler is not involved. With the advent of the llvm-mc assembler, it also needs to do the same lowering. This patch makes that specific lowering code accessible to both the direct object output and the assembler. This patch does not affect generated output. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163287 91177308-0d34-0410-b5e6-96231b3b80d8
51 lines
1.5 KiB
CMake
51 lines
1.5 KiB
CMake
set(LLVM_TARGET_DEFINITIONS Mips.td)
|
|
|
|
tablegen(LLVM MipsGenRegisterInfo.inc -gen-register-info)
|
|
tablegen(LLVM MipsGenInstrInfo.inc -gen-instr-info)
|
|
tablegen(LLVM MipsGenDisassemblerTables.inc -gen-disassembler)
|
|
tablegen(LLVM MipsGenCodeEmitter.inc -gen-emitter)
|
|
tablegen(LLVM MipsGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
|
|
tablegen(LLVM MipsGenAsmWriter.inc -gen-asm-writer)
|
|
tablegen(LLVM MipsGenDAGISel.inc -gen-dag-isel)
|
|
tablegen(LLVM MipsGenCallingConv.inc -gen-callingconv)
|
|
tablegen(LLVM MipsGenSubtargetInfo.inc -gen-subtarget)
|
|
tablegen(LLVM MipsGenEDInfo.inc -gen-enhanced-disassembly-info)
|
|
tablegen(LLVM MipsGenAsmMatcher.inc -gen-asm-matcher)
|
|
add_public_tablegen_target(MipsCommonTableGen)
|
|
|
|
add_llvm_target(MipsCodeGen
|
|
Mips16FrameLowering.cpp
|
|
Mips16InstrInfo.cpp
|
|
Mips16RegisterInfo.cpp
|
|
MipsAnalyzeImmediate.cpp
|
|
MipsAsmPrinter.cpp
|
|
MipsCodeEmitter.cpp
|
|
MipsDelaySlotFiller.cpp
|
|
MipsDirectObjLower.cpp
|
|
MipsELFWriterInfo.cpp
|
|
MipsJITInfo.cpp
|
|
MipsInstrInfo.cpp
|
|
MipsISelDAGToDAG.cpp
|
|
MipsISelLowering.cpp
|
|
MipsFrameLowering.cpp
|
|
MipsLongBranch.cpp
|
|
MipsMCInstLower.cpp
|
|
MipsMachineFunction.cpp
|
|
MipsRegisterInfo.cpp
|
|
MipsSEFrameLowering.cpp
|
|
MipsSEInstrInfo.cpp
|
|
MipsSERegisterInfo.cpp
|
|
MipsSubtarget.cpp
|
|
MipsTargetMachine.cpp
|
|
MipsTargetObjectFile.cpp
|
|
MipsSelectionDAGInfo.cpp
|
|
)
|
|
|
|
add_dependencies(LLVMMipsCodeGen intrinsics_gen)
|
|
|
|
add_subdirectory(InstPrinter)
|
|
add_subdirectory(Disassembler)
|
|
add_subdirectory(TargetInfo)
|
|
add_subdirectory(MCTargetDesc)
|
|
add_subdirectory(AsmParser)
|