Path: blob/main/contrib/llvm-project/llvm/lib/Target/DirectX/DXILCBufferAccess.h
213799 views
//===- DXILCBufferAccess.h - Translate CBuffer Loads ------------*- C++ -*-===//1//2// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.3// See https://llvm.org/LICENSE.txt for license information.4// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception5//6//===----------------------------------------------------------------------===//7//8// \file Pass for replacing loads from cbuffers in the cbuffer address space to9// cbuffer load intrinsics.10//11//===----------------------------------------------------------------------===//1213#ifndef LLVM_LIB_TARGET_DIRECTX_DXILCBUFFERACCESS_H14#define LLVM_LIB_TARGET_DIRECTX_DXILCBUFFERACCESS_H1516#include "llvm/IR/PassManager.h"1718namespace llvm {1920class DXILCBufferAccess : public PassInfoMixin<DXILCBufferAccess> {21public:22PreservedAnalyses run(Module &M, ModuleAnalysisManager &AM);23};2425} // namespace llvm2627#endif // LLVM_LIB_TARGET_DIRECTX_DXILCBUFFERACCESS_H282930