MLIR 22.0.0git
Transforms.h
Go to the documentation of this file.
1//===- Transforms.h - AMX Dialect Transformation Entrypoints ----*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8
9#ifndef MLIR_DIALECT_AMX_TRANSFORMS_H
10#define MLIR_DIALECT_AMX_TRANSFORMS_H
11
12namespace mlir {
13
17class DialectRegistry;
18
19/// Collect a set of patterns to lower AMX ops to ops that map to LLVM
20/// intrinsics.
23
24/// Configure the target to support lowering AMX ops to ops that map to LLVM
25/// intrinsics.
27
28/// Register LLVM conversion interface for AMX dialect.
30
31} // namespace mlir
32
33#endif // MLIR_DIALECT_AMX_TRANSFORMS_H
The DialectRegistry maps a dialect namespace to a constructor for the matching dialect.
Derived class that automatically populates legalization information for different LLVM ops.
Conversion from types to the LLVM IR dialect.
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
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 &registry)
Register LLVM conversion interface for AMX dialect.