|
clang
5.0.0
|
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::Value *Addr, CharUnits Align, const llvm::Twine &Name="") |
| llvm::LoadInst * | CreateAlignedLoad (llvm::Value *Addr, CharUnits Align, const char *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. More... | |
| llvm::StoreInst * | CreateFlagStore (bool Value, llvm::Value *Addr) |
| Emit a store to an i1 flag variable. More... | |
| Address | CreateBitCast (Address Addr, llvm::Type *Ty, const llvm::Twine &Name="") |
| Address | CreateElementBitCast (Address Addr, llvm::Type *Ty, const llvm::Twine &Name="") |
| Cast the element type of the given address to a different type, preserving information like the alignment and address space. More... | |
| Address | CreatePointerBitCastOrAddrSpaceCast (Address Addr, llvm::Type *Ty, const llvm::Twine &Name="") |
| Address | CreateStructGEP (Address Addr, unsigned Index, CharUnits Offset, const llvm::Twine &Name="") |
| Address | CreateStructGEP (Address Addr, unsigned Index, const llvm::StructLayout *Layout, const llvm::Twine &Name="") |
| Address | CreateConstArrayGEP (Address Addr, uint64_t Index, CharUnits EltSize, const llvm::Twine &Name="") |
| Given addr = [n x T]* ... More... | |
| Address | CreateConstInBoundsGEP (Address Addr, uint64_t Index, CharUnits EltSize, const llvm::Twine &Name="") |
| Given addr = T* ... More... | |
| Address | CreateConstGEP (Address Addr, uint64_t Index, CharUnits EltSize, const llvm::Twine &Name="") |
| Given addr = T* ... More... | |
| Address | CreateConstInBoundsByteGEP (Address Addr, CharUnits Offset, const llvm::Twine &Name="") |
| Given a pointer to i8, adjust it by a given constant offset. More... | |
| Address | CreateConstByteGEP (Address Addr, CharUnits Offset, const llvm::Twine &Name="") |
| llvm::Value * | CreateConstInBoundsByteGEP (llvm::Value *Ptr, CharUnits Offset, const llvm::Twine &Name="") |
| llvm::Value * | CreateConstByteGEP (llvm::Value *Ptr, CharUnits Offset, const llvm::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 * | 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) |
Definition at line 45 of file CGBuilder.h.
|
inline |
Definition at line 50 of file CGBuilder.h.
|
inline |
Definition at line 52 of file CGBuilder.h.
|
inline |
Definition at line 56 of file CGBuilder.h.
|
inline |
Definition at line 58 of file CGBuilder.h.
|
inline |
Definition at line 91 of file CGBuilder.h.
References clang::CharUnits::getQuantity(), and Name.
Referenced by BuildAppleKextVirtualCall(), CreateAlignedLoad(), CreateFlagLoad(), CreateLoad(), createPlaceholderSlot(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), EmitX86MaskedLoad(), EmitX86SubVectorBroadcast(), performTypeAdjustment(), clang::CodeGen::DominatingLLVMValue::restore(), and clang::CodeGen::CodeGenFunction::StartFunction().
|
inline |
Definition at line 95 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CharUnits::getQuantity(), and Name.
|
inline |
Definition at line 99 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CharUnits::getQuantity(), and Name.
|
inline |
Definition at line 115 of file CGBuilder.h.
References clang::CharUnits::getQuantity().
Referenced by AssignToArrayRange(), CreateFlagStore(), CreateStore(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitNVPTXDevicePrintfCallExpr(), EmitX86MaskedStore(), and clang::CodeGen::CodeGenFunction::FinallyInfo::exit().
|
inline |
Definition at line 142 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and Name.
Referenced by AddDirectArgument(), AdjustObjCObjectType(), ApplyNonVirtualAndVirtualOffset(), BuildAppleKextVirtualCall(), clang::CodeGen::CodeGenFunction::BuildBlockRelease(), CoerceIntOrPtrToIntOrPtr(), createCastsForTypeOfSameSize(), CreateCoercedLoad(), CreateCoercedStore(), CreateElementBitCast(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAArch64CompareBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAnnotationCall(), clang::CodeGen::CodeGenFunction::EmitAnyExprToExn(), emitARCCopyOperation(), clang::CodeGen::CodeGenFunction::EmitARCDestroyWeak(), emitARCLoadOperation(), clang::CodeGen::CodeGenFunction::EmitARCRelease(), clang::CodeGen::CodeGenFunction::EmitARCRetainAutorelease(), emitARCStoreOperation(), clang::CodeGen::CodeGenFunction::EmitARCStoreStrongCall(), emitARCValueOperation(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitAsmStmt(), clang::CodeGen::CodeGenFunction::EmitAtomicExpr(), clang::CodeGen::CGObjCRuntime::EmitAtSynchronizedStmt(), clang::CodeGen::CodeGenFunction::EmitAutoVarInit(), EmitBinaryAtomicPost(), EmitBitCastOfLValueToProperType(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitCastToVoidPtr(), emitCatchDispatchBlock(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), EmitCommonNeonSISDBuiltinExpr(), emitCPPObjectAtomicGetterCall(), emitCPPObjectAtomicSetterCall(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitCXXTypeidExpr(), clang::CodeGen::CodeGenFunction::EmitDeleteCall(), clang::CodeGen::CodeGenFunction::EmitExtendGCLifetime(), clang::CodeGen::CodeGenFunction::EmitFieldAnnotations(), clang::CodeGen::CodeGenFunction::EmitIndirectGotoStmt(), clang::CodeGen::CodeGenFunction::EmitLifetimeEnd(), clang::CodeGen::CodeGenFunction::EmitLifetimeStart(), clang::CodeGen::CodeGenFunction::EmitMustTailThunk(), clang::CodeGen::CodeGenFunction::EmitNeonCall(), clang::CodeGen::CodeGenFunction::EmitNeonRShiftImm(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), EmitNontemporalStore(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), clang::CodeGen::CodeGenFunction::EmitObjCBoxedExpr(), clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitObjCMessageExpr(), clang::CodeGen::CodeGenFunction::EmitOMPUseDevicePtrClause(), clang::CodeGen::CodeGenFunction::EmitParmDecl(), emitPointerArithmetic(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitReturnStmt(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), EmitSignBit(), emitStructGetterCall(), emitStructSetterCall(), clang::CodeGen::CodeGenFunction::EmitSynthesizedCXXCopyCtorCall(), clang::CodeGen::CGObjCRuntime::EmitTryCatchStmt(), clang::CodeGen::CodeGenFunction::EmitTypeCheck(), clang::CodeGen::CodeGenFunction::EmitTypeMetadataCodeForVCall(), clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset(), clang::CodeGen::CodeGenFunction::EmitVarAnnotations(), clang::CodeGen::CodeGenFunction::EmitVTablePtrCheck(), clang::CodeGen::CodeGenFunction::EmitVTableTypeCheckedLoad(), emitWriteback(), emitWritebackArg(), EmitX86_64VAArgFromMemory(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), EmitX86MaskedCompare(), EmitX86MaskedLoad(), EmitX86MaskedStore(), generateByrefCopyHelper(), generateByrefDisposeHelper(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateDestroyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateObjCCtorDtorMethod(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CodeGenFunction::GetAddressOfBaseClass(), clang::CodeGen::CodeGenFunction::GetAddressOfDerivedClass(), clang::CodeGen::CodeGenFunction::GetAddrOfBlockDecl(), getMaskVecValue(), InitCatchParam(), clang::CodeGen::CodeGenFunction::InitializeVTablePointer(), MakeAtomicCmpXchgValue(), MakeBinaryAtomicValue(), performTypeAdjustment(), clang::CodeGen::CodeGenFunction::recoverAddrOfEscapedLocal(), tryEmitFusedAutoreleaseOfResult(), tryRemoveRetainOfSelf(), and clang::CodeGen::CodeGenFunction::vectorWrapScalar16().
|
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.
| EltSize | - the size of the type T in bytes |
Definition at line 188 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), getSize(), Name, and clang::CharUnits::Zero().
Referenced by emitAddrOfVarFromArray(), emitInterWarpCopyFunction(), clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral(), clang::CodeGen::CGOpenMPRuntimeNVPTX::emitReduction(), and clang::CodeGen::emitTaskCall().
|
inline |
Definition at line 233 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), getSize(), clang::CodeGen::CodeGenTypeCache::Int8Ty, and Name.
|
inline |
Definition at line 245 of file CGBuilder.h.
References getSize(), clang::CodeGen::CodeGenTypeCache::Int8Ty, and Name.
|
inline |
Given addr = T* ...
produce name = getelementptr inbounds addr, i64 index where i64 is actually the target word size.
| EltSize | - the size of the type T in bytes |
Definition at line 219 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), getSize(), and Name.
|
inline |
Given a pointer to i8, adjust it by a given constant offset.
Definition at line 227 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), getSize(), clang::CodeGen::CodeGenTypeCache::Int8Ty, and Name.
Referenced by emitAddressAtOffset(), EmitNullBaseClassInitialization(), emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(), performTypeAdjustment(), and clang::CodeGen::CGCXXABI::ReadArrayCookie().
|
inline |
Definition at line 240 of file CGBuilder.h.
References getSize(), clang::CodeGen::CodeGenTypeCache::Int8Ty, and Name.
|
inline |
Given addr = T* ...
produce name = getelementptr inbounds addr, i64 index where i64 is actually the target word size.
| EltSize | - the size of the type T in bytes |
Definition at line 204 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), getSize(), and Name.
|
inline |
Definition at line 122 of file CGBuilder.h.
Referenced by clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), emitStoresForInitAfterMemset(), and clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr().
|
inline |
Cast the element type of the given address to a different type, preserving information like the alignment and address space.
Definition at line 150 of file CGBuilder.h.
References CreateBitCast(), clang::CodeGen::Address::getAddressSpace(), and Name.
Referenced by CheckAggExprForMemSetUse(), CreateCoercedStore(), emitAddressAtOffset(), emitAddrOfVarFromArray(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitArrayLength(), clang::CodeGen::ReductionCodeGen::emitCleanups(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::ReductionCodeGen::emitInitialization(), emitInterWarpCopyFunction(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), emitNonZeroVLAInit(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr(), clang::CodeGen::CodeGenFunction::EmitOMPAggregateAssign(), EmitOMPAggregateInit(), emitOMPArraySectionBase(), clang::CodeGen::CodeGenFunction::EmitOMPReductionClauseInit(), emitReduceCombFunction(), EmitThreadPrivateVarDeclLValue(), clang::CodeGen::emitThreadPrivateVarDefinition(), clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset(), emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(), clang::CodeGen::CodeGenFunction::GetVTablePtr(), loadToBegin(), performTypeAdjustment(), clang::CodeGen::CGCXXABI::ReadArrayCookie(), and tryEmitARCCopyWeakInit().
|
inline |
Emit a load from an i1 flag variable.
Definition at line 129 of file CGBuilder.h.
References CreateAlignedLoad(), Name, and clang::CharUnits::One().
|
inline |
Emit a store to an i1 flag variable.
Definition at line 136 of file CGBuilder.h.
References CreateAlignedStore(), and clang::CharUnits::One().
Referenced by clang::CodeGen::CodeGenFunction::EmitReturnStmt(), clang::CodeGen::CodeGenFunction::FinallyInfo::enter(), and clang::CodeGen::CodeGenFunction::FinallyInfo::exit().
|
inline |
Definition at line 70 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), clang::CharUnits::getQuantity(), and Name.
Referenced by CreateCoercedLoad(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), emitAddrOfVarFromArray(), clang::CodeGen::CodeGenFunction::EmitARCDestroyStrong(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), emitAtomicCmpXchg(), EmitAtomicOp(), clang::CodeGen::CodeGenFunction::emitBlockByrefAddress(), EmitCleanup(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), emitCopyprivateCopyFunction(), clang::CodeGen::CodeGenFunction::EmitCXXPseudoDestructorExpr(), emitDistributeParallelForDistributeInnerBoundParams(), EmitMemberInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), emitOMPArraySectionBase(), clang::CodeGen::CodeGenFunction::EmitOMPLastprivateClauseFinal(), clang::CodeGen::CodeGenFunction::EmitParmDecl(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCode(), clang::CodeGen::CGCXXABI::EmitThisParam(), emitVoidPtrDirectVAArg(), emitVoidPtrVAArg(), emitWriteback(), EmitX86_64VAArgFromMemory(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), 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(), performTypeAdjustment(), and clang::CodeGen::CodeGenFunction::setBlockContextParameter().
|
inline |
Definition at line 75 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), clang::CharUnits::getQuantity(), and Name.
|
inline |
Definition at line 82 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), clang::CharUnits::getQuantity(), and Name.
|
inline |
Definition at line 252 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and min().
Referenced by CreateCoercedLoad(), CreateCoercedStore(), CreateMemCpy(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitAutoVarInit(), emitNonZeroVLAInit(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), and clang::CodeGen::CGOpenMPRuntime::emitUpdateLocation().
|
inline |
Definition at line 258 of file CGBuilder.h.
References CreateMemCpy(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and min().
|
inline |
Definition at line 266 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and min().
|
inline |
Definition at line 274 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and clang::CharUnits::getQuantity().
Referenced by CheckAggExprForMemSetUse(), clang::CodeGen::CodeGenFunction::EmitAutoVarInit(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), and clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr().
|
inline |
Definition at line 157 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and Name.
Referenced by castToBase(), createCastsForTypeOfSameSize(), emitCopyprivateCopyFunction(), emitCopyToScratchpad(), clang::CodeGen::emitDoacrossInit(), emitInterWarpCopyFunction(), emitOffloadingArrays(), emitPrivatesInit(), emitProxyTaskFunction(), emitReduceScratchpadFunction(), clang::CodeGen::CGOpenMPRuntimeNVPTX::emitReduction(), emitShuffleAndReduceFunction(), clang::CodeGen::emitTaskCall(), clang::CodeGen::emitTaskInit(), clang::CodeGen::emitTaskLoopCall(), clang::CodeGen::emitTaskReductionFixups(), clang::CodeGen::getAddrOfArtificialThreadPrivate(), clang::CodeGen::getTaskReductionItem(), and clang::CodeGen::TargetCodeGenInfo::performAddrSpaceCast().
|
inline |
Definition at line 108 of file CGBuilder.h.
References CreateAlignedStore(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and clang::CharUnits::getQuantity().
Referenced by clang::CodeGen::CodeGenFunction::OMPPrivateScope::addPrivate(), BuildAggStore(), castToBase(), CreateCoercedStore(), clang::CodeGen::CodeGenFunction::EmitAMDGPUBuiltinExpr(), clang::CodeGen::CodeGenFunction::EmitARCInitWeak(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), emitAtomicCmpXchg(), clang::CodeGen::CodeGenFunction::EmitAtomicExpr(), EmitAtomicOp(), clang::CodeGen::CodeGenFunction::EmitAtomicStore(), clang::CodeGen::CodeGenFunction::EmitAutoVarAlloca(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), clang::CodeGen::CGObjCRuntime::EmitInitOfCatchParam(), emitInterWarpCopyFunction(), clang::CodeGen::CodeGenFunction::EmitLandingPad(), clang::CodeGen::CodeGenFunction::EmitMustTailThunk(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCMessageExpr(), emitOffloadingArrays(), clang::CodeGen::CodeGenFunction::EmitParmDecl(), clang::CodeGen::CGOpenMPRuntimeNVPTX::emitReduction(), clang::CodeGen::CodeGenFunction::EmitReturnStmt(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), EmitSystemZIntrinsicWithCC(), clang::CodeGen::emitTaskReductionFixups(), clang::CodeGen::emitThreadPrivateVarDefinition(), clang::CodeGen::CGOpenMPRuntime::emitUpdateLocation(), emitVoidPtrDirectVAArg(), emitWritebackArg(), EmitX86_64VAArgFromMemory(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), clang::CodeGen::CodeGenFunction::ExitSEHTryStmt(), clang::CodeGen::CodeGenFunction::GenerateBlockFunction(), clang::CodeGen::CodeGenFunction::GenerateCopyHelperFunction(), clang::CodeGen::CodeGenFunction::GenerateCXXGlobalInitFunc(), clang::CodeGen::CodeGenFunction::generateObjCGetterBody(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CodeGenFunction::GenerateSEHFilterFunction(), InitCatchParam(), clang::CodeGen::CodeGenFunction::initFullExprCleanup(), clang::CodeGen::CodeGenFunction::InitializeVTablePointer(), clang::CodeGen::CodeGenFunction::PopCleanupBlocks(), clang::CodeGen::DominatingLLVMValue::save(), clang::CodeGen::CodeGenFunction::setBlockContextParameter(), and SetupCleanupBlockActivation().
|
inline |
Definition at line 165 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), and Name.
Referenced by BuildAggStore(), createIdentFieldGEP(), 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::EmitNVPTXDevicePrintfCallExpr(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), emitOMPArraySectionBase(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::emitTaskCall(), EmitX86_64VAArgFromMemory(), enterBlockScope(), 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 171 of file CGBuilder.h.
References CreateStructGEP(), clang::CharUnits::fromQuantity(), and Name.
|
inline |
Definition at line 61 of file CGBuilder.h.
References clang::CharUnits::getQuantity(), and clang::CodeGen::CodeGenTypeCache::SizeTy.
Referenced by CreateConstArrayGEP(), CreateConstByteGEP(), CreateConstGEP(), CreateConstInBoundsByteGEP(), CreateConstInBoundsGEP(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), clang::CodeGen::emitTaskInit(), and clang::CodeGen::getAddrOfThreadPrivate().
|
inline |
Definition at line 64 of file CGBuilder.h.
References clang::CodeGen::CodeGenTypeCache::SizeTy.
1.8.6