Files
gps/tools/local/circt/include/mlir/Conversion/IndexToSPIRV/IndexToSPIRV.h
T
2026-07-12 11:01:51 +03:00

31 lines
1005 B
C++

//===- IndexToSPIRV.h - Index to SPIRV dialect conversion -------*- 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_CONVERSION_INDEXTOSPIRV_INDEXTOSPIRV_H
#define MLIR_CONVERSION_INDEXTOSPIRV_INDEXTOSPIRV_H
#include "mlir/Pass/Pass.h"
#include <memory>
namespace mlir {
class RewritePatternSet;
class SPIRVTypeConverter;
class Pass;
#define GEN_PASS_DECL_CONVERTINDEXTOSPIRVPASS
#include "mlir/Conversion/Passes.h.inc"
namespace index {
void populateIndexToSPIRVPatterns(const SPIRVTypeConverter &converter,
RewritePatternSet &patterns);
std::unique_ptr<OperationPass<>> createConvertIndexToSPIRVPass();
} // namespace index
} // namespace mlir
#endif // MLIR_CONVERSION_INDEXTOSPIRV_INDEXTOSPIRV_H