MLIR 22.0.0git
ComplexToStandard.h
Go to the documentation of this file.
1//===- ComplexToStandard.h - Utils to convert from the complex dialect ----===//
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#ifndef MLIR_CONVERSION_COMPLEXTOSTANDARD_COMPLEXTOSTANDARD_H_
9#define MLIR_CONVERSION_COMPLEXTOSTANDARD_COMPLEXTOSTANDARD_H_
10
12#include "mlir/Pass/Pass.h"
13#include <memory>
14
15namespace mlir {
17class Pass;
18
19#define GEN_PASS_DECL_CONVERTCOMPLEXTOSTANDARDPASS
20#include "mlir/Conversion/Passes.h.inc"
21
22/// Populate the given list with patterns that convert from Complex to Standard.
25 mlir::complex::ComplexRangeFlags complexRange =
26 mlir::complex::ComplexRangeFlags::improved);
27
28} // namespace mlir
29
30#endif // MLIR_CONVERSION_COMPLEXTOSTANDARD_COMPLEXTOSTANDARD_H_
The abstract base pass class.
Definition Pass.h:51
Include the generated interface declarations.
void populateComplexToStandardConversionPatterns(RewritePatternSet &patterns, mlir::complex::ComplexRangeFlags complexRange=mlir::complex::ComplexRangeFlags::improved)
Populate the given list with patterns that convert from Complex to Standard.
const FrozenRewritePatternSet & patterns