MLIR
23.0.0git
include
mlir
Conversion
ComplexToStandard
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
11
#include "
mlir/Dialect/Complex/IR/Complex.h
"
12
#include "
mlir/Pass/Pass.h
"
13
#include <memory>
14
15
namespace
mlir
{
16
class
RewritePatternSet
;
17
class
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.
23
void
populateComplexToStandardConversionPatterns
(
24
RewritePatternSet
&patterns,
25
mlir::complex::ComplexRangeFlags complexRange =
26
mlir::complex::ComplexRangeFlags::improved);
27
28
}
// namespace mlir
29
30
#endif
// MLIR_CONVERSION_COMPLEXTOSTANDARD_COMPLEXTOSTANDARD_H_
mlir::Pass
The abstract base pass class.
Definition
Pass.h:52
mlir::RewritePatternSet
Definition
PatternMatch.h:822
Pass.h
Complex.h
mlir
Include the generated interface declarations.
Definition
AliasAnalysis.h:19
mlir::populateComplexToStandardConversionPatterns
void populateComplexToStandardConversionPatterns(RewritePatternSet &patterns, mlir::complex::ComplexRangeFlags complexRange=mlir::complex::ComplexRangeFlags::improved)
Populate the given list with patterns that convert from Complex to Standard.
Generated on
for MLIR by
1.14.0