1//===- SPIRVStructurizerWrapper.h - New pass manager wrapper from SPIRV
2// Structurizer -----------*- C++ -*-===//
3//
4// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5// See https://llvm.org/LICENSE.txt for license information.
6// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7//
8//===----------------------------------------------------------------------===//
9//
10// \file New pass manager wrapper from SPIRV Structurizer.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVSTRUCTURIZER_H
15#define LLVM_LIB_TARGET_SPIRV_SPIRVSTRUCTURIZER_H
16
17#include "llvm/IR/PassManager.h"
18
19namespace llvm {
20
21class SPIRVStructurizerWrapper
22 : public PassInfoMixin<SPIRVStructurizerWrapper> {
23public:
24 PreservedAnalyses run(Function &M, FunctionAnalysisManager &AM);
25};
26
27} // namespace llvm
28
29#endif // LLVM_LIB_TARGET_SPIRV_SPIRVSTRUCTURIZER_H
30