blob: 3eac6e9c656d876b7a6fb458c37778a7f1e730a3 [file] [log] [blame]
Alexei Starovoitove4c8c802015-01-24 17:51:26 +00001set(LLVM_TARGET_DEFINITIONS BPF.td)
2
3tablegen(LLVM BPFGenRegisterInfo.inc -gen-register-info)
4tablegen(LLVM BPFGenInstrInfo.inc -gen-instr-info)
5tablegen(LLVM BPFGenAsmWriter.inc -gen-asm-writer)
6tablegen(LLVM X86GenAsmMatcher.inc -gen-asm-matcher)
7tablegen(LLVM BPFGenDAGISel.inc -gen-dag-isel)
8tablegen(LLVM BPFGenMCCodeEmitter.inc -gen-emitter)
9tablegen(LLVM BPFGenCallingConv.inc -gen-callingconv)
10tablegen(LLVM BPFGenSubtargetInfo.inc -gen-subtarget)
11add_public_tablegen_target(BPFCommonTableGen)
12
13add_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
25add_subdirectory(InstPrinter)
26add_subdirectory(TargetInfo)
27add_subdirectory(MCTargetDesc)