9 #ifndef MLIR_DIALECT_AMX_TRANSFORMS_H
10 #define MLIR_DIALECT_AMX_TRANSFORMS_H
14 class LLVMConversionTarget;
15 class LLVMTypeConverter;
16 class RewritePatternSet;
17 class DialectRegistry;
22 RewritePatternSet &patterns);
Include the generated interface declarations.
void populateAMXLegalizeForLLVMExportPatterns(LLVMTypeConverter &converter, RewritePatternSet &patterns)
Collect a set of patterns to lower AMX ops to ops that map to LLVM intrinsics.
void configureAMXLegalizeForExportTarget(LLVMConversionTarget &target)
Configure the target to support lowering AMX ops to ops that map to LLVM intrinsics.
void registerConvertAMXToLLVMInterface(DialectRegistry ®istry)
Register LLVM conversion interface for AMX dialect.