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.

Namespaces

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

Functions

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...