CIRCT  19.0.0git
Namespaces | Functions
FoldUtils.h File Reference
#include "mlir/IR/BuiltinAttributes.h"
#include "llvm/ADT/APInt.h"
Include dependency graph for FoldUtils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


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


static std::optional< APInt > circt::getConstantInt (Attribute operand)
 Determine the integer value of a constant operand. More...
static bool circt::isConstantZero (Attribute operand)
 Determine whether a constant operand is a zero value. More...
static bool circt::isConstantOne (Attribute operand)
 Determine whether a constant operand is a one value. More...