MLIR 22.0.0git
Passes.h File Reference
#include "mlir/IR/PatternMatch.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/Math/Transforms/Passes.h.inc"

Go to the source code of this file.

Classes

struct  mlir::math::MathExpandOpsPassOptions
struct  mlir::math::MathExtendToSupportedTypesOptions
struct  mlir::MathPolynomialApproximationOptions

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::math

Macros

#define GEN_PASS_DECL
#define GEN_PASS_REGISTRATION
#define GEN_PASS_DECL_MATHEXPANDOPSPASS
#define GEN_PASS_DECL_MATHEXTENDTOSUPPORTEDTYPES
#define GEN_PASS_DECL_MATHSINCOSFUSIONPASS
#define GEN_PASS_DECL_MATHUPLIFTTOFMA
#define GEN_PASS_REGISTRATION_MATHEXPANDOPSPASS
#define GEN_PASS_REGISTRATION_MATHEXTENDTOSUPPORTEDTYPES
#define GEN_PASS_REGISTRATION_MATHSINCOSFUSIONPASS
#define GEN_PASS_REGISTRATION_MATHUPLIFTTOFMA

Functions

std::unique_ptr<::mlir::Passmlir::math::createMathExpandOpsPass ()
std::unique_ptr<::mlir::Passmlir::math::createMathExpandOpsPass (MathExpandOpsPassOptions options)
std::unique_ptr<::mlir::Passmlir::math::createMathExtendToSupportedTypes ()
std::unique_ptr<::mlir::Passmlir::math::createMathExtendToSupportedTypes (MathExtendToSupportedTypesOptions options)
std::unique_ptr<::mlir::Passmlir::math::createMathSincosFusionPass ()
std::unique_ptr<::mlir::Passmlir::math::createMathUpliftToFMA ()
void mlir::math::registerMathExpandOpsPass ()
void mlir::math::registerMathExpandOpsPassPass ()
void mlir::math::registerMathExtendToSupportedTypes ()
void mlir::math::registerMathExtendToSupportedTypesPass ()
void mlir::math::registerMathSincosFusionPass ()
void mlir::math::registerMathSincosFusionPassPass ()
void mlir::math::registerMathUpliftToFMA ()
void mlir::math::registerMathUpliftToFMAPass ()
void mlir::math::registerMathPasses ()
void mlir::math::populateExpansionPatterns (RewritePatternSet &patterns, ArrayRef< StringRef > opMnemonics={})
 Adds patterns to expand math operations into other more fundamental operations.
void mlir::populateMathAlgebraicSimplificationPatterns (RewritePatternSet &patterns)
void mlir::populatePolynomialApproximateTanhPattern (RewritePatternSet &patterns)
void mlir::populatePolynomialApproximateErfPattern (RewritePatternSet &patterns)
void mlir::populatePolynomialApproximateErfcPattern (RewritePatternSet &patterns)
void mlir::populateMathF32ExpansionPatterns (RewritePatternSet &patterns, llvm::function_ref< bool(StringRef)> predicate, PatternBenefit=1)
void mlir::populateMathPolynomialApproximationPatterns (RewritePatternSet &patterns, llvm::function_ref< bool(StringRef)> predicate, PatternBenefit=1)
void mlir::populateMathPolynomialApproximationPatterns (RewritePatternSet &patterns, const MathPolynomialApproximationOptions &options={})
void mlir::populateUpliftToFMAPatterns (RewritePatternSet &patterns)
void mlir::math::populateExtendToSupportedTypesTypeConverter (TypeConverter &typeConverter, const SetVector< Type > &sourceTypes, Type targetType)
void mlir::math::populateExtendToSupportedTypesConversionTarget (ConversionTarget &target, TypeConverter &typeConverter)
void mlir::math::populateExtendToSupportedTypesPatterns (RewritePatternSet &patterns, const TypeConverter &typeConverter)

Macro Definition Documentation

◆ GEN_PASS_DECL

#define GEN_PASS_DECL

Definition at line 17 of file Passes.h.

◆ GEN_PASS_DECL_MATHEXPANDOPSPASS

#define GEN_PASS_DECL_MATHEXPANDOPSPASS

Definition at line 6 of file Passes.h.

◆ GEN_PASS_DECL_MATHEXTENDTOSUPPORTEDTYPES

#define GEN_PASS_DECL_MATHEXTENDTOSUPPORTEDTYPES

Definition at line 7 of file Passes.h.

◆ GEN_PASS_DECL_MATHSINCOSFUSIONPASS

#define GEN_PASS_DECL_MATHSINCOSFUSIONPASS

Definition at line 8 of file Passes.h.

◆ GEN_PASS_DECL_MATHUPLIFTTOFMA

#define GEN_PASS_DECL_MATHUPLIFTTOFMA

Definition at line 9 of file Passes.h.

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION

Definition at line 18 of file Passes.h.

◆ GEN_PASS_REGISTRATION_MATHEXPANDOPSPASS

#define GEN_PASS_REGISTRATION_MATHEXPANDOPSPASS

Definition at line 358 of file Passes.h.

◆ GEN_PASS_REGISTRATION_MATHEXTENDTOSUPPORTEDTYPES

#define GEN_PASS_REGISTRATION_MATHEXTENDTOSUPPORTEDTYPES

Definition at line 359 of file Passes.h.

◆ GEN_PASS_REGISTRATION_MATHSINCOSFUSIONPASS

#define GEN_PASS_REGISTRATION_MATHSINCOSFUSIONPASS

Definition at line 360 of file Passes.h.

◆ GEN_PASS_REGISTRATION_MATHUPLIFTTOFMA

#define GEN_PASS_REGISTRATION_MATHUPLIFTTOFMA

Definition at line 361 of file Passes.h.