13#ifndef MLIR_DIALECT_TOSA_TRANSFORMS_PASSES_H
14#define MLIR_DIALECT_TOSA_TRANSFORMS_PASSES_H
25#include "mlir/Dialect/Tosa/Transforms/Passes.h.inc"
39 bool aggressiveReduceConstant);
47#define GEN_PASS_REGISTRATION
48#include "mlir/Dialect/Tosa/Transforms/Passes.h.inc"
void populateTosaDecomposeDepthwise(MLIRContext *ctx, RewritePatternSet &patterns)
std::unique_ptr< Pass > createTosaTestQuantUtilAPIPass()
void populateTosaConstantReduction(MLIRContext *ctx, RewritePatternSet &patterns, bool aggressiveReduceConstant)
void populateTosaFoldConstantReciprocalPatterns(MLIRContext *ctx, RewritePatternSet &patterns)
void populateTosaTypeConversion(TypeConverter &converter)
void populateTosaDecomposeTransposeConv(MLIRContext *ctx, RewritePatternSet &patterns)
void populateTosaFoldConstantTransposePatterns(MLIRContext *ctx, RewritePatternSet &patterns)
std::unique_ptr< Pass > createTosaInputShapePass(std::vector< std::string > args={})
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns