Don't use PassInfo* as a type identifier for passes. Instead, use the address of...
[oota-llvm.git] / lib / Target / Alpha / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS Alpha.td)
2
3 tablegen(AlphaGenRegisterInfo.h.inc -gen-register-desc-header)
4 tablegen(AlphaGenRegisterNames.inc -gen-register-enums)
5 tablegen(AlphaGenRegisterInfo.inc -gen-register-desc)
6 tablegen(AlphaGenInstrNames.inc -gen-instr-enums)
7 tablegen(AlphaGenInstrInfo.inc -gen-instr-desc)
8 tablegen(AlphaGenCodeEmitter.inc -gen-emitter)
9 tablegen(AlphaGenAsmWriter.inc -gen-asm-writer)
10 tablegen(AlphaGenDAGISel.inc -gen-dag-isel)
11 tablegen(AlphaGenCallingConv.inc -gen-callingconv)
12 tablegen(AlphaGenSubtarget.inc -gen-subtarget)
13
14 add_llvm_target(AlphaCodeGen
15   AlphaBranchSelector.cpp
16   AlphaCodeEmitter.cpp
17   AlphaInstrInfo.cpp
18   AlphaISelDAGToDAG.cpp
19   AlphaISelLowering.cpp
20   AlphaJITInfo.cpp
21   AlphaLLRP.cpp
22   AlphaMCAsmInfo.cpp
23   AlphaRegisterInfo.cpp
24   AlphaSubtarget.cpp
25   AlphaTargetMachine.cpp
26   AlphaSelectionDAGInfo.cpp
27   )
28
29 target_link_libraries (LLVMAlphaCodeGen LLVMSelectionDAG)