[Workflow] Roll back some settings since they caused more issues
[llvm-project.git] / mlir / lib / Dialect / LLVMIR / CMakeLists.txt
blob230ffec900bb984683a1b2ba35b42e2856baf700
1 add_subdirectory(Transforms)
3 add_mlir_dialect_library(MLIRLLVMDialect
4   IR/FunctionCallUtils.cpp
5   IR/LLVMAttrs.cpp
6   IR/LLVMDialect.cpp
7   IR/LLVMInlining.cpp
8   IR/LLVMInterfaces.cpp
9   IR/LLVMMemorySlot.cpp
10   IR/LLVMTypes.cpp
11   IR/LLVMTypeSyntax.cpp
13   ADDITIONAL_HEADER_DIRS
14   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
16   DEPENDS
17   MLIRLLVMOpsIncGen
18   MLIRLLVMTypesIncGen
19   MLIRLLVMIntrinsicOpsIncGen
20   MLIRLLVMInterfacesIncGen
21   MLIROpenMPOpsIncGen
22   intrinsics_gen
24   LINK_COMPONENTS
25   AsmParser
26   BinaryFormat
27   BitReader
28   BitWriter
29   Core
31   LINK_LIBS PUBLIC
32   MLIRCallInterfaces
33   MLIRControlFlowInterfaces
34   MLIRDataLayoutInterfaces
35   MLIRFunctionInterfaces
36   MLIRInferTypeOpInterface
37   MLIRIR
38   MLIRMemorySlotInterfaces
39   MLIRSideEffectInterfaces
40   MLIRSupport
41   )
43 add_mlir_dialect_library(MLIRNVVMDialect
44   IR/NVVMDialect.cpp
46   ADDITIONAL_HEADER_DIRS
47   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
49   DEPENDS
50   MLIRGPUCompilationAttrInterfacesIncGen
51   MLIRNVVMOpsIncGen
52   MLIRNVVMConversionsIncGen
53   intrinsics_gen
55   LINK_COMPONENTS
56   AsmParser
57   Core
59   LINK_LIBS PUBLIC
60   MLIRIR
61   MLIRLLVMDialect
62   MLIRSideEffectInterfaces
63   )
65 add_mlir_dialect_library(MLIRROCDLDialect
66   IR/ROCDLDialect.cpp
68   ADDITIONAL_HEADER_DIRS
69   ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/LLVMIR
71   DEPENDS
72   MLIRGPUCompilationAttrInterfacesIncGen
73   MLIRROCDLOpsIncGen
74   MLIRROCDLConversionsIncGen
75   intrinsics_gen
77   LINK_COMPONENTS
78   AsmParser
79   Core
81   LINK_LIBS PUBLIC
82   MLIRIR
83   MLIRLLVMDialect
84   MLIRSideEffectInterfaces
85   )