1 //===- PassDetail.h - Conversion Pass class details -------------*- 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 CONVERSION_PASSDETAIL_H_ 10 #define CONVERSION_PASSDETAIL_H_ 11 12 #include "mlir/Pass/Pass.h" 13 14 namespace mlir { 15 class AffineDialect; 16 class StandardOpsDialect; 17 18 // Forward declaration from Dialect.h 19 template <typename ConcreteDialect> 20 void registerDialect(DialectRegistry ®istry); 21 22 namespace gpu { 23 class GPUDialect; 24 class GPUModuleOp; 25 } // end namespace gpu 26 27 namespace LLVM { 28 class LLVMDialect; 29 class LLVMAVX512Dialect; 30 } // end namespace LLVM 31 32 namespace NVVM { 33 class NVVMDialect; 34 } // end namespace NVVM 35 36 namespace omp { 37 class OpenMPDialect; 38 } // end namespace omp 39 40 namespace pdl_interp { 41 class PDLInterpDialect; 42 } // end namespace pdl_interp 43 44 namespace ROCDL { 45 class ROCDLDialect; 46 } // end namespace ROCDL 47 48 namespace scf { 49 class SCFDialect; 50 } // end namespace scf 51 52 namespace spirv { 53 class SPIRVDialect; 54 } // end namespace spirv 55 56 namespace vector { 57 class VectorDialect; 58 } // end namespace vector 59 60 #define GEN_PASS_CLASSES 61 #include "mlir/Conversion/Passes.h.inc" 62 63 } // end namespace mlir 64 65 #endif // CONVERSION_PASSDETAIL_H_ 66