MLIR  22.0.0git
XeGPUToXeVM.h
Go to the documentation of this file.
1 //===-- XeGPUToXeVM.h - Convert XeGPU to XeVM dialect ---------_--*- C++-*-===//
2 //
3 // This file is licensed 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 #ifndef MLIR_CONVERSION_XEGPUTOXEVM_XEGPUTOXEVM_H_
9 #define MLIR_CONVERSION_XEGPUTOXEVM_XEGPUTOXEVM_H_
10 
11 #include <memory>
12 
13 namespace mlir {
14 class DialectRegistry;
15 class LLVMTypeConverter;
16 class RewritePatternSet;
17 class Pass;
18 
19 #define GEN_PASS_DECL_CONVERTXEGPUTOXEVMPASS
20 #include "mlir/Conversion/Passes.h.inc"
21 
23  const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns);
24 
25 } // namespace mlir
26 
27 #endif // MLIR_CONVERSION_XEGPUTOXEVM_XEGPUTOXEVM_H_
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateXeGPUToXeVMConversionPatterns(const LLVMTypeConverter &typeConverter, RewritePatternSet &patterns)