diff --git a/mlir/include/mlir/IR/OpDefinition.h b/mlir/include/mlir/IR/OpDefinition.h --- a/mlir/include/mlir/IR/OpDefinition.h +++ b/mlir/include/mlir/IR/OpDefinition.h @@ -104,34 +104,6 @@ /// Return the operation that this refers to. Operation *getOperation() { return state; } - /// Return the dialect that this refers to. - LLVM_ATTRIBUTE_DEPRECATED( - Dialect *getDialect(), - "Use Operation::getDialect() instead (replace '.' with '->')."); - - /// Return the parent Region of this operation. - LLVM_ATTRIBUTE_DEPRECATED( - Region *getParentRegion(), - "Use Operation::getParentRegion() instead (replace '.' with '->')."); - - /// Returns the closest surrounding operation that contains this operation - /// or nullptr if this is a top-level operation. - LLVM_ATTRIBUTE_DEPRECATED( - Operation *getParentOp(), - "Use Operation::getParentOp() instead (replace '.' with '->')."); - - /// Return the closest surrounding parent operation that is of type 'OpTy'. - template - LLVM_ATTRIBUTE_DEPRECATED( - OpTy getParentOfType(), - "Use Operation::getParentOfType() instead (replace '.' with '->')."); - - /// Returns the closest surrounding parent operation with trait `Trait`. - template