|
clang 22.0.0git
|
This structure provides a set of types that are commonly used during IR emission. More...
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CIR/CodeGen/CIRGenTypeCache.h"
Public Member Functions | |
| CIRGenTypeCache () | |
| clang::CharUnits | getSizeSize () const |
| clang::CharUnits | getSizeAlign () const |
| clang::CharUnits | getPointerAlign () const |
| cir::TargetAddressSpaceAttr | getCIRAllocaAddressSpace () const |
Public Attributes | |
| cir::VoidType | voidTy |
| cir::IntType | sInt8Ty |
| cir::IntType | sInt16Ty |
| cir::IntType | sInt32Ty |
| cir::IntType | sInt64Ty |
| cir::IntType | sInt128Ty |
| cir::IntType | uInt8Ty |
| cir::IntType | uInt16Ty |
| cir::IntType | uInt32Ty |
| cir::IntType | uInt64Ty |
| cir::IntType | uInt128Ty |
| cir::FP16Type | fP16Ty |
| cir::BF16Type | bFloat16Ty |
| cir::SingleType | floatTy |
| cir::DoubleType | doubleTy |
| cir::FP80Type | fP80Ty |
| cir::FP128Type | fP128Ty |
| mlir::Type | uCharTy |
| ClangIR char. | |
| union { | |
| mlir::Type uIntPtrTy | |
| mlir::Type sizeTy | |
| }; | |
| intptr_t, size_t, and ptrdiff_t, which we assume are the same size. | |
| mlir::Type | ptrDiffTy |
| cir::PointerType | voidPtrTy |
| void* in address space 0 | |
| cir::PointerType | uInt8PtrTy |
| cir::PointerType | allocaInt8PtrTy |
| void* in alloca address space | |
| union { | |
| unsigned char PointerAlignInBytes | |
| unsigned char PointerSizeInBytes | |
| }; | |
| The size and alignment of a pointer into the generic address space. | |
| union { | |
| unsigned char SizeSizeInBytes | |
| unsigned char SizeAlignInBytes | |
| }; | |
| The size and alignment of size_t. | |
| cir::TargetAddressSpaceAttr | cirAllocaAddressSpace |
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 CIRGenFunction's.
Definition at line 25 of file CIRGenTypeCache.h.
|
inline |
Definition at line 26 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenFunction::CIRGenFunction().
|
inline |
Definition at line 96 of file CIRGenTypeCache.h.
References cirAllocaAddressSpace.
|
inline |
Definition at line 92 of file CIRGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and PointerAlignInBytes.
|
inline |
Definition at line 88 of file CIRGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and SizeAlignInBytes.
Referenced by clang::CIRGen::CIRGenFunction::emitCXXNewExpr().
|
inline |
Definition at line 85 of file CIRGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and SizeSizeInBytes.
| union { ... } clang::CIRGen::CIRGenTypeCache |
| union { ... } clang::CIRGen::CIRGenTypeCache |
The size and alignment of a pointer into the generic address space.
| union { ... } clang::CIRGen::CIRGenTypeCache |
The size and alignment of size_t.
| cir::PointerType clang::CIRGen::CIRGenTypeCache::allocaInt8PtrTy |
void* in alloca address space
Definition at line 69 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), and clang::CIRGen::CIRGenFunction::emitAutoVarAlloca().
| cir::BF16Type clang::CIRGen::CIRGenTypeCache::bFloat16Ty |
Definition at line 47 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::TargetAddressSpaceAttr clang::CIRGen::CIRGenTypeCache::cirAllocaAddressSpace |
Definition at line 83 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), and getCIRAllocaAddressSpace().
| cir::DoubleType clang::CIRGen::CIRGenTypeCache::doubleTy |
Definition at line 49 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::SingleType clang::CIRGen::CIRGenTypeCache::floatTy |
Definition at line 48 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::FP128Type clang::CIRGen::CIRGenTypeCache::fP128Ty |
Definition at line 51 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::FP16Type clang::CIRGen::CIRGenTypeCache::fP16Ty |
Definition at line 46 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::FP80Type clang::CIRGen::CIRGenTypeCache::fP80Ty |
Definition at line 50 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| unsigned char clang::CIRGen::CIRGenTypeCache::PointerAlignInBytes |
Definition at line 73 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), and getPointerAlign().
| unsigned char clang::CIRGen::CIRGenTypeCache::PointerSizeInBytes |
Definition at line 74 of file CIRGenTypeCache.h.
| mlir::Type clang::CIRGen::CIRGenTypeCache::ptrDiffTy |
Definition at line 62 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::sInt128Ty |
Definition at line 36 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::sInt16Ty |
Definition at line 33 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::sInt32Ty |
Definition at line 34 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::sInt64Ty |
Definition at line 35 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::sInt8Ty |
Definition at line 32 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| unsigned char clang::CIRGen::CIRGenTypeCache::SizeAlignInBytes |
Definition at line 80 of file CIRGenTypeCache.h.
Referenced by getSizeAlign().
| unsigned char clang::CIRGen::CIRGenTypeCache::SizeSizeInBytes |
Definition at line 79 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), and getSizeSize().
| mlir::Type clang::CIRGen::CIRGenTypeCache::sizeTy |
Definition at line 59 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenFunction::emitArrayLength(), emitCXXNewAllocSize(), clang::CIRGen::CIRGenFunction::emitVariablyModifiedType(), and clang::CIRGen::CIRGenFunction::getVLASize().
| mlir::Type clang::CIRGen::CIRGenTypeCache::uCharTy |
ClangIR char.
Definition at line 54 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::uInt128Ty |
Definition at line 43 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::uInt16Ty |
Definition at line 40 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::uInt32Ty |
Definition at line 41 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::uInt64Ty |
Definition at line 42 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::PointerType clang::CIRGen::CIRGenTypeCache::uInt8PtrTy |
Definition at line 66 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::IntType clang::CIRGen::CIRGenTypeCache::uInt8Ty |
Definition at line 39 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| mlir::Type clang::CIRGen::CIRGenTypeCache::uIntPtrTy |
Definition at line 58 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule().
| cir::PointerType clang::CIRGen::CIRGenTypeCache::voidPtrTy |
void* in address space 0
Definition at line 65 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), clang::CIRGen::CIRGenFunction::emitCoroBeginBuiltinCall(), and clang::CIRGen::CIRGenFunction::emitCoroutineBody().
| cir::VoidType clang::CIRGen::CIRGenTypeCache::voidTy |
Definition at line 29 of file CIRGenTypeCache.h.
Referenced by clang::CIRGen::CIRGenModule::CIRGenModule(), and clang::CIRGen::CIRGenFunction::emitConditionalBlocks().