|
MLIR 23.0.0git
|
Namespaces | |
| namespace | impl |
Classes | |
| struct | ErfcPolynomialApproximation |
| struct | ErfPolynomialApproximation |
| struct | MathExpandOpsPassOptions |
| struct | MathExtendToSupportedTypesOptions |
| std::unique_ptr<::mlir::Pass > mlir::math::createMathExpandOpsPass | ( | ) |
Definition at line 99 of file ExpandOps.cpp.
References b.
| std::unique_ptr<::mlir::Pass > mlir::math::createMathExpandOpsPass | ( | MathExpandOpsPassOptions | options | ) |
Definition at line 103 of file ExpandOps.cpp.
References b.
| std::unique_ptr<::mlir::Pass > mlir::math::createMathExtendToSupportedTypes | ( | ) |
Definition at line 198 of file ExtendToSupportedTypes.cpp.
| std::unique_ptr<::mlir::Pass > mlir::math::createMathExtendToSupportedTypes | ( | MathExtendToSupportedTypesOptions | options | ) |
Definition at line 202 of file ExtendToSupportedTypes.cpp.
| std::unique_ptr<::mlir::Pass > mlir::math::createMathSincosFusionPass | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 277 of file SincosFusion.cpp.
| std::unique_ptr<::mlir::Pass > mlir::math::createMathUpliftToFMA | ( | ) |
We declare an explicit private instantiation because Pass classes should only be visible by the current library.
Definition at line 352 of file UpliftToFMA.cpp.
| void mlir::math::populateExpansionPatterns | ( | RewritePatternSet & | patterns, |
| ArrayRef< StringRef > | opMnemonics = {} ) |
Adds patterns to expand math operations into other more fundamental operations.
For example, hyperbolic functions are expanded into expressions using exp. If opMnemonics is empty then all available patterns will be added, otherwise only the patterns corresponding to ops in opMnemonics will be added to the set.
Definition at line 804 of file ExpandOps.cpp.
References mlir::RewritePatternSet::add(), convertAcoshOp(), convertAsinhOp(), convertAtanhOp(), convertCeilOp(), convertClampfOp(), convertCoshOp(), convertCtlzOp(), convertExp2fOp(), convertFmaFOp(), convertFPowIOp(), convertPowfOp(), convertRoundEvenOp(), convertRoundOp(), convertRsqrtOp(), convertSinhOp(), convertTanhOp(), and convertTanOp().
| void mlir::math::populateExtendToSupportedTypesConversionTarget | ( | ConversionTarget & | target, |
| TypeConverter & | typeConverter ) |
Definition at line 82 of file ExtendToSupportedTypes.cpp.
References mlir::Operation::getDialect(), and target.
| void mlir::math::populateExtendToSupportedTypesPatterns | ( | RewritePatternSet & | patterns, |
| const TypeConverter & | typeConverter ) |
Definition at line 116 of file ExtendToSupportedTypes.cpp.
References mlir::RewritePatternSet::add(), and mlir::RewritePatternSet::getContext().
| void mlir::math::populateExtendToSupportedTypesTypeConverter | ( | TypeConverter & | typeConverter, |
| const SetVector< Type > & | sourceTypes, | ||
| Type | targetType ) |
Definition at line 53 of file ExtendToSupportedTypes.cpp.
|
inline |
|
inline |
|
inline |
Definition at line 454 of file Passes.h.
Referenced by mlir::registerAllPasses().
|
inline |