Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[mlir][gpu] Move GPU headers into IR/ and Transforms/
Depends on D127350 Reviewed By: rriddle Differential Revision: https://reviews.llvm.org/D127352
- Loading branch information
Showing
57 changed files
with
155 additions
and
160 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,2 @@ | ||
add_mlir_dialect(GPUOps gpu) | ||
add_mlir_doc(GPUOps GPUOps Dialects/ -gen-op-doc) | ||
|
||
set(LLVM_TARGET_DEFINITIONS GPUBase.td) | ||
mlir_tablegen(GPUOpInterfaces.h.inc -gen-op-interface-decls) | ||
mlir_tablegen(GPUOpInterfaces.cpp.inc -gen-op-interface-defs) | ||
add_public_tablegen_target(MLIRGPUOpInterfacesIncGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS ParallelLoopMapperAttr.td) | ||
mlir_tablegen(ParallelLoopMapperAttr.h.inc -gen-struct-attr-decls) | ||
mlir_tablegen(ParallelLoopMapperAttr.cpp.inc -gen-struct-attr-defs) | ||
add_public_tablegen_target(MLIRParallelLoopMapperAttrGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS ParallelLoopMapperAttr.td) | ||
mlir_tablegen(ParallelLoopMapperEnums.h.inc -gen-enum-decls) | ||
mlir_tablegen(ParallelLoopMapperEnums.cpp.inc -gen-enum-defs) | ||
add_public_tablegen_target(MLIRParallelLoopMapperEnumsGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS Passes.td) | ||
mlir_tablegen(Passes.h.inc -gen-pass-decls -name GPU) | ||
mlir_tablegen(Passes.capi.h.inc -gen-pass-capi-header --prefix GPU) | ||
mlir_tablegen(Passes.capi.cpp.inc -gen-pass-capi-impl --prefix GPU) | ||
add_public_tablegen_target(MLIRGPUPassIncGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS GPUOps.td) | ||
mlir_tablegen(GPUOpsEnums.h.inc -gen-enum-decls) | ||
mlir_tablegen(GPUOpsEnums.cpp.inc -gen-enum-defs) | ||
add_public_tablegen_target(MLIRGPUOpsEnumsGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS GPUOps.td) | ||
mlir_tablegen(GPUOpsAttributes.h.inc -gen-attrdef-decls -attrdefs-dialect=gpu) | ||
mlir_tablegen(GPUOpsAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=gpu) | ||
add_public_tablegen_target(MLIRGPUOpsAttributesIncGen) | ||
|
||
add_mlir_doc(Passes GPUPasses ./ -gen-pass-doc) | ||
add_subdirectory(IR) | ||
add_subdirectory(Transforms) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
add_mlir_dialect(GPUOps gpu) | ||
add_mlir_doc(GPUOps GPUOps Dialects/ -gen-op-doc) | ||
|
||
set(LLVM_TARGET_DEFINITIONS GPUBase.td) | ||
mlir_tablegen(GPUOpInterfaces.h.inc -gen-op-interface-decls) | ||
mlir_tablegen(GPUOpInterfaces.cpp.inc -gen-op-interface-defs) | ||
add_public_tablegen_target(MLIRGPUOpInterfacesIncGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS ParallelLoopMapperAttr.td) | ||
mlir_tablegen(ParallelLoopMapperAttr.h.inc -gen-struct-attr-decls) | ||
mlir_tablegen(ParallelLoopMapperAttr.cpp.inc -gen-struct-attr-defs) | ||
add_public_tablegen_target(MLIRParallelLoopMapperAttrGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS ParallelLoopMapperAttr.td) | ||
mlir_tablegen(ParallelLoopMapperEnums.h.inc -gen-enum-decls) | ||
mlir_tablegen(ParallelLoopMapperEnums.cpp.inc -gen-enum-defs) | ||
add_public_tablegen_target(MLIRParallelLoopMapperEnumsGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS GPUOps.td) | ||
mlir_tablegen(GPUOpsEnums.h.inc -gen-enum-decls) | ||
mlir_tablegen(GPUOpsEnums.cpp.inc -gen-enum-defs) | ||
add_public_tablegen_target(MLIRGPUOpsEnumsGen) | ||
|
||
set(LLVM_TARGET_DEFINITIONS GPUOps.td) | ||
mlir_tablegen(GPUOpsAttributes.h.inc -gen-attrdef-decls -attrdefs-dialect=gpu) | ||
mlir_tablegen(GPUOpsAttributes.cpp.inc -gen-attrdef-defs -attrdefs-dialect=gpu) | ||
add_public_tablegen_target(MLIRGPUOpsAttributesIncGen) |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
set(LLVM_TARGET_DEFINITIONS Passes.td) | ||
mlir_tablegen(Passes.h.inc -gen-pass-decls -name GPU) | ||
mlir_tablegen(Passes.capi.h.inc -gen-pass-capi-header --prefix GPU) | ||
mlir_tablegen(Passes.capi.cpp.inc -gen-pass-capi-impl --prefix GPU) | ||
add_public_tablegen_target(MLIRGPUPassIncGen) | ||
|
||
add_mlir_doc(Passes GPUPasses ./ -gen-pass-doc) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.