CIRCT 23.0.0git
Loading...
Searching...
No Matches
Macros | Functions
SynthOps.cpp File Reference
#include "circt/Dialect/Synth/SynthOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/HW/HWTypes.h"
#include "circt/Support/CustomDirectiveImpl.h"
#include "circt/Support/Naming.h"
#include "circt/Support/SATSolver.h"
#include "mlir/Analysis/TopologicalSortUtils.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/OpDefinition.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/Value.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/LogicalResult.h"
#include "circt/Dialect/Synth/Synth.cpp.inc"
Include dependency graph for SynthOps.cpp:

Go to the source code of this file.

Macros

#define GET_OP_CLASSES
 

Functions

static Value lowerVariadicInvertibleOp (Location loc, ValueRange operands, ArrayRef< bool > inverts, PatternRewriter &rewriter, llvm::function_ref< Value(Value, bool)> createUnary, llvm::function_ref< Value(Value, Value, bool, bool)> createBinary)
 
template<typename OpTy >
LogicalResult lowerVariadicAndInverterOpConversion (OpTy op, PatternRewriter &rewriter)
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 31 of file SynthOps.cpp.

Function Documentation

◆ lowerVariadicAndInverterOpConversion()

template<typename OpTy >
LogicalResult lowerVariadicAndInverterOpConversion ( OpTy  op,
PatternRewriter &  rewriter 
)

Definition at line 349 of file SynthOps.cpp.

References lowerVariadicInvertibleOp(), and circt::replaceOpAndCopyNamehint().

◆ lowerVariadicInvertibleOp()

static Value lowerVariadicInvertibleOp ( Location  loc,
ValueRange  operands,
ArrayRef< bool >  inverts,
PatternRewriter &  rewriter,
llvm::function_ref< Value(Value, bool)>  createUnary,
llvm::function_ref< Value(Value, Value, bool, bool)>  createBinary 
)
static