29 lines · c
1//===- DXILForwardHandleAccesses.h - Cleanup Handles ------------*- 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-exception6//7//===----------------------------------------------------------------------===//8//9// \file Eliminate redundant stores and loads from handle globals.10//11//===----------------------------------------------------------------------===//12 13#ifndef LLVM_LIB_TARGET_DIRECTX_DXILFORWARDHANDLEACCESS_H14#define LLVM_LIB_TARGET_DIRECTX_DXILFORWARDHANDLEACCESS_H15 16#include "llvm/IR/PassManager.h"17 18namespace llvm {19 20class DXILForwardHandleAccesses21 : public PassInfoMixin<DXILForwardHandleAccesses> {22public:23 PreservedAnalyses run(Function &F, FunctionAnalysisManager &AM);24};25 26} // namespace llvm27 28#endif // LLVM_LIB_TARGET_DIRECTX_DXILFORWARDHANDLEACCESS_H29