9#ifndef MLIR_DIALECT_GPU_TRANSFORMOPS_UTILS_H
10#define MLIR_DIALECT_GPU_TRANSFORMOPS_UTILS_H
21enum class MappingId : uint64_t;
41 llvm::interleaveComma(res.mappingIdOps, os <<
"----mappingIdOps: ");
43 llvm::interleaveComma(res.predicateOps, os <<
"----predicateOps: ");
82 DeviceMaskingAttrInterface mask =
nullptr);
93 bool useLinearMapping =
false,
94 DeviceMaskingAttrInterface mask =
nullptr);
108 bool useLinearMapping =
false,
109 DeviceMaskingAttrInterface mask =
nullptr);
121 DeviceMaskingAttrInterface mask =
nullptr);
131 DeviceMaskingAttrInterface mask =
nullptr);
139 std::optional<int64_t> gridDimX,
140 std::optional<int64_t> gridDimY,
141 std::optional<int64_t> gridDimZ,
142 std::optional<int64_t> blockDimX,
143 std::optional<int64_t> blockDimY,
144 std::optional<int64_t> blockDimZ);
150 TransformOpInterface transformOp, mlir::gpu::LaunchOp &launchOp,
151 std::optional<int64_t> gridDimX = std::nullopt,
152 std::optional<int64_t> gridDimY = std::nullopt,
153 std::optional<int64_t> gridDimZ = std::nullopt,
154 std::optional<int64_t> blockDimX = std::nullopt,
155 std::optional<int64_t> blockDimY = std::nullopt,
156 std::optional<int64_t> blockDimZ = std::nullopt);
161 TransformOpInterface transformOp,
162 std::optional<int64_t> gridDimX = std::nullopt,
163 std::optional<int64_t> gridDimY = std::nullopt,
164 std::optional<int64_t> gridDimZ = std::nullopt,
165 std::optional<int64_t> blockDimX = std::nullopt,
166 std::optional<int64_t> blockDimY = std::nullopt,
167 std::optional<int64_t> blockDimZ = std::nullopt);
172 TransformOpInterface transformOp);
The result of a transform IR operation application.
This class defines the main interface for locations in MLIR and acts as a non-nullable wrapper around...
MLIRContext is the top-level object for a collection of MLIR operations.
Operation is the basic unit of execution within MLIR.
This class coordinates the application of a rewrite on a set of IR, providing a way for clients to tr...
Include the generated interface declarations.