30 lines · c
1//===- SPIRVStructurizerWrapper.h - New pass manager wrapper from SPIRV2// 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-exception7//8//===----------------------------------------------------------------------===//9//10// \file New pass manager wrapper from SPIRV Structurizer.11//12//===----------------------------------------------------------------------===//13 14#ifndef LLVM_LIB_TARGET_SPIRV_SPIRVSTRUCTURIZER_H15#define LLVM_LIB_TARGET_SPIRV_SPIRVSTRUCTURIZER_H16 17#include "llvm/IR/PassManager.h"18 19namespace llvm {20 21class SPIRVStructurizerWrapper22 : public PassInfoMixin<SPIRVStructurizerWrapper> {23public:24 PreservedAnalyses run(Function &M, FunctionAnalysisManager &AM);25};26 27} // namespace llvm28 29#endif // LLVM_LIB_TARGET_SPIRV_SPIRVSTRUCTURIZER_H30