CIRCT  20.0.0git
Namespaces | Macros | Functions
HWArithOps.cpp File Reference
#include "circt/Dialect/HWArith/HWArithOps.h"
#include "circt/Dialect/HWArith/HWArithTypes.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/PatternMatch.h"
#include "llvm/ADT/APSInt.h"
#include "circt/Dialect/HWArith/HWArithCanonicalizations.h.inc"
#include "circt/Dialect/HWArith/HWArith.cpp.inc"
Include dependency graph for HWArithOps.cpp:

Go to the source code of this file.

Namespaces

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

Macros

#define GET_OP_CLASSES
 

Functions

static IntegerType::SignednessSemantics getSignedInheritedSignedness (IntegerType lhs, IntegerType rhs)
 
unsigned circt::hwarith::inferAddResultType (IntegerType::SignednessSemantics &signedness, IntegerType lhs, IntegerType rhs)
 
static LogicalResult circt::hwarith::verifyBinOp (Operation *binOp)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 236 of file HWArithOps.cpp.

Function Documentation

◆ getSignedInheritedSignedness()

static IntegerType::SignednessSemantics getSignedInheritedSignedness ( IntegerType  lhs,
IntegerType  rhs 
)
static

Definition at line 133 of file HWArithOps.cpp.