MLIR 22.0.0git
StructuralTypeConversions.h File Reference

Go to the source code of this file.

Namespaces

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

Functions

void mlir::cf::populateCFStructuralTypeConversionsAndLegality (const TypeConverter &typeConverter, RewritePatternSet &patterns, ConversionTarget &target, PatternBenefit benefit=1)
 Populates patterns for CF structural type conversions and sets up the provided ConversionTarget with the appropriate legality configuration for the ops to get converted properly.
void mlir::cf::populateCFStructuralTypeConversions (const TypeConverter &typeConverter, RewritePatternSet &patterns, PatternBenefit benefit=1)
 Similar to populateCFStructuralTypeConversionsAndLegality but does not populate the conversion target.
void mlir::cf::populateCFStructuralTypeConversionTarget (const TypeConverter &typeConverter, ConversionTarget &target)
 Updates the ConversionTarget with dynamic legality of CF operations based on the provided type converter.