MLIR
20.0.0git
|
Go to the source code of this file.
Namespaces | |
mlir | |
Include the generated interface declarations. | |
mlir::arith | |
Macros | |
#define | GEN_PASS_DECL |
#define | GEN_PASS_REGISTRATION |
Generate the code for registering passes. More... | |
Functions | |
void | mlir::arith::populateArithWideIntEmulationPatterns (WideIntEmulationConverter &typeConverter, RewritePatternSet &patterns) |
Adds patterns to emulate wide Arith and Function ops over integer types into supported ones. More... | |
void | mlir::arith::populateArithNarrowTypeEmulationPatterns (NarrowTypeEmulationConverter &typeConverter, RewritePatternSet &patterns) |
Adds patterns to emulate narrow Arith and Function ops into wide supported types. More... | |
void | mlir::arith::populateEmulateUnsupportedFloatsConversions (TypeConverter &converter, ArrayRef< Type > sourceTypes, Type targetType) |
Populate the type conversions needed to emulate the unsupported sourceTypes with destType More... | |
void | mlir::arith::populateEmulateUnsupportedFloatsPatterns (RewritePatternSet &patterns, TypeConverter &converter) |
Add rewrite patterns for converting operations that use illegal float types to ones that use legal ones. More... | |
void | mlir::arith::populateEmulateUnsupportedFloatsLegality (ConversionTarget &target, TypeConverter &converter) |
Set up a dialect conversion to reject arithmetic operations on unsupported float types. More... | |
void | mlir::arith::populateCeilFloorDivExpandOpsPatterns (RewritePatternSet &patterns) |
Add patterns to expand Arith ceil/floor division ops. More... | |
void | mlir::arith::populateExpandBFloat16Patterns (RewritePatternSet &patterns) |
Add patterns to expand Arith bf16 patterns to lower level bitcasts/shifts. More... | |
void | mlir::arith::populateArithExpandOpsPatterns (RewritePatternSet &patterns) |
Add patterns to expand Arith ops. More... | |
std::unique_ptr< Pass > | mlir::arith::createArithUnsignedWhenEquivalentPass () |
Create a pass to replace signed ops with unsigned ones where they are proven equivalent. More... | |
void | mlir::arith::populateIntRangeOptimizationsPatterns (RewritePatternSet &patterns, DataFlowSolver &solver) |
Add patterns for int range based optimizations. More... | |
std::unique_ptr< Pass > | mlir::arith::createIntRangeOptimizationsPass () |
Create a pass which do optimizations based on integer range analysis. More... | |
void | mlir::arith::populateArithIntNarrowingPatterns (RewritePatternSet &patterns, const ArithIntNarrowingOptions &options) |
Add patterns for integer bitwidth narrowing. More... | |