CIRCT  20.0.0git
Classes | Namespaces | Macros | Functions
ArcCanonicalizer.cpp File Reference
#include "circt/Dialect/Arc/ArcOps.h"
#include "circt/Dialect/Arc/ArcPasses.h"
#include "circt/Dialect/Comb/CombOps.h"
#include "circt/Dialect/HW/HWOps.h"
#include "circt/Dialect/Seq/SeqOps.h"
#include "circt/Support/Namespace.h"
#include "circt/Support/SymCache.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/Matchers.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "llvm/Support/Debug.h"
#include "circt/Dialect/Arc/ArcPasses.h.inc"
Include dependency graph for ArcCanonicalizer.cpp:

Go to the source code of this file.

Classes

struct  llvm::DenseMapInfo< SmallVector< Value > >
 

Namespaces

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

Macros

#define DEBUG_TYPE   "arc-canonicalizer"
 
#define GEN_PASS_DEF_ARCCANONICALIZER
 

Functions

LogicalResult canonicalizePassthoughCall (mlir::CallOpInterface callOp, SymbolHandler &symbolCache, PatternRewriter &rewriter)
 
LogicalResult updateInputOperands (VectorizeOp &vecOp, const SmallVector< Value > &newOperands)
 
static unsigned llvm::hashValue (const SmallVector< Value > &inputs)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "arc-canonicalizer"

Definition at line 27 of file ArcCanonicalizer.cpp.

◆ GEN_PASS_DEF_ARCCANONICALIZER

#define GEN_PASS_DEF_ARCCANONICALIZER

Definition at line 31 of file ArcCanonicalizer.cpp.

Function Documentation

◆ canonicalizePassthoughCall()

LogicalResult canonicalizePassthoughCall ( mlir::CallOpInterface  callOp,
SymbolHandler &  symbolCache,
PatternRewriter &  rewriter 
)

Definition at line 281 of file ArcCanonicalizer.cpp.

◆ updateInputOperands()

LogicalResult updateInputOperands ( VectorizeOp &  vecOp,
const SmallVector< Value > &  newOperands 
)

Definition at line 294 of file ArcCanonicalizer.cpp.