14 #ifndef MLIR_DIALECT_ASYNC_IR_ASYNC_H
15 #define MLIR_DIALECT_ASYNC_IR_ASYNC_H
34 #include "mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc"
40 #define GET_OP_CLASSES
41 #include "mlir/Dialect/Async/IR/AsyncOps.h.inc"
52 return type.
isa<TokenType, ValueType, GroupType>();
62 struct PointerLikeTypeTraits<
mlir::async::FuncOp> {
64 return const_cast<void *
>(val.getAsOpaquePointer());
67 return mlir::async::FuncOp::getFromOpaquePointer(p);
69 static constexpr
int numLowBitsAvailable = 3;
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
Include the generated interface declarations.
bool isRefCounted(Type type)
Returns true if the type is reference counted at runtime.
This header declares functions that assit transformations in the MemRef dialect.
static void * getAsVoidPointer(mlir::async::FuncOp val)
static mlir::async::FuncOp getFromVoidPointer(void *p)