Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 9 additions & 4 deletions mlir/include/mlir/Dialect/NVGPU/IR/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
add_mlir_dialect(NVGPU nvgpu)
add_mlir_doc(NVGPU NVGPU Dialects/ -gen-dialect-doc)
add_mlir_doc(NVGPUOps NVGPU Dialects/ -gen-dialect-doc)

set(LLVM_TARGET_DEFINITIONS NVGPUOps.td)
mlir_tablegen(NVGPUOps.h.inc -gen-op-decls)
mlir_tablegen(NVGPUOps.cpp.inc -gen-op-defs)
add_public_tablegen_target(MLIRNVGPUOpsIncGen)

set(LLVM_TARGET_DEFINITIONS NVGPU.td)
mlir_tablegen(NVGPUEnums.h.inc -gen-enum-decls)
Expand All @@ -11,7 +16,7 @@ mlir_tablegen(NVGPUAttrDefs.h.inc -gen-attrdef-decls)
mlir_tablegen(NVGPUAttrDefs.cpp.inc -gen-attrdef-defs)
add_public_tablegen_target(MLIRNVGPUAttributesIncGen)

set(LLVM_TARGET_DEFINITIONS NVGPU.td)
mlir_tablegen(NVGPUAttrTypes.h.inc -gen-typedef-decls)
mlir_tablegen(NVGPUAttrTypes.cpp.inc -gen-typedef-decls)
set(LLVM_TARGET_DEFINITIONS NVGPUTypes.td)
mlir_tablegen(NVGPUTypeDefs.h.inc -gen-typedef-decls)
mlir_tablegen(NVGPUTypeDefs.cpp.inc -gen-typedef-defs)
add_public_tablegen_target(MLIRNVGPUTypesIncGen)
727 changes: 4 additions & 723 deletions mlir/include/mlir/Dialect/NVGPU/IR/NVGPU.td

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions mlir/include/mlir/Dialect/NVGPU/IR/NVGPUDialect.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ constexpr unsigned kMaxTMALastdimByte = 128;
#include "mlir/Dialect/NVGPU/IR/NVGPUAttrDefs.h.inc"

#define GET_TYPEDEF_CLASSES
#include "mlir/Dialect/NVGPU/IR/NVGPUTypes.h.inc"
#include "mlir/Dialect/NVGPU/IR/NVGPUTypeDefs.h.inc"

#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h.inc"

#define GET_OP_CLASSES
#include "mlir/Dialect/NVGPU/IR/NVGPU.h.inc"
#include "mlir/Dialect/NVGPU/IR/NVGPUOps.h.inc"

#endif // MLIR_DIALECT_NVGPU_NVGPUDIALECT_H_
Loading