clang 22.0.0git
|
This structure provides a set of types that are commonly used during IR emission. More...
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CodeGenTypeCache.h"
Public Member Functions | |
CharUnits | getIntSize () const |
CharUnits | getIntAlign () const |
CharUnits | getSizeSize () const |
CharUnits | getSizeAlign () const |
CharUnits | getPointerSize () const |
CharUnits | getPointerAlign () const |
llvm::CallingConv::ID | getRuntimeCC () const |
LangAS | getASTAllocaAddressSpace () const |
Public Attributes | |
llvm::Type * | VoidTy |
void | |
llvm::IntegerType * | Int8Ty |
i8, i16, i32, and i64 | |
llvm::IntegerType * | Int16Ty |
llvm::IntegerType * | Int32Ty |
llvm::IntegerType * | Int64Ty |
llvm::Type * | HalfTy |
half, bfloat, float, double | |
llvm::Type * | BFloatTy |
llvm::Type * | FloatTy |
llvm::Type * | DoubleTy |
llvm::IntegerType * | IntTy |
int | |
llvm::IntegerType * | CharTy |
char | |
union { | |
llvm::IntegerType * IntPtrTy | |
llvm::IntegerType * SizeTy | |
llvm::IntegerType * PtrDiffTy | |
}; | |
intptr_t, size_t, and ptrdiff_t, which we assume are the same size. | |
union { | |
llvm::PointerType * UnqualPtrTy | |
llvm::PointerType * VoidPtrTy | |
llvm::PointerType * Int8PtrTy | |
llvm::PointerType * VoidPtrPtrTy | |
llvm::PointerType * Int8PtrPtrTy | |
}; | |
void*, void** in the target's default address space (often 0) | |
union { | |
llvm::PointerType * AllocaVoidPtrTy | |
llvm::PointerType * AllocaInt8PtrTy | |
}; | |
void* in alloca address space | |
union { | |
llvm::PointerType * GlobalsVoidPtrTy | |
llvm::PointerType * GlobalsInt8PtrTy | |
}; | |
void* in default globals address space | |
llvm::PointerType * | ConstGlobalsPtrTy |
void* in the address space for constant globals | |
union { | |
unsigned char IntSizeInBytes | |
unsigned char IntAlignInBytes | |
}; | |
The size and alignment of the builtin C type 'int'. | |
unsigned char | PointerWidthInBits |
The width of a pointer into the generic 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. | |
LangAS | ASTAllocaAddressSpace |
llvm::CallingConv::ID | RuntimeCC |
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.
Definition at line 32 of file CodeGenTypeCache.h.
|
inline |
Definition at line 124 of file CodeGenTypeCache.h.
References ASTAllocaAddressSpace.
Referenced by clang::CodeGen::CodeGenFunction::EmitBuiltinExpr().
|
inline |
Definition at line 87 of file CodeGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and IntAlignInBytes.
Referenced by clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCountedByBoundsChecking(), clang::CodeGen::CodeGenFunction::EmitLoadOfCountedByField(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), getInitThreadEpochPtr(), and initializeForBlockHeader().
|
inline |
Definition at line 84 of file CodeGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and IntSizeInBytes.
Referenced by clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), and initializeForBlockHeader().
|
inline |
Definition at line 117 of file CodeGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and PointerAlignInBytes.
Referenced by buildBlockDescriptor(), buildGlobalBlock(), computeBlockInfo(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCapturedLocals(), emitCopyprivateCopyFunction(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr(), clang::CodeGen::CGOpenMPRuntime::emitReductionFunction(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), emitTargetCallKernelLaunch(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::emitVoidPtrVAArg(), emitWritebackArg(), clang::CodeGen::CodeGenFunction::FinallyInfo::exit(), finishAndCreateGlobal(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenModule::GetAddrOfConstantCFString(), clang::CodeGen::CodeGenFunction::getBlockByrefInfo(), clang::CodeGen::CodeGenFunction::getExceptionSlot(), InitCatchParam(), initializeForBlockHeader(), performTypeAdjustment(), and clang::CodeGen::CodeGenFunction::StartFunction().
|
inline |
Definition at line 114 of file CodeGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and PointerSizeInBytes.
Referenced by computeBlockInfo(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), EmitNullBaseClassInitialization(), clang::CodeGen::emitVoidPtrVAArg(), clang::CodeGen::CodeGenFunction::getBlockByrefInfo(), and initializeForBlockHeader().
|
inline |
Definition at line 122 of file CodeGenTypeCache.h.
References RuntimeCC.
Referenced by clang::CodeGen::CodeGenModule::CreateGlobalInitOrCleanUpFunction(), clang::CodeGen::CodeGenModule::CreateRuntimeFunction(), clang::CodeGen::CodeGenModule::CreateRuntimeFunction(), clang::CodeGen::CodeGenFunction::EmitNoreturnRuntimeCallOrInvoke(), clang::CodeGen::CodeGenFunction::EmitRuntimeCallOrInvoke(), getClangCallTerminateFn(), and clang::CodeGen::CGOpenMPRuntime::getThreadID().
|
inline |
Definition at line 111 of file CodeGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and SizeAlignInBytes.
Referenced by clang::CodeGen::CodeGenFunction::EmitCXXNewExpr().
|
inline |
Definition at line 108 of file CodeGenTypeCache.h.
References clang::CharUnits::fromQuantity(), and SizeSizeInBytes.
union { ... } clang::CodeGen::CodeGenTypeCache |
void*, void** in the target's default address space (often 0)
union { ... } clang::CodeGen::CodeGenTypeCache |
union { ... } clang::CodeGen::CodeGenTypeCache |
void* in alloca address space
union { ... } clang::CodeGen::CodeGenTypeCache |
void* in default globals address space
union { ... } clang::CodeGen::CodeGenTypeCache |
The size and alignment of the builtin C type 'int'.
This comes up enough in various ABI lowering tasks to be worth pre-computing.
union { ... } clang::CodeGen::CodeGenTypeCache |
The size and alignment of a pointer into the generic address space.
union { ... } clang::CodeGen::CodeGenTypeCache |
The size and alignment of size_t.
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::AllocaInt8PtrTy |
Definition at line 66 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAutoVarAlloca(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCapturedLocals(), EmitMSVCRTSetJmp(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenModule::getLLVMLifetimeEndFn(), and clang::CodeGen::CodeGenModule::getLLVMLifetimeStartFn().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::AllocaVoidPtrTy |
Definition at line 65 of file CodeGenTypeCache.h.
LangAS clang::CodeGen::CodeGenTypeCache::ASTAllocaAddressSpace |
Definition at line 106 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), and getASTAllocaAddressSpace().
llvm::Type * clang::CodeGen::CodeGenTypeCache::BFloatTy |
Definition at line 39 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), and GetNeonType().
llvm::IntegerType* clang::CodeGen::CodeGenTypeCache::CharTy |
char
Definition at line 45 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), and clang::CodeGen::CodeGenModule::GetAddrOfConstantCString().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::ConstGlobalsPtrTy |
void* in the address space for constant globals
Definition at line 76 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenModule::EmitAnnotationArgs(), and clang::CodeGen::CodeGenModule::EmitAnnotationString().
llvm::Type * clang::CodeGen::CodeGenTypeCache::DoubleTy |
Definition at line 39 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), GetFloatNeonType(), GetNeonType(), and handleAsDoubleBuiltin().
llvm::Type * clang::CodeGen::CodeGenTypeCache::FloatTy |
Definition at line 39 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), GetFloatNeonType(), GetNeonType(), handleHlslClip(), and clang::CodeGen::CodeGenFunction::LookupNeonLLVMIntrinsic().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::GlobalsInt8PtrTy |
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::GlobalsVoidPtrTy |
Definition at line 71 of file CodeGenTypeCache.h.
llvm::Type* clang::CodeGen::CodeGenTypeCache::HalfTy |
half, bfloat, float, double
Definition at line 39 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), GetFloatNeonType(), and GetNeonType().
llvm::IntegerType * clang::CodeGen::CodeGenTypeCache::Int16Ty |
Definition at line 37 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), emitPPCLoadReserveIntrinsic(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), clang::CodeGen::CodeGenModule::GetAddrOfMSGuidDecl(), GetNeonType(), and clang::CodeGen::CodeGenFunction::vectorWrapScalar16().
llvm::IntegerType * clang::CodeGen::CodeGenTypeCache::Int32Ty |
Definition at line 37 of file CodeGenTypeCache.h.
Referenced by AddRelativeLayoutOffset(), ApplyNonVirtualAndVirtualOffset(), clang::CodeGen::CodeGenFunction::BuildBlockRelease(), clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenModule::CreateKCFITypeId(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), EmitAMDGCNBallotForExec(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenModule::EmitAnnotationLineNo(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMMVEBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBPFBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinAvailable(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCapturedLocals(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), emitClauseForBareTargetDirective(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), emitDynCGGroupMem(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), emitIsPlatformVersionAtLeast(), clang::CodeGen::CodeGenFunction::EmitLandingPad(), clang::CodeGen::CGOpenMPRuntime::emitMaskedRegion(), clang::CodeGen::CodeGenFunction::EmitMSVCBuiltinExpr(), EmitMSVCRTSetJmp(), clang::CodeGen::CodeGenFunction::EmitNonNullArgCheck(), clang::CodeGen::CGOpenMPRuntime::emitNumTeamsClause(), clang::CodeGen::CGOpenMPRuntime::emitNumTeamsForTargetDirective(), clang::CodeGen::CGOpenMPRuntime::emitNumThreadsClause(), clang::CodeGen::CGOpenMPRuntime::emitNumThreadsForTargetDirective(), clang::CodeGen::CGOpenMPRuntime::emitParallelCall(), clang::CodeGen::CGOpenMPRuntimeGPU::emitParallelCall(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), emitPPCLoadReserveIntrinsic(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitRISCVCpuIs(), clang::CodeGen::CodeGenFunction::EmitSEHAbnormalTermination(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CodeGenFunction::EmitSMELd1St1(), clang::CodeGen::CodeGenFunction::EmitSMELdrStr(), clang::CodeGen::CodeGenFunction::EmitSMEZero(), clang::CodeGen::CGHLSLRuntime::emitSystemSemanticLoad(), clang::CodeGen::CodeGenFunction::EmitSystemZBuiltinExpr(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CGOpenMPRuntime::emitTaskLoopCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskwaitCall(), clang::CodeGen::CGOpenMPRuntimeGPU::emitTeamsCall(), clang::CodeGen::CGOpenMPRuntime::emitThreadLimitClause(), EmitX86_64VAArgFromMemory(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenModule::GetAddrOfConstantCFString(), clang::CodeGen::CodeGenModule::GetAddrOfMSGuidDecl(), clang::CodeGen::CodeGenFunction::getBlockByrefInfo(), clang::CodeGen::CodeGenModule::getConstantSignedPointer(), clang::CodeGen::CodeGenFunction::getEHSelectorSlot(), clang::CodeGen::CGOpenMPRuntimeGPU::getGPUNumThreads(), GetNeonType(), getPersonalityFn(), clang::CodeGen::CodeGenFunction::getTerminateLandingPad(), clang::CodeGen::TargetCodeGenInfo::getUBSanFunctionSignature(), clang::CodeGen::CodeGenModule::getVTableComponentType(), handleHlslSplitdouble(), performTypeAdjustment(), clang::CodeGen::CodeGenFunction::recoverAddrOfEscapedLocal(), clang::CodeGen::CodeGenModule::Release(), clang::CodeGen::CGOpenMPRuntime::setLocThreadIdInsertPt(), and clang::CodeGen::CodeGenFunction::StartFunction().
llvm::IntegerType * clang::CodeGen::CodeGenTypeCache::Int64Ty |
Definition at line 37 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenModule::CreateCrossDsoCfiTypeId(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAArch64SMEBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBPFBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitBuiltinOSLogFormat(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCfiCheckStub(), clang::CodeGen::CodeGenFunction::EmitCfiSlowPathCheck(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), emitCommonOMPTargetDirective(), emitDeviceID(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitInvariantStart(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), emitPPCLoadReserveIntrinsic(), emitRestoreIP(), clang::CodeGen::CodeGenFunction::EmitRISCVCpuIs(), emitRVVReinterpretBuiltin(), clang::CodeGen::CodeGenFunction::EmitSMELd1St1(), clang::CodeGen::CodeGenFunction::EmitSVEGatherLoad(), clang::CodeGen::CodeGenFunction::EmitSVEGatherPrefetch(), clang::CodeGen::CodeGenFunction::EmitSVEScatterStore(), clang::CodeGen::CodeGenFunction::EmitSystemZBuiltinExpr(), emitTargetCallKernelLaunch(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataCalls(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), clang::CodeGen::CGOpenMPRuntime::emitTargetNumIterationsCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CGOpenMPRuntime::emitTaskLoopCall(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), EmitX86Muldq(), genMapInfoForCaptures(), clang::CodeGen::CodeGenModule::GetAddrOfConstantCFString(), getAsmSrcLocInfo(), clang::CodeGen::CodeGenModule::getConstantSignedPointer(), GetNeonType(), readX18AsPtr(), and UpdateAsmCallInst().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::Int8PtrPtrTy |
Definition at line 60 of file CodeGenTypeCache.h.
Referenced by buildGlobalBlock(), emitARCCopyOperation(), emitARCStoreOperation(), and clang::CodeGen::CodeGenFunction::EmitARCStoreStrongCall().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::Int8PtrTy |
Definition at line 58 of file CodeGenTypeCache.h.
Referenced by callSpecialFunction(), clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitARCRelease(), clang::CodeGen::CodeGenFunction::EmitARCRetainAutorelease(), emitARCStoreOperation(), clang::CodeGen::CodeGenFunction::EmitARCStoreStrongCall(), emitARCValueOperation(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), clang::CodeGen::CodeGenFunction::EmitCallArg(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCfiSlowPathCheck(), clang::CodeGen::CodeGenFunction::EmitCheckSourceLocation(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCoroutineBody(), clang::CodeGen::CodeGenFunction::EmitCountedByBoundsChecking(), clang::CodeGen::CodeGenFunction::EmitCXXTypeidExpr(), EmitDeclDestroy(), emitGlobalDtorWithCXAAtExit(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitIndirectGotoStmt(), clang::CodeGen::CodeGenFunction::EmitLandingPad(), EmitMSVCRTSetJmp(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCAutoreleasePoolPop(), clang::CodeGen::CodeGenFunction::EmitObjCRelease(), emitObjCValueOperation(), emitRTtypeidCall(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionInfo(), emitStructSetterCall(), emitSuspendExpression(), clang::CodeGen::CodeGenFunction::EmitSystemZBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), emitUsed(), clang::CodeGen::emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::FinallyInfo::enter(), getAllocateExceptionFn(), getBeginCatchFn(), getCatchallRethrowFn(), getCatchAllValue(), clang::CodeGen::CodeGenFunction::getExceptionSlot(), getFreeExceptionFn(), getGetExceptionPtrFn(), clang::CodeGen::CodeGenFunction::GetIndirectGotoBlock(), getItaniumDynamicCastFn(), clang::CodeGen::CodeGenModule::getNSConcreteGlobalBlock(), clang::CodeGen::CodeGenModule::getNSConcreteStackBlock(), clang::CodeGen::CodeGenFunction::getTerminateLandingPad(), getThrowFn(), getTypeInfoVTable(), getUnexpectedFn(), clang::CodeGen::CodeGenFunction::GetVTablePtr(), performTypeAdjustment(), clang::CodeGen::CodeGenFunction::pushCleanupAndDeferDeactivation(), clang::CodeGen::CodeGenFunction::pushDestroyAndDeferDeactivation(), pushTemporaryCleanup(), readX18AsPtr(), clang::CodeGen::CodeGenModule::Release(), and clang::CodeGen::CodeGenFunction::StartFunction().
llvm::IntegerType* clang::CodeGen::CodeGenTypeCache::Int8Ty |
i8, i16, i32, and i64
Definition at line 37 of file CodeGenTypeCache.h.
Referenced by ApplyNonVirtualAndVirtualOffset(), CheckAggExprForMemSetUse(), clang::CodeGen::CodeGenModule::CodeGenModule(), complexTempStructure(), computeBlockInfo(), createUnnamedGlobalForMemcpyFrom(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), emitAddressAtOffset(), emitAddrOfZeroSizeField(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(), EmitAtomicCmpXchg128ForMSIntrin(), EmitBitTestIntrinsic(), clang::CodeGen::CodeGenFunction::EmitBuiltinAlignTo(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCountedByBoundsChecking(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDepobjDependClause(), clang::CodeGen::CodeGenFunction::EmitFP8NeonCvtCall(), clang::CodeGen::CodeGenFunction::EmitFP8NeonFDOTCall(), clang::CodeGen::CodeGenFunction::EmitFP8NeonFMLACall(), emitGlobalDtorWithCXAAtExit(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr(), emitNonZeroVLAInit(), clang::CodeGen::CodeGenFunction::EmitNullabilityCheck(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), clang::CodeGen::CodeGenFunction::EmitPointerArithmetic(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), emitPPCLoadReserveIntrinsic(), emitProxyTaskFunction(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CGOpenMPRuntime::emitSingleRegion(), clang::CodeGen::CodeGenFunction::EmitSMELd1St1(), clang::CodeGen::CodeGenFunction::EmitSVEMaskedLoad(), clang::CodeGen::CodeGenFunction::EmitSVEMaskedStore(), emitTaskDupFunction(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CGOpenMPRuntime::emitThreadPrivateVarDefinition(), emitTlsGuardCheck(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset(), clang::CodeGen::emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::EmitVTablePtrCheck(), EmitX86_64VAArgFromMemory(), EmitX86BitTestIntrinsic(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::GetAddressOfDerivedClass(), clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(), clang::CodeGen::CodeGenModule::GetAddrOfMSGuidDecl(), clang::CodeGen::CGOpenMPRuntime::getAddrOfThreadPrivate(), clang::CodeGen::CodeGenFunction::getBlockByrefInfo(), GetNeonType(), clang::CodeGen::CGOpenMPRuntime::getTaskReductionItem(), clang::CodeGen::CodeGenFunction::GetVTablePtr(), InitCatchParam(), performTypeAdjustment(), PPC_initDwarfEHRegSizeTable(), clang::CodeGen::CGCXXABI::ReadArrayCookie(), and clang::CodeGen::CodeGenModule::Release().
unsigned char clang::CodeGen::CodeGenTypeCache::IntAlignInBytes |
Definition at line 82 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), and getIntAlign().
llvm::IntegerType* clang::CodeGen::CodeGenTypeCache::IntPtrTy |
Definition at line 49 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), CoerceIntOrPtrToIntOrPtr(), CreateCoercedLoad(), clang::CodeGen::CodeGenFunction::CreateCoercedStore(), clang::CodeGen::CodeGenFunction::emitAlignmentAssumption(), clang::CodeGen::CodeGenFunction::EmitArraySectionExpr(), clang::CodeGen::CodeGenFunction::EmitArraySubscriptExpr(), clang::CodeGen::CodeGenFunction::EmitAsanPrologueOrEpilogue(), clang::CodeGen::CodeGenFunction::EmitAsmStmt(), EmitAtomicCmpXchgForMSIntrin(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCheck(), clang::CodeGen::CodeGenFunction::EmitCheckValue(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), emitDependData(), clang::CodeGen::CGOpenMPRuntime::emitDepobjDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDepobjElementsSizes(), clang::CodeGen::CGOpenMPRuntime::emitDestroyClause(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitMatrixIndexExpr(), emitNonZeroVLAInit(), clang::CodeGen::CodeGenFunction::EmitPointerArithmetic(), clang::CodeGen::CodeGenFunction::EmitPointerAuthBlendDiscriminator(), EmitPointerAuthCommon(), clang::CodeGen::CodeGenFunction::EmitPointerAuthInfo(), clang::CodeGen::CodeGenFunction::EmitPointerAuthInfo(), clang::CodeGen::CodeGenFunction::emitPointerAuthResign(), clang::CodeGen::CodeGenFunction::emitPointerAuthResignCall(), clang::CodeGen::emitRoundPointerUpToAlignment(), clang::CodeGen::CodeGenFunction::EmitStoreThroughLValue(), EmitStrip(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::CodeGenModule::GetAddrOfConstantCFString(), clang::CodeGen::CGOpenMPRuntime::getDepobjElements(), clang::CodeGen::CodeGenModule::getPointerAuthOtherDiscriminator(), and clang::CodeGen::CodeGenModule::getVTablePointerAuthInfo().
unsigned char clang::CodeGen::CodeGenTypeCache::IntSizeInBytes |
Definition at line 81 of file CodeGenTypeCache.h.
Referenced by getIntSize().
llvm::IntegerType* clang::CodeGen::CodeGenTypeCache::IntTy |
int
Definition at line 42 of file CodeGenTypeCache.h.
Referenced by buildGlobalBlock(), clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::createTLSAtExitStub(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAMDGPUDevicePrintfCallExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAtomicExpr(), clang::CodeGen::CodeGenFunction::EmitAtomicStore(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitBuiltinOSLogFormat(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), emitGlobalDtorWithCXAAtExit(), emitGlobalDtorWithTLRegDtor(), clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr(), EmitMSVCRTSetJmp(), clang::CodeGen::CodeGenFunction::EmitNVPTXBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CGHLSLRuntime::emitResourceArraySubscriptExpr(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CGOpenMPRuntime::emitTaskLoopCall(), clang::CodeGen::CGOpenMPRuntime::emitUsesAllocatorsFini(), clang::CodeGen::CGOpenMPRuntime::emitUsesAllocatorsInit(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::EnterSEHTryStmt(), clang::CodeGen::CodeGenModule::GetAddrOfConstantCFString(), clang::CodeGen::CodeGenModule::getGenericBlockLiteralType(), getInitThreadEpochPtr(), clang::CodeGen::CodeGenFunction::getSpecConstantFunction(), initializeForBlockHeader(), clang::CodeGen::CodeGenFunction::registerGlobalDtorWithAtExit(), and clang::CodeGen::CodeGenFunction::unregisterGlobalDtorWithUnAtExit().
unsigned char clang::CodeGen::CodeGenTypeCache::PointerAlignInBytes |
Definition at line 96 of file CodeGenTypeCache.h.
Referenced by BuildAppleKextVirtualCall(), clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::EmitARCStoreStrong(), clang::CodeGen::CodeGenModule::GetAddrOfMSGuidDecl(), and getPointerAlign().
unsigned char clang::CodeGen::CodeGenTypeCache::PointerSizeInBytes |
Definition at line 97 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenFunction::getBlockByrefInfo(), getMaxAtomicAccessSize(), and getPointerSize().
unsigned char clang::CodeGen::CodeGenTypeCache::PointerWidthInBits |
The width of a pointer into the generic address space.
Definition at line 92 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), and clang::CodeGen::CodeGenFunction::EmitArraySectionExpr().
llvm::IntegerType* clang::CodeGen::CodeGenTypeCache::PtrDiffTy |
Definition at line 51 of file CodeGenTypeCache.h.
Referenced by AddPointerLayoutOffset(), ApplyNonVirtualAndVirtualOffset(), and clang::CodeGen::CodeGenModule::GetNonVirtualBaseClassOffset().
llvm::CallingConv::ID clang::CodeGen::CodeGenTypeCache::RuntimeCC |
Definition at line 121 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), and getRuntimeCC().
unsigned char clang::CodeGen::CodeGenTypeCache::SizeAlignInBytes |
Definition at line 103 of file CodeGenTypeCache.h.
Referenced by getSizeAlign().
unsigned char clang::CodeGen::CodeGenTypeCache::SizeSizeInBytes |
Definition at line 102 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenModule::CodeGenModule(), and getSizeSize().
llvm::IntegerType* clang::CodeGen::CodeGenTypeCache::SizeTy |
Definition at line 50 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitAndRegisterVariableArrayDimensions(), clang::CodeGen::CodeGenFunction::emitArrayDestroy(), clang::CodeGen::CodeGenFunction::emitArrayLength(), clang::CodeGen::CodeGenFunction::EmitAtomicExpr(), clang::CodeGen::CodeGenFunction::EmitBoundsCheckImpl(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCallArgs(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), EmitCommonNeonSISDBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCXXAggrConstructorCall(), EmitCXXNewAllocSize(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitDeleteCall(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), emitDependData(), clang::CodeGen::CGOpenMPRuntime::emitDepobjDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDepobjElements(), emitDistributeParallelForDistributeInnerBoundParams(), clang::CodeGen::CodeGenFunction::EmitLoadOfExtVectorElementLValue(), emitPartialArrayDestroy(), clang::CodeGen::CGOpenMPRuntime::emitReduction(), clang::CodeGen::CGOpenMPRuntime::emitReductionFunction(), emitRVVVlenbBuiltin(), emitScanBasedDirective(), emitScanBasedDirectiveDecls(), emitScanBasedDirectiveFinals(), clang::CodeGen::CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CodeGenFunction::EmitVariablyModifiedType(), getAlignmentValue(), getAllocateExceptionFn(), clang::CodeGen::CGOpenMPRuntimeGPU::getKmpcAllocShared(), getPointerAndSize(), clang::CodeGen::CodeGenModule::getSize(), clang::CodeGen::CodeGenFunction::getTypeSize(), clang::CodeGen::CodeGenFunction::getVLAElements1D(), clang::CodeGen::CodeGenFunction::getVLASize(), clang::CodeGen::CGCXXABI::readArrayCookieImpl(), and clang::CodeGen::CodeGenFunction::vectorWrapScalar16().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::UnqualPtrTy |
Definition at line 56 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), emitGlobalDtorWithCXAAtExit(), emitPPCLoadReserveIntrinsic(), clang::CodeGen::CodeGenFunction::EmitUnsupportedLValue(), clang::CodeGen::CodeGenModule::getConstantSignedPointer(), getInitThreadAbortFn(), getInitThreadFooterFn(), getInitThreadHeaderFn(), and InitCatchParam().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::VoidPtrPtrTy |
Definition at line 59 of file CodeGenTypeCache.h.
Referenced by clang::CodeGen::CGOpenMPRuntimeGPU::emitParallelCall(), and clang::CodeGen::CGOpenMPRuntime::emitUsesAllocatorsInit().
llvm::PointerType* clang::CodeGen::CodeGenTypeCache::VoidPtrTy |
Definition at line 57 of file CodeGenTypeCache.h.
Referenced by buildBlockDescriptor(), computeBlockInfo(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAtomicExpr(), clang::CodeGen::CodeGenFunction::EmitAtomicStore(), clang::CodeGen::CGObjCRuntime::EmitAtSynchronizedStmt(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCapturedLocals(), emitCatchDispatchBlock(), emitCatchPadBlock(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCfiCheckStub(), clang::CodeGen::CodeGenFunction::EmitCoroutineBody(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDepobjDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDestroyClause(), clang::CodeGen::CGOpenMPRuntime::emitErrorCall(), clang::CodeGen::CodeGenFunction::EmitExtendGCLifetime(), clang::CodeGen::CGOpenMPRuntime::emitMessageClause(), clang::CodeGen::CodeGenFunction::EmitOMPTargetTaskBasedDirective(), clang::CodeGen::CodeGenFunction::EmitOMPUseDeviceAddrClause(), clang::CodeGen::CodeGenFunction::EmitOMPUseDevicePtrClause(), clang::CodeGen::CGOpenMPRuntimeGPU::emitParallelCall(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), emitProxyTaskFunction(), clang::CodeGen::CGOpenMPRuntime::emitReduction(), clang::CodeGen::CodeGenFunction::EmitRISCVCpuInit(), clang::CodeGen::CGOpenMPRuntime::emitSingleRegion(), emitTargetCallKernelLaunch(), clang::CodeGen::CGOpenMPRuntime::emitTargetDataStandAloneCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskLoopCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskwaitCall(), clang::CodeGen::CGOpenMPRuntime::emitUserDefinedMapper(), clang::CodeGen::CGOpenMPRuntime::emitUsesAllocatorsInit(), emitWasmCatchPadBlock(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::generateDestroyHelper(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CGOpenMPRuntime::getAddressOfLocalVariable(), clang::CodeGen::CodeGenFunction::getBlockByrefInfo(), clang::CodeGen::CodeGenModule::getGenericBlockLiteralType(), clang::CodeGen::CodeGenFunction::GetVTTParameter(), initializeForBlockHeader(), clang::CodeGen::CodeGenFunction::processInReduction(), and clang::CodeGen::CodeGenFunction::startOutlinedSEHHelper().
llvm::Type* clang::CodeGen::CodeGenTypeCache::VoidTy |
void
Definition at line 34 of file CodeGenTypeCache.h.
Referenced by buildGlobalBlock(), clang::CodeGen::CodeGenModule::CodeGenModule(), clang::CodeGen::CodeGenFunction::createAtExitStub(), createGlobalInitOrCleanupFn(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAsmStmt(), clang::CodeGen::CodeGenFunction::EmitAtomicStore(), emitAutoreleasedReturnValueMarker(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitCfiCheckStub(), clang::CodeGen::CodeGenFunction::EmitCfiSlowPathCheck(), clang::CodeGen::CodeGenFunction::EmitExtendGCLifetime(), clang::CodeGen::CodeGenFunction::EmitMSVCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitObjCMRRAutoreleasePoolPop(), clang::CodeGen::CodeGenFunction::EmitRISCVCpuInit(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalCleanUpFunc(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalVarDeclInitFunc(), clang::CodeGen::CodeGenFunction::generateDestroyHelper(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), getBadCastFn(), getBadTypeidFn(), getCatchallRethrowFn(), getEndCatchFn(), getFreeExceptionFn(), getGuardAbortFn(), getGuardReleaseFn(), getSehTryBeginFn(), getSehTryEndFn(), clang::CodeGen::CodeGenModule::getTerminateFn(), getThrowFn(), getUnexpectedFn(), and initializeBuffer().