struct CodeGenTypeCache

Declaration

struct CodeGenTypeCache { /* full declaration omitted */ };

Description

This structure provides a set of types that are commonly used during IR emission. It's initialized once in CodeGenModule's constructor and then copied around into new CodeGenFunctions.

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:32

Member Variables

public llvm::Type* VoidTy
void
public llvm::IntegerType* Int8Ty
i8, i16, i32, and i64
public llvm::IntegerType* Int16Ty
i8, i16, i32, and i64
public llvm::IntegerType* Int32Ty
i8, i16, i32, and i64
public llvm::IntegerType* Int64Ty
i8, i16, i32, and i64
public llvm::Type* HalfTy
half, bfloat, float, double
public llvm::Type* BFloatTy
half, bfloat, float, double
public llvm::Type* FloatTy
half, bfloat, float, double
public llvm::Type* DoubleTy
half, bfloat, float, double
public llvm::IntegerType* IntTy
int
public llvm::IntegerType* CharTy
char
public anonymous struct / union
public anonymous struct / union
public anonymous struct / union
public anonymous struct / union
public anonymous struct / union
public anonymous struct / union
public unsigned char PointerWidthInBits
The width of a pointer into the generic address space.
public anonymous struct / union
public anonymous struct / union
public clang::LangAS ASTAllocaAddressSpace
public llvm::CallingConv::ID RuntimeCC

Method Overview

Methods

clang::LangAS getASTAllocaAddressSpace() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:124

clang::CharUnits getIntAlign() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:87

clang::CharUnits getIntSize() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:84

clang::CharUnits getPointerAlign() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:117

clang::CharUnits getPointerSize() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:114

llvm::CallingConv::ID getRuntimeCC() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:122

clang::CharUnits getSizeAlign() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:111

clang::CharUnits getSizeSize() const

Declared at: clang/lib/CodeGen/CodeGenTypeCache.h:108