36 lines
1.6 KiB
C++
36 lines
1.6 KiB
C++
/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|
|
|* *|
|
|
|* Dialect Declarations *|
|
|
|* *|
|
|
|* Automatically generated file, do not edit! *|
|
|
|* From: MemRefOps.td *|
|
|
|* *|
|
|
\*===----------------------------------------------------------------------===*/
|
|
|
|
namespace mlir::memref {
|
|
|
|
/// The `memref` dialect is intended to hold core memref creation and
|
|
/// manipulation ops, which are not strongly associated with any particular
|
|
/// other dialect or domain abstraction.
|
|
class MemRefDialect : public ::mlir::Dialect {
|
|
explicit MemRefDialect(::mlir::MLIRContext *context);
|
|
|
|
void initialize();
|
|
friend class ::mlir::MLIRContext;
|
|
public:
|
|
~MemRefDialect() override;
|
|
static constexpr ::llvm::StringLiteral getDialectNamespace() {
|
|
return ::llvm::StringLiteral("memref");
|
|
}
|
|
|
|
/// Materialize a single constant operation from a given attribute value with
|
|
/// the desired resultant type.
|
|
::mlir::Operation *materializeConstant(::mlir::OpBuilder &builder,
|
|
::mlir::Attribute value,
|
|
::mlir::Type type,
|
|
::mlir::Location loc) override;
|
|
};
|
|
|
|
} // namespace mlir::memref
|
|
MLIR_DECLARE_EXPLICIT_TYPE_ID(::mlir::memref::MemRefDialect)
|