MLIR  16.0.0git
NamedOpConversions.cpp File Reference
#include "PassDetail.h"
#include "mlir/Dialect/Linalg/IR/Linalg.h"
#include "mlir/Dialect/Linalg/Passes.h"
#include "mlir/Dialect/Linalg/Transforms/Transforms.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "llvm/ADT/SmallVector.h"
+ Include dependency graph for NamedOpConversions.cpp:

Go to the source code of this file.


static llvm::SmallVector< int64_t > getIndicesVector (int start, int end)
static LogicalResult matchAndReplaceDepthwiseConv (Operation *operation, Value input, Value kernel, Value iZp, Value kZp, Value init, Attribute stride, Attribute dilation, PatternRewriter &rewriter)

Function Documentation

◆ getIndicesVector()

static llvm::SmallVector<int64_t> getIndicesVector ( int  start,
int  end 

Definition at line 25 of file NamedOpConversions.cpp.

Referenced by matchAndReplaceDepthwiseConv().

◆ matchAndReplaceDepthwiseConv()

static LogicalResult matchAndReplaceDepthwiseConv ( Operation operation,
Value  input,
Value  kernel,
Value  iZp,
Value  kZp,
Value  init,
Attribute  stride,
Attribute  dilation,
PatternRewriter rewriter