9 #ifndef MLIR_DIALECT_AMX_TRANSFORMS_H
10 #define MLIR_DIALECT_AMX_TRANSFORMS_H
14 class LLVMConversionTarget;
15 class LLVMTypeConverter;
16 class RewritePatternSet;
21 const LLVMTypeConverter &converter, RewritePatternSet &patterns);
Include the generated interface declarations.
void configureAMXLegalizeForExportTarget(LLVMConversionTarget &target)
Configure the target to support lowering AMX ops to ops that map to LLVM intrinsics.
void populateAMXLegalizeForLLVMExportPatterns(const LLVMTypeConverter &converter, RewritePatternSet &patterns)
Collect a set of patterns to lower AMX ops to ops that map to LLVM intrinsics.