brintos

brintos / llvm-project-archived public Read only

0
0
Text · 940 B · 6c1cde1 Raw
29 lines · c
1//===- DXILCBufferAccess.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-exception6//7//===----------------------------------------------------------------------===//8//9// \file Pass for replacing loads from cbuffers in the cbuffer address space to10// cbuffer load intrinsics.11//12//===----------------------------------------------------------------------===//13 14#ifndef LLVM_LIB_TARGET_DIRECTX_DXILCBUFFERACCESS_H15#define LLVM_LIB_TARGET_DIRECTX_DXILCBUFFERACCESS_H16 17#include "llvm/IR/PassManager.h"18 19namespace llvm {20 21class DXILCBufferAccess : public PassInfoMixin<DXILCBufferAccess> {22public:23  PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);24};25 26} // namespace llvm27 28#endif // LLVM_LIB_TARGET_DIRECTX_DXILCBUFFERACCESS_H29