CIRCT 20.0.0git
Loading...
Searching...
No Matches
Namespaces | Macros | Functions
HWAttributes.h File Reference
#include "mlir/IR/Attributes.h"
#include "mlir/IR/BuiltinAttributeInterfaces.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "circt/Dialect/HW/HWAttributes.h.inc"
Include dependency graph for HWAttributes.h:

Go to the source code of this file.

Namespaces

namespace  circt
 The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
 
namespace  circt::hw
 

Macros

#define GET_ATTRDEF_CLASSES
 

Functions

mlir::FailureOr< mlir::Type > circt::hw::evaluateParametricType (mlir::Location loc, mlir::ArrayAttr parameters, mlir::Type type, bool emitErrors=true)
 Returns a resolved version of 'type' wherein any parameter reference has been evaluated based on the set of provided 'parameters'.
 
mlir::FailureOr< mlir::TypedAttr > circt::hw::evaluateParametricAttr (mlir::Location loc, mlir::ArrayAttr parameters, mlir::Attribute paramAttr, bool emitErrors=true)
 Evaluates a parametric attribute (param.decl.ref/param.expr) based on a set of provided parameter values.
 
bool circt::hw::isParametricType (mlir::Type t)
 Returns true if any part of t is parametric.
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 41 of file HWAttributes.h.