CIRCT 24.0.0git
Loading...
Searching...
No Matches
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 <limits>
#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 680 of file CombOps.cpp.

Function Documentation

◆ convertDivModUByPowerOfTwo()

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

◆ getTotalWidth()

unsigned getTotalWidth ( ValueRange inputs)
static

Definition at line 526 of file CombOps.cpp.

References circt::hw::type_cast().

◆ verifyUTBinOp()

LogicalResult verifyUTBinOp ( Operation * op)
static

Definition at line 495 of file CombOps.cpp.

References success().