Please use GitHub pull requests for new patches. Phabricator shutdown timeline
Changeset View
Changeset View
Standalone View
Standalone View
mlir/include/mlir/Dialect/ArmSME/Transforms.h
- This file was added.
//===- Transforms.h - ArmSME Dialect Transformation Entrypoints -*- C++ -*-===// | |||||
// | |||||
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |||||
// See https://llvm.org/LICENSE.txt for license information. | |||||
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |||||
// | |||||
//===----------------------------------------------------------------------===// | |||||
#ifndef MLIR_DIALECT_ARMSME_TRANSFORMS_H | |||||
#define MLIR_DIALECT_ARMSME_TRANSFORMS_H | |||||
namespace mlir { | |||||
class LLVMConversionTarget; | |||||
class LLVMTypeConverter; | |||||
class RewritePatternSet; | |||||
/// Collect a set of patterns to lower ArmSME ops to ops that map to LLVM | |||||
/// intrinsics. | |||||
void populateArmSMELegalizeForLLVMExportPatterns(LLVMTypeConverter &converter, | |||||
RewritePatternSet &patterns); | |||||
/// Configure the target to support lowering ArmSME ops to ops that map to LLVM | |||||
/// intrinsics. | |||||
void configureArmSMELegalizeForExportTarget(LLVMConversionTarget &target); | |||||
} // namespace mlir | |||||
#endif // MLIR_DIALECT_ARMSME_TRANSFORMS_H |