CIRCT  19.0.0git
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

 circt
 This file defines an intermediate representation for circuits acting as an abstraction for constraints defined over an SMT's solver context.
 
 circt::hw
 

Macros

#define GET_ATTRDEF_CLASSES
 

Functions

enum PEO uint32_t 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'. More...
 
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. More...
 
bool circt::hw::isParametricType (mlir::Type t)
 Returns true if any part of t is parametric. More...
 

Macro Definition Documentation

◆ GET_ATTRDEF_CLASSES

#define GET_ATTRDEF_CLASSES

Definition at line 41 of file HWAttributes.h.