LLVM: include/llvm/Frontend/HLSL/HLSLResource.h Source File (original) (raw)

Go to the documentation of this file.

1//===- HLSLResource.h - HLSL Resource helper objects ----------------------===//

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 This file contains helper objects for working with HLSL Resources.

10///

11//===----------------------------------------------------------------------===//

12

13#ifndef LLVM_FRONTEND_HLSL_HLSLRESOURCE_H

14#define LLVM_FRONTEND_HLSL_HLSLRESOURCE_H

15

17

18namespace llvm {

19namespace hlsl {

20

21// For now we use DXIL ABI enum values directly. This may change in the future.

23

25

26} // namespace hlsl

27} // namespace llvm

28

29#endif // LLVM_FRONTEND_HLSL_HLSLRESOURCE_H

const unsigned CBufferRowSizeInBytes

Definition HLSLResource.h:24

This is an optimization pass for GlobalISel generic memory operations.