13 #ifndef LLVM_CLANG_LIB_CODEGEN_CODEGENTYPECACHE_H 14 #define LLVM_CLANG_LIB_CODEGEN_CODEGENTYPECACHE_H 18 #include "llvm/IR/CallingConv.h" 37 llvm::IntegerType *
Int8Ty, *Int16Ty, *Int32Ty, *Int64Ty;
39 llvm::Type *
HalfTy, *FloatTy, *DoubleTy;
76 return CharUnits::fromQuantity(IntSizeInBytes);
79 return CharUnits::fromQuantity(IntAlignInBytes);
100 return CharUnits::fromQuantity(SizeSizeInBytes);
103 return CharUnits::fromQuantity(SizeAlignInBytes);
106 return CharUnits::fromQuantity(PointerSizeInBytes);
109 return CharUnits::fromQuantity(PointerAlignInBytes);
llvm::PointerType * Int8PtrPtrTy
llvm::IntegerType * IntTy
int
CharUnits getIntAlign() const
Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be placed into a PointerUnion...
CharUnits getPointerSize() const
LangAS ASTAllocaAddressSpace
llvm::IntegerType * Int8Ty
i8, i16, i32, and i64
unsigned char SizeAlignInBytes
LangAS
Defines the address space values used by the address space qualifier of QualType. ...
llvm::IntegerType * SizeTy
CharUnits getSizeAlign() const
llvm::CallingConv::ID RuntimeCC
CharUnits - This is an opaque type for sizes expressed in character units.
unsigned char PointerWidthInBits
The width of a pointer into the generic address space.
llvm::PointerType * VoidPtrTy
llvm::PointerType * VoidPtrPtrTy
CharUnits getPointerAlign() const
Provides definitions for the various language-specific address spaces.
llvm::Type * HalfTy
float, double
llvm::CallingConv::ID getRuntimeCC() const
CharUnits getSizeSize() const
llvm::PointerType * AllocaInt8PtrTy
unsigned char IntSizeInBytes
unsigned char IntAlignInBytes
Optional< types::ID > Type
Dataflow Directional Tag Classes.
unsigned char PointerAlignInBytes
llvm::IntegerType * IntPtrTy
llvm::PointerType * Int8PtrTy
CharUnits getIntSize() const
llvm::IntegerType * PtrDiffTy
llvm::PointerType * AllocaVoidPtrTy
LangAS getASTAllocaAddressSpace() const
unsigned char SizeSizeInBytes
This structure provides a set of types that are commonly used during IR emission. ...
unsigned char PointerSizeInBytes