• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1add_llvm_component_group(NVPTX)
2
3set(LLVM_TARGET_DEFINITIONS NVPTX.td)
4
5tablegen(LLVM NVPTXGenAsmWriter.inc -gen-asm-writer)
6tablegen(LLVM NVPTXGenDAGISel.inc -gen-dag-isel)
7tablegen(LLVM NVPTXGenInstrInfo.inc -gen-instr-info)
8tablegen(LLVM NVPTXGenRegisterInfo.inc -gen-register-info)
9tablegen(LLVM NVPTXGenSubtargetInfo.inc -gen-subtarget)
10
11add_public_tablegen_target(NVPTXCommonTableGen)
12
13set(NVPTXCodeGen_sources
14  NVPTXAllocaHoisting.cpp
15  NVPTXAsmPrinter.cpp
16  NVPTXAssignValidGlobalNames.cpp
17  NVPTXFrameLowering.cpp
18  NVPTXGenericToNVVM.cpp
19  NVPTXISelDAGToDAG.cpp
20  NVPTXISelLowering.cpp
21  NVPTXImageOptimizer.cpp
22  NVPTXInstrInfo.cpp
23  NVPTXLowerAggrCopies.cpp
24  NVPTXLowerArgs.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  NVPTXProxyRegErasure.cpp
38  )
39
40add_llvm_target(NVPTXCodeGen
41  ${NVPTXCodeGen_sources}
42
43  LINK_COMPONENTS
44  Analysis
45  AsmPrinter
46  CodeGen
47  Core
48  IPO
49  MC
50  NVPTXDesc
51  NVPTXInfo
52  Scalar
53  SelectionDAG
54  Support
55  Target
56  TransformUtils
57  Vectorize
58
59  ADD_TO_COMPONENT
60  NVPTX
61)
62
63add_subdirectory(MCTargetDesc)
64add_subdirectory(TargetInfo)
65