clang: lib/CodeGen/CodeGenTypeCache.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_CLANG_LIB_CODEGEN_CODEGENTYPECACHE_H

14#define LLVM_CLANG_LIB_CODEGEN_CODEGENTYPECACHE_H

15

18#include "llvm/IR/CallingConv.h"

19

20namespace llvm {

22 class IntegerType;

23 class PointerType;

24}

25

27namespace CodeGen {

28

29

30

31

33

35

36

38

40

41

43

44

46

47

48 union {

52 };

53

54

55 union {

61 };

62

63

64 union {

67 };

68

69

70 union {

73 };

74

75

77

78

79

80 union {

83 };

86 }

89 }

90

91

93

94

95 union {

98 };

99

100

101 union {

104 };

105

107

110 }

113 }

116 }

119 }

120

123

125};

126

127}

128}

129

130#endif

Provides definitions for the various language-specific address spaces.

CharUnits - This is an opaque type for sizes expressed in character units.

static CharUnits fromQuantity(QuantityType Quantity)

fromQuantity - Construct a CharUnits quantity from a raw integer type.

The JSON file list parser is used to communicate input to InstallAPI.

LangAS

Defines the address space values used by the address space qualifier of QualType.

Diagnostic wrappers for TextAPI types for error reporting.

This structure provides a set of types that are commonly used during IR emission.

unsigned char SizeAlignInBytes

llvm::CallingConv::ID RuntimeCC

llvm::PointerType * VoidPtrTy

llvm::IntegerType * Int64Ty

llvm::PointerType * Int8PtrPtrTy

llvm::PointerType * ConstGlobalsPtrTy

void* in the address space for constant globals

CharUnits getIntAlign() const

llvm::PointerType * GlobalsVoidPtrTy

llvm::IntegerType * Int8Ty

i8, i16, i32, and i64

llvm::IntegerType * CharTy

char

LangAS ASTAllocaAddressSpace

unsigned char PointerWidthInBits

The width of a pointer into the generic address space.

unsigned char IntAlignInBytes

llvm::Type * HalfTy

half, bfloat, float, double

CharUnits getPointerSize() const

unsigned char PointerSizeInBytes

unsigned char SizeSizeInBytes

llvm::CallingConv::ID getRuntimeCC() const

CharUnits getIntSize() const

llvm::IntegerType * SizeTy

llvm::PointerType * VoidPtrPtrTy

llvm::PointerType * GlobalsInt8PtrTy

llvm::PointerType * AllocaVoidPtrTy

llvm::IntegerType * Int32Ty

llvm::IntegerType * IntPtrTy

llvm::IntegerType * IntTy

int

llvm::IntegerType * Int16Ty

CharUnits getSizeSize() const

unsigned char IntSizeInBytes

CharUnits getSizeAlign() const

unsigned char PointerAlignInBytes

llvm::PointerType * Int8PtrTy

llvm::PointerType * UnqualPtrTy

llvm::IntegerType * PtrDiffTy

CharUnits getPointerAlign() const

llvm::PointerType * AllocaInt8PtrTy

LangAS getASTAllocaAddressSpace() const