MLIR  19.0.0git
Classes | Namespaces | Functions
Patterns.h File Reference
#include "mlir/Dialect/SCF/IR/SCF.h"
#include "mlir/Dialect/SCF/Transforms/Transforms.h"
#include "mlir/IR/PatternMatch.h"

Go to the source code of this file.

Classes

class  mlir::scf::ForLoopPipeliningPattern
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::scf
 

Functions

void mlir::scf::populateSCFStructuralTypeConversionsAndLegality (TypeConverter &typeConverter, RewritePatternSet &patterns, ConversionTarget &target)
 Populates patterns for SCF structural type conversions and sets up the provided ConversionTarget with the appropriate legality configuration for the ops to get converted properly. More...
 
void mlir::scf::populateSCFStructuralTypeConversions (TypeConverter &typeConverter, RewritePatternSet &patterns)
 Similar to populateSCFStructuralTypeConversionsAndLegality but does not populate the conversion target. More...
 
void mlir::scf::populateSCFStructuralTypeConversionTarget (const TypeConverter &typeConverter, ConversionTarget &target)
 Updates the ConversionTarget with dynamic legality of SCF operations based on the provided type converter. More...
 
void mlir::scf::populateSCFStructuralOneToNTypeConversions (TypeConverter &typeConverter, RewritePatternSet &patterns)
 Populates the provided pattern set with patterns that do 1:N type conversions on (some) SCF ops. More...
 
void mlir::scf::populateSCFLoopPipeliningPatterns (RewritePatternSet &patterns, const PipeliningOption &options)
 Populate patterns for SCF software pipelining transformation. More...
 
void mlir::scf::populateSCFForLoopCanonicalizationPatterns (RewritePatternSet &patterns)
 Populate patterns for canonicalizing operations inside SCF loop bodies. More...
 
void mlir::scf::populateUpliftWhileToForPatterns (RewritePatternSet &patterns)
 Populate patterns to uplift scf.while ops to scf.for. More...