9#ifndef CIRCT_DIALECT_LLHD_LLHDTYPES_H
10#define CIRCT_DIALECT_LLHD_LLHDTYPES_H
12#include "mlir/IR/Attributes.h"
13#include "mlir/IR/Types.h"
25 return llvm::isa<RefType, NetType>(type);
32 using mlir::Type::Type;
38#define GET_TYPEDEF_CLASSES
39#include "circt/Dialect/LLHD/LLHDTypes.h.inc"
41#define GET_ATTRDEF_CLASSES
42#include "circt/Dialect/LLHD/LLHDAttributes.h.inc"
49 return circt::llhd::TimeAttr::getFromOpaquePointer(p);
Common base of types wrapping a nested type.
static bool classof(mlir::Type type)
mlir::Type getNestedType() const
Get the wrapped type.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
static circt::llhd::TimeAttr getFromVoidPointer(void *p)