BPF backend
[oota-llvm.git] / lib / Target / BPF / CMakeLists.txt
1 set(LLVM_TARGET_DEFINITIONS BPF.td)
2
3 tablegen(LLVM BPFGenRegisterInfo.inc -gen-register-info)
4 tablegen(LLVM BPFGenInstrInfo.inc -gen-instr-info)
5 tablegen(LLVM BPFGenAsmWriter.inc -gen-asm-writer)
6 tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher)
7 tablegen(LLVM BPFGenDAGISel.inc -gen-dag-isel)
8 tablegen(LLVM BPFGenMCCodeEmitter.inc -gen-emitter)
9 tablegen(LLVM BPFGenCallingConv.inc -gen-callingconv)
10 tablegen(LLVM BPFGenSubtargetInfo.inc -gen-subtarget)
11 add_public_tablegen_target(BPFCommonTableGen)
12
13 add_llvm_target(BPFCodeGen
14   BPFAsmPrinter.cpp
15   BPFFrameLowering.cpp
16   BPFInstrInfo.cpp
17   BPFISelDAGToDAG.cpp
18   BPFISelLowering.cpp
19   BPFMCInstLower.cpp
20   BPFRegisterInfo.cpp
21   BPFSubtarget.cpp
22   BPFTargetMachine.cpp
23   )
24
25 add_subdirectory(InstPrinter)
26 add_subdirectory(TargetInfo)
27 add_subdirectory(MCTargetDesc)