MLIR 22.0.0git
ComplexToSPIRV.h
Go to the documentation of this file.
1//===- ComplexToSPIRV.h - Complex to SPIR-V Patterns ------------*- 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// Provides patterns to convert Complex dialect to SPIR-V dialect.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_CONVERSION_COMPLEXTOSPIRV_COMPLEXTOSPIRV_H
14#define MLIR_CONVERSION_COMPLEXTOSPIRV_COMPLEXTOSPIRV_H
15
17
18namespace mlir {
20
21/// Appends to a pattern list additional patterns for translating Complex ops
22/// to SPIR-V ops.
25
26} // namespace mlir
27
28#endif // MLIR_CONVERSION_COMPLEXTOSPIRV_COMPLEXTOSPIRV_H
Type conversion from builtin types to SPIR-V types for shader interface.
Include the generated interface declarations.
const FrozenRewritePatternSet & patterns
void populateComplexToSPIRVPatterns(const SPIRVTypeConverter &typeConverter, RewritePatternSet &patterns)
Appends to a pattern list additional patterns for translating Complex ops to SPIR-V ops.