CIRCT 22.0.0git
Loading...
Searching...
No Matches
Macros | Functions
CombOps.cpp File Reference
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Support/Naming.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/PatternMatch.h"
#include "llvm/Support/FormatVariadic.h"
#include "circt/Dialect/Comb/Comb.cpp.inc"
Include dependency graph for CombOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_CLASSES
 

Functions

static llvm::LogicalResult convertDivModUByPowerOfTwo (PatternRewriter &rewriter, Operation *op, Value lhs, Value rhs, bool isDiv)
 
static LogicalResult verifyUTBinOp (Operation *op)
 
static unsigned getTotalWidth (ValueRange inputs)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 575 of file CombOps.cpp.

Function Documentation

◆ convertDivModUByPowerOfTwo()

static llvm::LogicalResult convertDivModUByPowerOfTwo ( PatternRewriter &  rewriter,
Operation *  op,
Value  lhs,
Value  rhs,
bool  isDiv 
)
static

Definition at line 237 of file CombOps.cpp.

References hw.ConstantOp::create(), and circt::replaceOpAndCopyNamehint().

◆ getTotalWidth()

static unsigned getTotalWidth ( ValueRange  inputs)
static

Definition at line 481 of file CombOps.cpp.

◆ verifyUTBinOp()

static LogicalResult verifyUTBinOp ( Operation *  op)
static

Definition at line 450 of file CombOps.cpp.