MLIR  17.0.0git
Namespaces | Macros | Functions
Passes.h File Reference
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/Arith/Transforms/Passes.h.inc"

Go to the source code of this file.

Namespaces

 mlir
 This header declares functions that assit transformations in the MemRef dialect.
 
 mlir::arith
 

Macros

#define GEN_PASS_DECL
 
#define GEN_PASS_DECL_ARITHINTRANGEOPTS
 
#define GEN_PASS_REGISTRATION
 Generate the code for registering passes. More...
 

Functions

std::unique_ptr< Passmlir::arith::createArithBufferizePass ()
 Create a pass to bufferize Arith ops. More...
 
std::unique_ptr< Passmlir::arith::createConstantBufferizePass (uint64_t alignment=0)
 Create a pass to bufferize arith.constant ops. More...
 
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::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< Passmlir::arith::createArithExpandOpsPass ()
 Create a pass to legalize Arith ops. More...
 
std::unique_ptr< Passmlir::arith::createArithExpandOpsPass (const ArithExpandOpsOptions &options)
 Create a pass to legalize Arith ops with specified configuration. More...
 
std::unique_ptr< Passmlir::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< Passmlir::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...
 

Macro Definition Documentation

◆ GEN_PASS_DECL

#define GEN_PASS_DECL

Definition at line 19 of file Passes.h.

◆ GEN_PASS_DECL_ARITHINTRANGEOPTS

#define GEN_PASS_DECL_ARITHINTRANGEOPTS

Definition at line 21 of file Passes.h.

◆ GEN_PASS_REGISTRATION

#define GEN_PASS_REGISTRATION

Generate the code for registering passes.

Definition at line 74 of file Passes.h.