LLVM: lib/Target/DirectX/CBufferDataLayout.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_TARGET_DIRECTX_CBUFFERDATALAYOUT_H

14#define LLVM_TARGET_DIRECTX_CBUFFERDATALAYOUT_H

15

17

18#include

19#include <stdint.h>

20

21namespace llvm {

24

25namespace dxil {

26

28

31 const bool IsLegacyLayout;

32 std::unique_ptr LegacyDL;

33

34public:

38};

39

40}

41}

42

43#endif

A parsed version of the target data layout string in and methods for querying it.

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

CBufferDataLayout(const DataLayout &DL, const bool IsLegacy)

llvm::TypeSize getTypeAllocSizeInBytes(Type *Ty)

This is an optimization pass for GlobalISel generic memory operations.