Files
gps/tools/local/circt/include/mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc
T
2026-07-12 11:01:51 +03:00

41 lines
1.7 KiB
C++

/*===- TableGen'erated file -------------------------------------*- C++ -*-===*\
|* *|
|* Dialect Declarations *|
|* *|
|* Automatically generated file, do not edit! *|
|* From: AsyncOps.td *|
|* *|
\*===----------------------------------------------------------------------===*/
namespace mlir::async {
/// Types and operations for async dialect
/// This dialect contains operations for modeling asynchronous execution.
class AsyncDialect : public ::mlir::Dialect {
explicit AsyncDialect(::mlir::MLIRContext *context);
void initialize();
friend class ::mlir::MLIRContext;
public:
~AsyncDialect() override;
static constexpr ::llvm::StringLiteral getDialectNamespace() {
return ::llvm::StringLiteral("async");
}
/// Parse a type registered to this dialect.
::mlir::Type parseType(::mlir::DialectAsmParser &parser) const override;
/// Print a type registered to this dialect.
void printType(::mlir::Type type,
::mlir::DialectAsmPrinter &os) const override;
/// The name of a unit attribute on funcs that are allowed to have a
/// blocking async.runtime.await ops. In absence of this attribute the
/// asyncification pass might convert a func to a coroutine.
static constexpr StringRef kAllowedToBlockAttrName =
"async.allowed_to_block";
};
} // namespace mlir::async
MLIR_DECLARE_EXPLICIT_TYPE_ID(::mlir::async::AsyncDialect)