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

Go to the documentation of this file.

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_FRONTEND_HLSL_CBUFFER_H

14#define LLVM_FRONTEND_HLSL_CBUFFER_H

15

19#include

20

21namespace llvm {

25

27

34

41

42class CBufferMetadata {

45

46 CBufferMetadata(NamedMDNode *MD) : MD(MD) {}

47

48public:

49 static std::optional

51

55

57};

58

59}

60}

61

62#endif

This file defines the SmallVector class.

A Module instance is used to store all the information related to an LLVM module.

This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.

The instances of the Type class are immutable: once they are created, they are never changed.

An efficient, type-erasing, non-owning reference to a callable.

This is an optimization pass for GlobalISel generic memory operations.

GlobalVariable * Handle

Definition CBuffer.h:36

SmallVector< CBufferMember > Members

Definition CBuffer.h:37

CBufferMapping(GlobalVariable *Handle)

Definition CBuffer.h:39

size_t Offset

Definition CBuffer.h:30

GlobalVariable * GV

Definition CBuffer.h:29

CBufferMember(GlobalVariable *GV, size_t Offset)

Definition CBuffer.h:32