28 lines
869 B
C++
28 lines
869 B
C++
//===-- XeGPUToXeVM.h - Convert XeGPU to XeVM dialect ---------_--*- C++-*-===//
|
|
//
|
|
// This file is licensed 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_CONVERSION_XEGPUTOXEVM_XEGPUTOXEVM_H_
|
|
#define MLIR_CONVERSION_XEGPUTOXEVM_XEGPUTOXEVM_H_
|
|
|
|
#include <memory>
|
|
|
|
namespace mlir {
|
|
class DialectRegistry;
|
|
class LLVMTypeConverter;
|
|
class RewritePatternSet;
|
|
class Pass;
|
|
|
|
#define GEN_PASS_DECL_CONVERTXEGPUTOXEVMPASS
|
|
#include "mlir/Conversion/Passes.h.inc"
|
|
|
|
void populateXeGPUToXeVMConversionPatterns(
|
|
const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns);
|
|
|
|
} // namespace mlir
|
|
|
|
#endif // MLIR_CONVERSION_XEGPUTOXEVM_XEGPUTOXEVM_H_
|