clang 22.0.0git
|
#include "/home/buildbot/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/CodeGen/CGBuilder.h"
Public Member Functions | |
CGBuilderTy (const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C) | |
CGBuilderTy (const CodeGenTypeCache &TypeCache, llvm::LLVMContext &C, const llvm::ConstantFolder &F, const CGBuilderInserterTy &Inserter) | |
CGBuilderTy (const CodeGenTypeCache &TypeCache, llvm::Instruction *I) | |
CGBuilderTy (const CodeGenTypeCache &TypeCache, llvm::BasicBlock *BB) | |
llvm::ConstantInt * | getSize (CharUnits N) |
llvm::ConstantInt * | getSize (uint64_t N) |
llvm::LoadInst * | CreateLoad (Address Addr, const llvm::Twine &Name="") |
llvm::LoadInst * | CreateLoad (Address Addr, const char *Name) |
llvm::LoadInst * | CreateLoad (Address Addr, bool IsVolatile, const llvm::Twine &Name="") |
llvm::LoadInst * | CreateAlignedLoad (llvm::Type *Ty, llvm::Value *Addr, CharUnits Align, const llvm::Twine &Name="") |
llvm::StoreInst * | CreateStore (llvm::Value *Val, Address Addr, bool IsVolatile=false) |
llvm::StoreInst * | CreateAlignedStore (llvm::Value *Val, llvm::Value *Addr, CharUnits Align, bool IsVolatile=false) |
llvm::StoreInst * | CreateDefaultAlignedStore (llvm::Value *Val, llvm::Value *Addr, bool IsVolatile=false) |
llvm::LoadInst * | CreateFlagLoad (llvm::Value *Addr, const llvm::Twine &Name="") |
Emit a load from an i1 flag variable. | |
llvm::StoreInst * | CreateFlagStore (bool Value, llvm::Value *Addr) |
Emit a store to an i1 flag variable. | |
llvm::AtomicCmpXchgInst * | CreateAtomicCmpXchg (Address Addr, llvm::Value *Cmp, llvm::Value *New, llvm::AtomicOrdering SuccessOrdering, llvm::AtomicOrdering FailureOrdering, llvm::SyncScope::ID SSID=llvm::SyncScope::System) |
llvm::AtomicRMWInst * | CreateAtomicRMW (llvm::AtomicRMWInst::BinOp Op, Address Addr, llvm::Value *Val, llvm::AtomicOrdering Ordering, llvm::SyncScope::ID SSID=llvm::SyncScope::System) |
Address | CreateAddrSpaceCast (Address Addr, llvm::Type *Ty, llvm::Type *ElementTy, const llvm::Twine &Name="") |
Address | CreatePointerBitCastOrAddrSpaceCast (Address Addr, llvm::Type *Ty, llvm::Type *ElementTy, const llvm::Twine &Name="") |
Address | CreateStructGEP (Address Addr, unsigned Index, const llvm::Twine &Name="") |
Address | CreateConstArrayGEP (Address Addr, uint64_t Index, const llvm::Twine &Name="") |
Given addr = [n x T]* ... produce name = getelementptr inbounds addr, i64 0, i64 index where i64 is actually the target word size. | |
Address | CreateConstInBoundsGEP (Address Addr, uint64_t Index, const llvm::Twine &Name="") |
Given addr = T* ... produce name = getelementptr inbounds addr, i64 index where i64 is actually the target word size. | |
Address | CreateConstGEP (Address Addr, uint64_t Index, const llvm::Twine &Name="") |
Given addr = T* ... produce name = getelementptr inbounds addr, i64 index where i64 is actually the target word size. | |
Address | CreateGEP (CodeGenFunction &CGF, Address Addr, llvm::Value *Index, const llvm::Twine &Name="") |
Address | CreateConstInBoundsByteGEP (Address Addr, CharUnits Offset, const llvm::Twine &Name="") |
Given a pointer to i8, adjust it by a given constant offset. | |
Address | CreateConstByteGEP (Address Addr, CharUnits Offset, const llvm::Twine &Name="") |
Address | CreateConstInBoundsGEP2_32 (Address Addr, unsigned Idx0, unsigned Idx1, const llvm::Twine &Name="") |
Address | CreateConstGEP2_32 (Address Addr, unsigned Idx0, unsigned Idx1, const llvm::Twine &Name="") |
Address | CreateGEP (Address Addr, ArrayRef< llvm::Value * > IdxList, llvm::Type *ElementType, CharUnits Align, const Twine &Name="", llvm::GEPNoWrapFlags NW=llvm::GEPNoWrapFlags::none()) |
Address | CreateInBoundsGEP (Address Addr, ArrayRef< llvm::Value * > IdxList, llvm::Type *ElementType, CharUnits Align, const Twine &Name="") |
llvm::Value * | CreateIsNull (Address Addr, const Twine &Name="") |
llvm::CallInst * | CreateMemCpy (Address Dest, Address Src, llvm::Value *Size, bool IsVolatile=false) |
llvm::CallInst * | CreateMemCpy (Address Dest, Address Src, uint64_t Size, bool IsVolatile=false) |
llvm::CallInst * | CreateMemCpyInline (Address Dest, Address Src, uint64_t Size) |
llvm::CallInst * | CreateMemMove (Address Dest, Address Src, llvm::Value *Size, bool IsVolatile=false) |
llvm::CallInst * | CreateMemSet (Address Dest, llvm::Value *Value, llvm::Value *Size, bool IsVolatile=false) |
llvm::CallInst * | CreateMemSetInline (Address Dest, llvm::Value *Value, uint64_t Size) |
Address | CreatePreserveStructAccessIndex (Address Addr, unsigned Index, unsigned FieldIndex, llvm::MDNode *DbgInfo) |
Address | CreatePreserveUnionAccessIndex (Address Addr, unsigned FieldIndex, llvm::MDNode *DbgInfo) |
Address | CreateLaunderInvariantGroup (Address Addr) |
Address | CreateStripInvariantGroup (Address Addr) |
Friends | |
class | Address |
Definition at line 50 of file CGBuilder.h.
|
inline |
Definition at line 92 of file CGBuilder.h.
|
inline |
Definition at line 94 of file CGBuilder.h.
|
inline |
Definition at line 98 of file CGBuilder.h.
|
inline |
Definition at line 100 of file CGBuilder.h.
|
inline |
Definition at line 193 of file CGBuilder.h.
References clang::Addr, Address, and CreateAddrSpaceCast().
Referenced by CreateAddrSpaceCast(), CreatePointerBitCastOrAddrSpaceCast(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), EmitPointerWithAlignment(), and clang::CodeGen::TargetCodeGenInfo::performAddrSpaceCast().
|
inline |
Definition at line 132 of file CGBuilder.h.
References clang::Addr, CreateAlignedLoad(), and clang::CharUnits::getAsAlign().
Referenced by BuildAppleKextVirtualCall(), CreateAlignedLoad(), CreateFlagLoad(), CreateLoad(), createPlaceholderSlot(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCountedByBoundsChecking(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), EmitISOVolatileLoad(), clang::CodeGen::CodeGenFunction::EmitLoadOfCountedByField(), clang::CodeGen::CodeGenFunction::EmitNVPTXBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitRISCVCpuIs(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), performTypeAdjustment(), clang::CodeGen::DominatingLLVMValue::restore(), and clang::CodeGen::CodeGenFunction::StartFunction().
|
inline |
Definition at line 147 of file CGBuilder.h.
References clang::Addr, CreateAlignedStore(), and clang::CharUnits::getAsAlign().
Referenced by CreateAlignedStore(), CreateFlagStore(), CreateStore(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), EmitISOVolatileStore(), clang::CodeGen::CodeGenFunction::EmitNVPTXBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), and clang::CodeGen::CodeGenFunction::FinallyInfo::exit().
|
inline |
Definition at line 173 of file CGBuilder.h.
References clang::Addr, and New.
Referenced by emitAtomicCmpXchg(), EmitAtomicCmpXchg128ForMSIntrin(), EmitAtomicCmpXchgForMSIntrin(), and MakeAtomicCmpXchgValue().
|
inline |
Definition at line 184 of file CGBuilder.h.
References clang::Addr.
Referenced by clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), EmitAtomicDecrementValue(), EmitAtomicIncrementValue(), clang::CodeGen::CodeGenFunction::emitAtomicRMWInst(), EmitBinaryAtomicPost(), EmitBitTestIntrinsic(), clang::CodeGen::CodeGenFunction::EmitNVPTXBuiltinExpr(), and MakeBinaryAtomicValue().
|
inline |
Given addr = [n x T]* ... produce name = getelementptr inbounds addr, i64 0, i64 index where i64 is actually the target word size.
This API assumes that drilling into an array like this is always an inbounds operation.
Definition at line 245 of file CGBuilder.h.
References clang::Addr, Address, CreateInBoundsGEP(), clang::CharUnits::fromQuantity(), and clang::CodeGen::Address::getElementType().
Referenced by emitAddrOfVarFromArray(), clang::CodeGen::CodeGenFunction::EmitArrayToPointerDecay(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDoacrossInit(), EmitDoacrossOrdered(), clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral(), emitOMPArraySectionBase(), clang::CodeGen::CGOpenMPRuntimeGPU::emitParallelCall(), clang::CodeGen::CGOpenMPRuntime::emitReduction(), clang::CodeGen::CGOpenMPRuntime::emitReductionFunction(), clang::CodeGen::CGOpenMPRuntime::emitSingleRegion(), and clang::CodeGen::CGOpenMPRuntime::emitTaskInit().
|
inline |
Definition at line 319 of file CGBuilder.h.
References clang::Addr, Address, CreateGEP(), getSize(), and clang::CodeGen::CodeGenTypeCache::Int8Ty.
Referenced by emitAddrOfZeroSizeField(), and clang::CodeGen::CodeGenFunction::generateBuiltinOSLogHelperFunction().
|
inline |
Given addr = T* ... produce name = getelementptr inbounds addr, i64 index where i64 is actually the target word size.
Definition at line 282 of file CGBuilder.h.
References clang::Addr, Address, CreateGEP(), clang::CharUnits::fromQuantity(), and getSize().
Referenced by emitDependData(), clang::CodeGen::CGOpenMPRuntime::emitDepobjDependClause(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), and clang::CodeGen::CGOpenMPRuntime::emitUpdateClause().
|
inline |
Definition at line 335 of file CGBuilder.h.
References clang::Addr.
Referenced by emitAddrOfFieldStorage(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), clang::CodeGen::CodeGenFunction::EmitLValueForField(), and forConstantArrayExpansion().
|
inline |
Given a pointer to i8, adjust it by a given constant offset.
Definition at line 309 of file CGBuilder.h.
References clang::Addr, Address, CreateInBoundsGEP(), getSize(), and clang::CodeGen::CodeGenTypeCache::Int8Ty.
Referenced by complexTempStructure(), emitAddressAtOffset(), emitAddrOfZeroSizeField(), EmitNullBaseClassInitialization(), clang::CodeGen::emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(), performTypeAdjustment(), and clang::CodeGen::CGCXXABI::ReadArrayCookie().
|
inline |
Given addr = T* ... produce name = getelementptr inbounds addr, i64 index where i64 is actually the target word size.
Definition at line 265 of file CGBuilder.h.
References clang::Addr, Address, CreateInBoundsGEP(), clang::CharUnits::fromQuantity(), and getSize().
Referenced by clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitExtVectorElementLValue(), clang::CodeGen::CodeGenFunction::EmitLValueForField(), and clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer().
|
inline |
Definition at line 329 of file CGBuilder.h.
References clang::Addr.
|
inline |
Definition at line 155 of file CGBuilder.h.
References clang::Addr.
Referenced by clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), and clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr().
|
inline |
Emit a load from an i1 flag variable.
Definition at line 162 of file CGBuilder.h.
References clang::Addr, CreateAlignedLoad(), and clang::CharUnits::One().
Referenced by clang::CodeGen::CodeGenFunction::EmitCallArg(), clang::CodeGen::CodeGenFunction::EmitCoroutineBody(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), and clang::CodeGen::CodeGenFunction::pushDestroyAndDeferDeactivation().
|
inline |
Emit a store to an i1 flag variable.
Definition at line 168 of file CGBuilder.h.
References clang::Addr, CreateAlignedStore(), and clang::CharUnits::One().
Referenced by clang::CodeGen::CodeGenFunction::EmitReturnStmt(), emitSuspendExpression(), clang::CodeGen::CodeGenFunction::FinallyInfo::enter(), and clang::CodeGen::CodeGenFunction::FinallyInfo::exit().
|
inline |
Definition at line 340 of file CGBuilder.h.
References clang::Addr, and CreateGEP().
|
inline |
Definition at line 296 of file CGBuilder.h.
References clang::Addr, Address, CreateGEP(), and clang::CharUnits::fromQuantity().
Referenced by clang::CodeGen::ReductionCodeGen::adjustPrivateAddress(), CreateConstByteGEP(), CreateConstGEP(), CreateGEP(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), emitArraySubscriptGEP(), clang::CodeGen::CodeGenFunction::EmitBuiltinAlignTo(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), emitDependData(), clang::CodeGen::CGOpenMPRuntime::emitDepobjElements(), clang::CodeGen::CGOpenMPRuntime::emitDestroyClause(), clang::CodeGen::CodeGenFunction::EmitNVPTXBuiltinExpr(), EmitOMPAggregateInit(), EmitOMPAggregateReduction(), clang::CodeGen::CodeGenFunction::EmitPointerArithmetic(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitSMELd1St1(), clang::CodeGen::CodeGenFunction::EmitSVEMaskedLoad(), clang::CodeGen::CodeGenFunction::EmitSVEMaskedStore(), clang::CodeGen::CodeGenFunction::EmitSVEPrefetchLoad(), clang::CodeGen::CodeGenFunction::EmitSVEStructLoad(), clang::CodeGen::CodeGenFunction::EmitSVEStructStore(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CGOpenMPRuntime::emitUpdateClause(), EmitX86_64VAArgFromMemory(), and clang::CodeGen::CGOpenMPRuntime::getDepobjElements().
|
inline |
Definition at line 350 of file CGBuilder.h.
References clang::Addr, and CreateInBoundsGEP().
Referenced by ApplyNonVirtualAndVirtualOffset(), CreateConstArrayGEP(), CreateConstInBoundsByteGEP(), CreateConstInBoundsGEP(), CreateInBoundsGEP(), EmitArrayDelete(), clang::CodeGen::CodeGenFunction::emitArrayDestroy(), clang::CodeGen::CodeGenFunction::emitArrayLength(), EmitBitTestIntrinsic(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCountedByBoundsChecking(), clang::CodeGen::CodeGenFunction::EmitCXXAggrConstructorCall(), clang::CodeGen::CodeGenFunction::emitDestroy(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), emitNonZeroVLAInit(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitOMPAggregateAssign(), emitPartialArrayDestroy(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset(), clang::CodeGen::CodeGenFunction::FlattenAccessAndType(), clang::CodeGen::CodeGenFunction::GetAddressOfDerivedClass(), clang::CodeGen::CodeGenFunction::GetCountedByFieldExprGEP(), and performTypeAdjustment().
|
inline |
Definition at line 360 of file CGBuilder.h.
References clang::Addr, and CreateIsNull().
Referenced by CreateIsNull(), clang::CodeGen::CodeGenFunction::EmitCXXAggrConstructorCall(), clang::CodeGen::CodeGenFunction::EmitCXXDeleteExpr(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitDynamicCast(), clang::CodeGen::CodeGenFunction::EmitPointerArithmetic(), EmitTypeidFromVTable(), emitWriteback(), emitWritebackArg(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), clang::CodeGen::CodeGenFunction::GetAddressOfBaseClass(), clang::CodeGen::CodeGenFunction::GetAddressOfDerivedClass(), and PerformReturnAdjustment().
Definition at line 441 of file CGBuilder.h.
References clang::Addr, and CreateLaunderInvariantGroup().
Referenced by CreateLaunderInvariantGroup(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCtorPrologue(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitDestructorBody(), and clang::CodeGen::CodeGenFunction::EmitLValueForField().
|
inline |
Definition at line 124 of file CGBuilder.h.
References clang::Addr, and CreateAlignedLoad().
|
inline |
Definition at line 117 of file CGBuilder.h.
References clang::Addr, and CreateAlignedLoad().
|
inline |
Definition at line 112 of file CGBuilder.h.
References clang::Addr, and CreateAlignedLoad().
Referenced by complexTempStructure(), CreateCoercedLoad(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), emitAddrOfVarFromArray(), clang::CodeGen::CodeGenFunction::EmitARCDestroyStrong(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMMVEBuiltinExpr(), emitAtomicCmpXchg(), EmitAtomicCmpXchg128ForMSIntrin(), EmitAtomicOp(), EmitBitTestIntrinsic(), clang::CodeGen::CodeGenFunction::emitBlockByrefAddress(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCapturedLocals(), clang::CodeGen::CodeGenFunction::EmitCfiCheckFail(), EmitCleanup(), emitCmdValueForGetterSetterBody(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), emitCopyprivateCopyFunction(), clang::CodeGen::CodeGenFunction::EmitCXXPseudoDestructorExpr(), clang::CodeGen::CodeGenFunction::EmitDelegateCallArg(), emitDistributeParallelForDistributeInnerBoundParams(), clang::CodeGen::CodeGenFunction::EmitFakeUse(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitHexagonBuiltinExpr(), EmitHLSLAggregateSplatCast(), EmitHLSLElementwiseCast(), EmitHLSLScalarFlatCast(), clang::CodeGen::CodeGenFunction::EmitLoadOfBitfieldLValue(), clang::CodeGen::CodeGenFunction::EmitLoadOfExtVectorElementLValue(), clang::CodeGen::CodeGenFunction::EmitLoadOfLValue(), clang::CodeGen::CodeGenFunction::EmitLoadOfPointer(), clang::CodeGen::CodeGenFunction::EmitLoadOfReference(), clang::CodeGen::CodeGenFunction::EmitLoadOfScalar(), EmitMemberInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), emitOMPArraySectionBase(), clang::CodeGen::CodeGenFunction::EmitOMPCanonicalLoop(), clang::CodeGen::CodeGenFunction::EmitOMPLastprivateClauseFinal(), clang::CodeGen::CodeGenFunction::EmitParmDecl(), clang::CodeGen::CodeGenFunction::EmitPointerAuthCopy(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CGOpenMPRuntime::emitReductionFunction(), clang::CodeGen::CodeGenFunction::EmitReturnValueCheck(), clang::CodeGen::CodeGenFunction::EmitRISCVBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCode(), clang::CodeGen::CGOpenMPRuntime::emitSingleRegion(), clang::CodeGen::CodeGenFunction::EmitStoreThroughBitfieldLValue(), clang::CodeGen::CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(), clang::CodeGen::CodeGenFunction::EmitStoreThroughLValue(), emitTlsGuardCheck(), clang::CodeGen::emitVoidPtrDirectVAArg(), clang::CodeGen::emitVoidPtrVAArg(), emitWriteback(), EmitX86_64VAArgFromMemory(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::generateAwaitSuspendWrapper(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::generateBuiltinOSLogHelperFunction(), generateByrefCopyHelper(), generateByrefDisposeHelper(), clang::CodeGen::CodeGenFunction::GenerateCapturedStmtFunction(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), clang::CodeGen::CodeGenFunction::GenerateDestroyHelperFunction(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CodeGenFunction::GetAddrOfBlockDecl(), clang::CodeGen::CodeGenFunction::getExceptionFromSlot(), clang::CodeGen::CodeGenFunction::getSelectorFromSlot(), clang::CodeGen::CodeGenFunction::GetVTablePtr(), clang::CodeGen::CGCXXABI::loadIncomingCXXThis(), and clang::CodeGen::CodeGenFunction::processInReduction().
|
inline |
Definition at line 369 of file CGBuilder.h.
References CreateMemCpy(), clang::CodeGen::Address::getAlignment(), and clang::CharUnits::getAsAlign().
Referenced by CreateCoercedLoad(), clang::CodeGen::CodeGenFunction::CreateCoercedStore(), CreateMemCpy(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CGOpenMPRuntime::emitDepobjElements(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), emitNonZeroVLAInit(), EmitNullBaseClassInitialization(), and clang::CodeGen::CodeGenFunction::EmitNullInitialization().
|
inline |
Definition at line 376 of file CGBuilder.h.
References CreateMemCpy(), clang::CodeGen::Address::getAlignment(), and clang::CharUnits::getAsAlign().
|
inline |
Definition at line 385 of file CGBuilder.h.
References CreateMemCpyInline(), clang::CodeGen::Address::getAlignment(), and clang::CharUnits::getAsAlign().
Referenced by CreateMemCpyInline(), and clang::CodeGen::CodeGenFunction::EmitBuiltinExpr().
|
inline |
Definition at line 393 of file CGBuilder.h.
References CreateMemMove(), clang::CodeGen::Address::getAlignment(), and clang::CharUnits::getAsAlign().
Referenced by CreateMemMove(), and clang::CodeGen::CodeGenFunction::EmitBuiltinExpr().
|
inline |
Definition at line 402 of file CGBuilder.h.
References CreateMemSet(), clang::CodeGen::Address::getAlignment(), and clang::CharUnits::getAsAlign().
Referenced by CheckAggExprForMemSetUse(), CreateMemSet(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), and initializeAlloca().
|
inline |
Definition at line 409 of file CGBuilder.h.
References CreateMemSetInline(), clang::CodeGen::Address::getAlignment(), and clang::CharUnits::getAsAlign().
Referenced by CreateMemSetInline(), and clang::CodeGen::CodeGenFunction::EmitBuiltinExpr().
|
inline |
Definition at line 207 of file CGBuilder.h.
References clang::Addr, and CreateAddrSpaceCast().
Referenced by clang::CodeGen::ReductionCodeGen::adjustPrivateAddress(), castToBase(), clang::CodeGen::CGOpenMPRuntime::checkAndEmitLastprivateConditional(), emitCopyprivateCopyFunction(), clang::CodeGen::CodeGenFunction::EmitCountedByBoundsChecking(), clang::CodeGen::CodeGenFunction::EmitDeclRefLValue(), clang::CodeGen::CGOpenMPRuntime::emitDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDepobjDependClause(), clang::CodeGen::CGOpenMPRuntime::emitDestroyClause(), clang::CodeGen::CGOpenMPRuntime::emitDoacrossInit(), clang::CodeGen::CGOpenMPRuntimeGPU::emitOutlinedFunctionCall(), clang::CodeGen::CGOpenMPRuntimeGPU::emitParallelCall(), emitPrivatesInit(), emitProxyTaskFunction(), clang::CodeGen::CGOpenMPRuntime::emitReduction(), clang::CodeGen::CGOpenMPRuntime::emitReductionFunction(), clang::CodeGen::CGOpenMPRuntime::emitSingleRegion(), clang::CodeGen::CGOpenMPRuntime::emitTaskInit(), clang::CodeGen::CGOpenMPRuntime::emitTaskLoopCall(), clang::CodeGen::CGOpenMPRuntime::emitTaskReductionInit(), clang::CodeGen::CGOpenMPRuntime::emitUsesAllocatorsInit(), clang::CodeGen::CGOpenMPRuntime::getAddressOfLocalVariable(), clang::CodeGen::CodeGenFunction::OMPBuilderCBHelpers::getAddressOfLocalVariable(), clang::CodeGen::CGOpenMPRuntimeGPU::getAddressOfLocalVariable(), clang::CodeGen::CGOpenMPRuntime::getAddrOfArtificialThreadPrivate(), clang::CodeGen::CGOpenMPRuntimeGPU::getParameterAddress(), and clang::CodeGen::CGOpenMPRuntime::getTaskReductionItem().
|
inline |
Definition at line 417 of file CGBuilder.h.
References clang::Addr, Address, CreatePreserveStructAccessIndex(), clang::CharUnits::fromQuantity(), and clang::CodeGen::Address::getElementType().
Referenced by CreatePreserveStructAccessIndex(), clang::CodeGen::CodeGenFunction::EmitLValueForField(), and emitPreserveStructAccess().
|
inline |
Definition at line 433 of file CGBuilder.h.
References clang::Addr, and CreatePreserveUnionAccessIndex().
Referenced by CreatePreserveUnionAccessIndex(), and clang::CodeGen::CodeGenFunction::EmitLValueForField().
|
inline |
Definition at line 140 of file CGBuilder.h.
References clang::Addr, and CreateAlignedStore().
Referenced by castToBase(), clang::CodeGen::CodeGenFunction::createCleanupActiveFlag(), clang::CodeGen::CodeGenFunction::CreateCoercedStore(), clang::CodeGen::CodeGenFunction::createTLSAtExitStub(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAndRegisterVariableArrayDimensions(), clang::CodeGen::CodeGenFunction::EmitARCInitWeak(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMMVEBuiltinExpr(), EmitAsmStores(), emitAtomicCmpXchg(), EmitAtomicCmpXchg128ForMSIntrin(), EmitAtomicOp(), clang::CodeGen::CodeGenFunction::EmitAtomicStore(), clang::CodeGen::CodeGenFunction::EmitAutoVarAlloca(), EmitBitTestIntrinsic(), clang::CodeGen::CodeGenFunction::EmitBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitBuiltinOSLogFormat(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), clang::CodeGen::CodeGenFunction::EmitCall(), EmitCheckedMixedSignMultiply(), EmitCheckedUnsignedMultiplySignedResult(), clang::CodeGen::CodeGenFunction::EmitCheckValue(), clang::CodeGen::CodeGenFunction::EmitDelegateCallArg(), clang::CodeGen::CGOpenMPRuntime::emitDepobjElementsSizes(), clang::CodeGen::CodeGenFunction::EmitExtVectorElementExpr(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), EmitHLSLAggregateSplatCast(), clang::CodeGen::CodeGenFunction::EmitHLSLBuiltinExpr(), EmitHLSLElementwiseCast(), EmitHLSLScalarFlatCast(), clang::CodeGen::CGObjCRuntime::EmitInitOfCatchParam(), clang::CodeGen::CodeGenFunction::EmitLandingPad(), clang::CodeGen::CodeGenFunction::EmitMSVCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitMustTailThunk(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), clang::CodeGen::CodeGenFunction::EmitNVPTXBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitObjCMessageExpr(), clang::CodeGen::CGOpenMPRuntime::emitParallelCall(), clang::CodeGen::CodeGenFunction::EmitPointerAuthCopy(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CGOpenMPRuntime::emitReduction(), clang::CodeGen::CodeGenFunction::EmitReturnStmt(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), emitSincosBuiltin(), clang::CodeGen::CGOpenMPRuntime::emitSingleRegion(), clang::CodeGen::CodeGenFunction::EmitStoreOfScalar(), clang::CodeGen::CodeGenFunction::EmitStoreThroughBitfieldLValue(), clang::CodeGen::CodeGenFunction::EmitStoreThroughExtVectorComponentLValue(), clang::CodeGen::CodeGenFunction::EmitStoreThroughLValue(), EmitSystemZIntrinsicWithCC(), clang::CodeGen::CGOpenMPRuntime::emitTaskReductionFixups(), clang::CodeGen::CGOpenMPRuntimeGPU::emitTeamsCall(), clang::CodeGen::CGOpenMPRuntime::emitThreadPrivateVarDefinition(), clang::CodeGen::EmitVAArgInstr(), clang::CodeGen::emitVoidPtrDirectVAArg(), emitWasmCatchPadBlock(), emitWritebackArg(), EmitX86_64VAArgFromMemory(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::ExitSEHTryStmt(), clang::CodeGen::CodeGenFunction::generateAwaitSuspendWrapper(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::generateBuiltinOSLogHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CodeGenFunction::GenerateSEHFilterFunction(), handleHlslSplitdouble(), InitCatchParam(), clang::CodeGen::CodeGenFunction::InitializeVTablePointer(), clang::CodeGen::CodeGenFunction::PopCleanupBlocks(), clang::CodeGen::DominatingLLVMValue::save(), clang::CodeGen::CodeGenFunction::setBlockContextParameter(), SetupCleanupBlockActivation(), clang::CodeGen::CodeGenFunction::OMPMapVars::setVarAddr(), and clang::CodeGen::CodeGenFunction::StartFunction().
Definition at line 447 of file CGBuilder.h.
References clang::Addr, and CreateStripInvariantGroup().
Referenced by CreateStripInvariantGroup(), and clang::CodeGen::CodeGenFunction::EmitLValueForField().
|
inline |
Definition at line 223 of file CGBuilder.h.
References clang::Addr, Address, CreateStructGEP(), clang::CharUnits::fromQuantity(), and clang::CodeGen::Address::getElementType().
Referenced by clang::CodeGen::CodeGenFunction::CreateCoercedStore(), CreateStructGEP(), emitAddrOfFieldStorage(), clang::CodeGen::CodeGenFunction::emitAddrOfImagComponent(), clang::CodeGen::CodeGenFunction::emitAddrOfRealComponent(), clang::CodeGen::CodeGenFunction::emitBlockByrefAddress(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitLValueForField(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitRISCVCpuIs(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), EmitX86_64VAArgFromMemory(), EnterStructPointerForCoercedAccess(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateDestroyHelperFunction(), clang::CodeGen::CodeGenFunction::GetAddrOfBlockDecl(), and clang::CodeGen::CodeGenFunction::StartFunction().
|
inline |
Definition at line 103 of file CGBuilder.h.
References clang::CharUnits::getQuantity(), and clang::CodeGen::CodeGenTypeCache::SizeTy.
Referenced by CreateConstByteGEP(), CreateConstGEP(), CreateConstInBoundsByteGEP(), CreateConstInBoundsGEP(), clang::CodeGen::CodeGenFunction::EmitDirectXBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), EmitPointerAuthCommon(), and clang::CodeGen::CodeGenFunction::EmitPointerAuthOperandBundle().
|
inline |
Definition at line 106 of file CGBuilder.h.
References clang::CodeGen::CodeGenTypeCache::SizeTy.
|
friend |
Definition at line 51 of file CGBuilder.h.
Referenced by CreateAddrSpaceCast(), CreateConstArrayGEP(), CreateConstByteGEP(), CreateConstGEP(), CreateConstInBoundsByteGEP(), CreateConstInBoundsGEP(), CreateGEP(), CreatePreserveStructAccessIndex(), and CreateStructGEP().