MLIR 22.0.0git
TosaToArith.h
Go to the documentation of this file.
1//===-- TosaToArith.h - TOSA optimization pass declarations --*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file declares the passes for the TOSA to Standard Dialect conversion.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_CONVERSION_TOSATOARITH_TOSATOARITH_H
14#define MLIR_CONVERSION_TOSATOARITH_TOSATOARITH_H
15
16#include "mlir/Pass/Pass.h"
17
18namespace mlir {
19
20#define GEN_PASS_DECL_TOSATOARITHPASS
21#include "mlir/Conversion/Passes.h.inc"
22
23namespace tosa {
24
26
28 bool include32Bit = false);
29
30} // namespace tosa
31} // namespace mlir
32
33#endif // MLIR_CONVERSION_TOSATOARITH_TOSATOARITH_H
void populateTosaRescaleToArithConversionPatterns(RewritePatternSet *patterns, bool include32Bit=false)
void populateTosaToArithConversionPatterns(RewritePatternSet *patterns)
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns