mirror of
https://github.com/intel/llvm.git
synced 2026-01-28 01:04:49 +08:00
[mlir][python] Remove PythonAttr mapping functionality
This functionality has been replaced by TypeCasters (see D151840) depends on D154468 Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D154469
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_ARITH_OPS
|
||||
#define PYTHON_BINDINGS_ARITH_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Arith/IR/ArithOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_ASYNC_OPS
|
||||
#define PYTHON_BINDINGS_ASYNC_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Async/IR/AsyncOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_BUFFERIZATION_OPS
|
||||
#define PYTHON_BINDINGS_BUFFERIZATION_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Bufferization/IR/BufferizationOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef PYTHON_BINDINGS_BUFFERIZATION_TRANSFORM_OPS
|
||||
#define PYTHON_BINDINGS_BUFFERIZATION_TRANSFORM_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Bufferization/TransformOps/BufferizationTransformOps.td"
|
||||
|
||||
#endif // PYTHON_BINDINGS_BUFFERIZATION_TRANSFORM_OPS
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_BUILTIN_OPS
|
||||
#define PYTHON_BINDINGS_BUILTIN_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/IR/BuiltinOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_COMPLEX_OPS
|
||||
#define PYTHON_BINDINGS_COMPLEX_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Complex/IR/ComplexOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_CONTROL_FLOW_OPS
|
||||
#define PYTHON_BINDINGS_CONTROL_FLOW_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#ifndef PYTHON_BINDINGS_FUNC
|
||||
#define PYTHON_BINDINGS_FUNC
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Func/IR/FuncOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_GPU_OPS
|
||||
#define PYTHON_BINDINGS_GPU_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/GPU/IR/GPUOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_LINALG_OPS
|
||||
#define PYTHON_BINDINGS_LINALG_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Linalg/IR/LinalgOps.td"
|
||||
include "mlir/Dialect/Linalg/IR/LinalgStructuredOps.td"
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef PYTHON_BINDINGS_LINALG_STRUCTURED_TRANSFORM_OPS
|
||||
#define PYTHON_BINDINGS_LINALG_STRUCTURED_TRANSFORM_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Linalg/TransformOps/LinalgTransformOps.td"
|
||||
|
||||
#endif // PYTHON_BINDINGS_LINALG_STRUCTURED_TRANSFORM_OPS
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_MLPROGRAM_OPS
|
||||
#define PYTHON_BINDINGS_MLPROGRAM_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/MLProgram/IR/MLProgramOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_MATH_OPS
|
||||
#define PYTHON_BINDINGS_MATH_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Math/IR/MathOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_MEMREF_OPS
|
||||
#define PYTHON_BINDINGS_MEMREF_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/MemRef/IR/MemRefOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_PDL_OPS
|
||||
#define PYTHON_BINDINGS_PDL_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/PDL/IR/PDLOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
#ifndef PYTHON_BINDINGS_SCF_LOOP_TRANSFORM_OPS
|
||||
#define PYTHON_BINDINGS_SCF_LOOP_TRANSFORM_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/SCF/TransformOps/SCFTransformOps.td"
|
||||
|
||||
#endif // PYTHON_BINDINGS_SCF_LOOP_TRANSFORM_OPS
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_SCF_OPS
|
||||
#define PYTHON_BINDINGS_SCF_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/SCF/IR/SCFOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_SHAPE_OPS
|
||||
#define PYTHON_BINDINGS_SHAPE_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Shape/IR/ShapeOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_SPARSE_TENSOR_OPS
|
||||
#define PYTHON_BINDINGS_SPARSE_TENSOR_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/SparseTensor/IR/SparseTensorOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_TENSOR_OPS
|
||||
#define PYTHON_BINDINGS_TENSOR_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Tensor/IR/TensorOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_TOSA_OPS
|
||||
#define PYTHON_BINDINGS_TOSA_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Tosa/IR/TosaOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_TRANSFORM_OPS
|
||||
#define PYTHON_BINDINGS_TRANSFORM_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Transform/IR/TransformOps.td"
|
||||
|
||||
#endif // PYTHON_BINDINGS_TRANSFORM_OPS
|
||||
|
||||
@@ -14,7 +14,6 @@
|
||||
#ifndef PYTHON_BINDINGS_TRANSFORM_PDL_EXTENSION_OPS
|
||||
#define PYTHON_BINDINGS_TRANSFORM_PDL_EXTENSION_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Transform/PDLExtension/PDLExtensionOps.td"
|
||||
|
||||
#endif // PYTHON_BINDINGS_TRANSFORM_PDL_EXTENSION_OPS
|
||||
|
||||
@@ -9,7 +9,6 @@
|
||||
#ifndef PYTHON_BINDINGS_VECTOR_OPS
|
||||
#define PYTHON_BINDINGS_VECTOR_OPS
|
||||
|
||||
include "mlir/Bindings/Python/Attributes.td"
|
||||
include "mlir/Dialect/Vector/IR/VectorOps.td"
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user