• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1set(LLVM_TARGET_DEFINITIONS NVPTX.td)
2
3
4tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info)
5tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info)
6tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer)
7tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel)
8tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget)
9add_public_tablegen_target(NVPTXCommonTableGen)
10
11set(NVPTXCodeGen_sources
12  NVPTXAllocaHoisting.cpp
13  NVPTXAsmPrinter.cpp
14  NVPTXAssignValidGlobalNames.cpp
15  NVPTXFavorNonGenericAddrSpaces.cpp
16  NVPTXFrameLowering.cpp
17  NVPTXGenericToNVVM.cpp
18  NVPTXISelDAGToDAG.cpp
19  NVPTXISelLowering.cpp
20  NVPTXImageOptimizer.cpp
21  NVPTXInferAddressSpaces.cpp
22  NVPTXInstrInfo.cpp
23  NVPTXLowerAggrCopies.cpp
24  NVPTXLowerKernelArgs.cpp
25  NVPTXLowerAlloca.cpp
26  NVPTXPeephole.cpp
27  NVPTXMCExpr.cpp
28  NVPTXPrologEpilogPass.cpp
29  NVPTXRegisterInfo.cpp
30  NVPTXReplaceImageHandles.cpp
31  NVPTXSubtarget.cpp
32  NVPTXTargetMachine.cpp
33  NVPTXTargetTransformInfo.cpp
34  NVPTXUtilities.cpp
35  NVVMIntrRange.cpp
36  NVVMReflect.cpp
37  )
38
39add_llvm_target(NVPTXCodeGen ${NVPTXCodeGen_sources})
40
41add_subdirectory(TargetInfo)
42add_subdirectory(InstPrinter)
43add_subdirectory(MCTargetDesc)
44