| 1 | //===- SPIRVCBufferAccess.h - Translate CBuffer Loads ----------*- 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 | #ifndef LLVM_LIB_TARGET_SPIRV_SPIRVCBUFFERACCESS_H_ |
| 9 | #define LLVM_LIB_TARGET_SPIRV_SPIRVCBUFFERACCESS_H_ |
| 10 | |
| 11 | #include "llvm/IR/PassManager.h" |
| 12 | |
| 13 | namespace llvm { |
| 14 | |
| 15 | class SPIRVCBufferAccess : public PassInfoMixin<SPIRVCBufferAccess> { |
| 16 | public: |
| 17 | PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM); |
| 18 | }; |
| 19 | |
| 20 | } // namespace llvm |
| 21 | |
| 22 | #endif // LLVM_LIB_TARGET_SPIRV_SPIRVCBUFFERACCESS_H_ |
| 23 | |