xref: /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILResourceImplicitBinding.h (revision 700637cbb5e582861067a11aaca4d053546871d2)
1 //===- DXILResourceImplicitBindings.h --_____________-----------*- 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 // \file Assign register slots to resources without explicit binding.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_LIB_TARGET_DIRECTX_DXILRESOURCEIMPLICITBINDING_H
14 #define LLVM_LIB_TARGET_DIRECTX_DXILRESOURCEIMPLICITBINDING_H
15 
16 #include "llvm/IR/PassManager.h"
17 #include "llvm/Pass.h"
18 
19 namespace llvm {
20 
21 class DXILResourceImplicitBinding
22     : public PassInfoMixin<DXILResourceImplicitBinding> {
23 public:
24   PreservedAnalyses run(Module &M, ModuleAnalysisManager &);
25 };
26 
27 } // namespace llvm
28 
29 #endif // LLVM_LIB_TARGET_DIRECTX_DXILRESOURCEIMPLICITBINDING_H
30