14 #ifndef MLIR_DIALECT_ASYNC_IR_ASYNC_H
15 #define MLIR_DIALECT_ASYNC_IR_ASYNC_H
35 #include "mlir/Dialect/Async/IR/AsyncOpsDialect.h.inc"
41 #define GET_OP_CLASSES
42 #include "mlir/Dialect/Async/IR/AsyncOps.h.inc"
53 return isa<TokenType, ValueType, GroupType>(type);
63 struct PointerLikeTypeTraits<
mlir::async::FuncOp> {
65 return const_cast<void *
>(val.getAsOpaquePointer());
68 return mlir::async::FuncOp::getFromOpaquePointer(p);
70 static constexpr
int numLowBitsAvailable = 3;
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
The OpAsmOpInterface, see OpAsmInterface.td for more details.
bool isRefCounted(Type type)
Returns true if the type is reference counted at runtime.
Include the generated interface declarations.
static void * getAsVoidPointer(mlir::async::FuncOp val)
static mlir::async::FuncOp getFromVoidPointer(void *p)