Revert " [LoongArch][ISel] Check the number of sign bits in `PatGprGpr_32` (#107432)"
[llvm-project.git] / llvm / lib / Target / DirectX / CMakeLists.txt
blob4c70b3f9230edba81eb2be7ce1ba1fcdc308865f
1 add_llvm_component_group(DirectX)
3 set(LLVM_TARGET_DEFINITIONS DirectX.td)
5 tablegen(LLVM DirectXGenSubtargetInfo.inc -gen-subtarget)
6 tablegen(LLVM DirectXGenInstrInfo.inc -gen-instr-info)
7 tablegen(LLVM DirectXGenRegisterInfo.inc -gen-register-info)
9 set(LLVM_TARGET_DEFINITIONS DXIL.td)
10 tablegen(LLVM DXILOperation.inc -gen-dxil-operation)
12 add_public_tablegen_target(DirectXCommonTableGen)
14 add_llvm_target(DirectXCodeGen
15   CBufferDataLayout.cpp
16   DirectXAsmPrinter.cpp
17   DirectXInstrInfo.cpp
18   DirectXRegisterInfo.cpp
19   DirectXSubtarget.cpp
20   DirectXTargetMachine.cpp
21   DXContainerGlobals.cpp
22   DXILIntrinsicExpansion.cpp
23   DXILMetadata.cpp
24   DXILOpBuilder.cpp
25   DXILOpLowering.cpp
26   DXILPrepare.cpp
27   DXILPrettyPrinter.cpp
28   DXILResource.cpp
29   DXILResourceAnalysis.cpp
30   DXILShaderFlags.cpp
31   DXILTranslateMetadata.cpp
33   LINK_COMPONENTS
34   Analysis
35   AsmPrinter
36   CodeGen
37   CodeGenTypes
38   Core
39   DXILBitWriter
40   DirectXDesc
41   DirectXInfo
42   DirectXPointerTypeAnalysis
43   FrontendHLSL
44   MC
45   SelectionDAG
46   Support
47   Target
48   TargetParser
49   TransformUtils
51   ADD_TO_COMPONENT
52   DirectX
53   )
55 add_subdirectory(MCTargetDesc)
56 add_subdirectory(TargetInfo)
57 add_subdirectory(DirectXIRPasses)
58 add_subdirectory(DXILWriter)