-
Notifications
You must be signed in to change notification settings - Fork 8
/
CMakeLists.txt
37 lines (34 loc) · 1.26 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
set(LLVM_TARGET_DEFINITIONS Epiphany.td)
#tablegen(LLVM EpiphanyGenAsmMatcher.inc -gen-asm-matcher)
tablegen(LLVM EpiphanyGenAsmWriter.inc -gen-asm-writer)
tablegen(LLVM EpiphanyGenCallingConv.inc -gen-callingconv)
#tablegen(LLVM EpiphanyGenDisassemblerTables.inc -gen-disassembler)
tablegen(LLVM EpiphanyGenInstrInfo.inc -gen-instr-info)
#tablegen(LLVM EpiphanyGenMCCodeEmitter.inc -gen-emitter -mc-emitter)
tablegen(LLVM EpiphanyGenMCPseudoLowering.inc -gen-pseudo-lowering)
tablegen(LLVM EpiphanyGenRegisterInfo.inc -gen-register-info)
tablegen(LLVM EpiphanyGenDAGISel.inc -gen-dag-isel)
tablegen(LLVM EpiphanyGenSubtargetInfo.inc -gen-subtarget)
add_public_tablegen_target(EpiphanyCommonTableGen)
add_llvm_target(EpiphanyCodeGen
EpiphanyAsmPrinter.cpp
EpiphanyFrameLowering.cpp
EpiphanyISelDAGToDAG.cpp
EpiphanyISelLowering.cpp
EpiphanyInstrInfo.cpp
EpiphanyMachineFunctionInfo.cpp
EpiphanyMCInstLower.cpp
EpiphanyRegisterInfo.cpp
EpiphanySelectionDAGInfo.cpp
EpiphanySubtarget.cpp
EpiphanyTargetMachine.cpp
EpiphanyTargetObjectFile.cpp
EpiphanyLSOptPass.cpp
CondMovPass.cpp
)
#add_subdirectory(AsmParser)
#add_subdirectory(Disassembler)
add_subdirectory(InstPrinter)
add_subdirectory(MCTargetDesc)
add_subdirectory(TargetInfo)
add_subdirectory(Utils)