13#ifndef CIRCT_DIALECT_RTG_IR_RTGOPS_H
14#define CIRCT_DIALECT_RTG_IR_RTGOPS_H
26#include "mlir/Bytecode/BytecodeOpInterface.h"
27#include "mlir/IR/BuiltinOps.h"
28#include "mlir/IR/OpImplementation.h"
29#include "mlir/IR/SymbolTable.h"
30#include "mlir/Interfaces/InferTypeOpInterface.h"
31#include "mlir/Interfaces/SideEffectInterfaces.h"
40 :
public mlir::SideEffects::Resource::Base<RNGStateResource> {
41 StringRef
getName() const final {
return "RTGRNGStateResource"; }
47struct MutResource :
public mlir::SideEffects::Resource::Base<MutResource> {
48 StringRef
getName() const final {
return "MutResource"; }
55#include "circt/Dialect/RTG/IR/RTG.h.inc"
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Abstract memory resource for RTG mutable-cell and effect handler operations.
StringRef getName() const final
A custom resource representing the RNG state.
StringRef getName() const final
bool isAddressable() const override