clang
3.9.0
|
#include <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::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::LoadInst * | CreateAlignedLoad (llvm::Value *Addr, CharUnits Align, bool IsVolatile, 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::LoadInst * | CreateDefaultAlignedLoad (llvm::Value *Addr, const llvm::Twine &Name="") |
llvm::LoadInst * | CreateDefaultAlignedLoad (llvm::Value *Addr, const char *Name) |
llvm::LoadInst * | CreateDefaultAlignedLoad (llvm::Value *Addr, bool IsVolatile, const llvm::Twine &Name="") |
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 clang::Name.
Referenced by BuildAppleKextVirtualCall(), CreateAlignedLoad(), CreateFlagLoad(), CreateLoad(), clang::CodeGen::CodeGenFunction::EmitBlockCallExpr(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), clang::CodeGen::CodeGenFunction::EmitX86BuiltinExpr(), EmitX86MaskedLoad(), 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 clang::Name.
|
inline |
Definition at line 99 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CharUnits::getQuantity(), and clang::Name.
|
inline |
Definition at line 105 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CharUnits::getQuantity(), and clang::Name.
|
inline |
Definition at line 120 of file CGBuilder.h.
References clang::CharUnits::getQuantity().
Referenced by AssignToArrayRange(), CreateFlagStore(), CreateStore(), clang::CodeGen::CodeGenFunction::EmitCUDADevicePrintfCallExpr(), clang::CodeGen::CGOpenMPRuntimeNVPTX::emitEntryFooter(), EmitX86MaskedStore(), and clang::CodeGen::CodeGenFunction::FinallyInfo::exit().
|
inline |
Definition at line 160 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and clang::Name.
Referenced by AddDirectArgument(), AdjustObjCObjectType(), ApplyNonVirtualAndVirtualOffset(), BuildAppleKextVirtualCall(), clang::CodeGen::CodeGenFunction::BuildBlockRelease(), CoerceIntOrPtrToIntOrPtr(), 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::EmitBlockLiteral(), clang::CodeGen::CodeGenFunction::EmitCall(), 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(), EmitFunctionDeclLValue(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitIndirectGotoStmt(), clang::CodeGen::CodeGenFunction::EmitInitializerForField(), 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(), emitOffloadingArrays(), clang::CodeGen::CodeGenFunction::EmitParmDecl(), emitPointerArithmetic(), clang::CodeGen::CodeGenFunction::EmitPPCBuiltinExpr(), 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(), clang::CodeGen::CodeGenFunction::setBlockContextParameter(), 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 206 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), getSize(), clang::Name, and clang::CharUnits::Zero().
Referenced by emitAddrOfVarFromArray(), clang::CodeGen::CodeGenFunction::EmitObjCCollectionLiteral(), emitReductionFunction(), and clang::CodeGen::emitTaskCall().
|
inline |
Definition at line 251 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 clang::Name.
|
inline |
Definition at line 263 of file CGBuilder.h.
References getSize(), clang::CodeGen::CodeGenTypeCache::Int8Ty, and clang::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 237 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), getSize(), and clang::Name.
|
inline |
Given a pointer to i8, adjust it by a given constant offset.
Definition at line 245 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 clang::Name.
Referenced by emitAddressAtOffset(), EmitNullBaseClassInitialization(), emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(), performTypeAdjustment(), and clang::CodeGen::CGCXXABI::ReadArrayCookie().
|
inline |
Definition at line 258 of file CGBuilder.h.
References getSize(), clang::CodeGen::CodeGenTypeCache::Int8Ty, and clang::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 222 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), getSize(), and clang::Name.
|
inline |
Definition at line 127 of file CGBuilder.h.
References clang::Name.
Referenced by createPlaceholderSlot(), and clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr().
|
inline |
Definition at line 131 of file CGBuilder.h.
|
inline |
Definition at line 135 of file CGBuilder.h.
References clang::Name.
|
inline |
Definition at line 140 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 168 of file CGBuilder.h.
References CreateBitCast(), clang::CodeGen::Address::getAddressSpace(), and clang::Name.
Referenced by CheckAggExprForMemSetUse(), emitAddressAtOffset(), emitAddrOfVarFromArray(), clang::CodeGen::CodeGenFunction::EmitAggregateCopy(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), clang::CodeGen::CodeGenFunction::emitArrayLength(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCXXNewExpr(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), emitNonZeroVLAInit(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), clang::CodeGen::CodeGenFunction::EmitObjCIsaExpr(), clang::CodeGen::CodeGenFunction::EmitOMPAggregateAssign(), EmitOMPAggregateInit(), emitOMPArraySectionBase(), clang::CodeGen::CodeGenFunction::EmitOMPReductionClauseInit(), EmitThreadPrivateVarDeclLValue(), clang::CodeGen::emitThreadPrivateVarDefinition(), clang::CodeGen::CGObjCRuntime::EmitValueForIvarAtOffset(), emitVoidPtrDirectVAArg(), clang::CodeGen::CodeGenFunction::generateObjCSetterBody(), clang::CodeGen::CodeGenFunction::GetAddressOfDirectBaseInCompleteClass(), clang::CodeGen::CodeGenFunction::GetVTablePtr(), performTypeAdjustment(), clang::CodeGen::CGCXXABI::ReadArrayCookie(), and tryEmitARCCopyWeakInit().
|
inline |
Emit a load from an i1 flag variable.
Definition at line 147 of file CGBuilder.h.
References CreateAlignedLoad(), clang::Name, and clang::CharUnits::One().
|
inline |
Emit a store to an i1 flag variable.
Definition at line 154 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 clang::Name.
Referenced by CreateCoercedLoad(), clang::CodeGen::CodeGenFunction::EmitAArch64BuiltinExpr(), emitAddrOfVarFromArray(), EmitAggMemberInitializer(), clang::CodeGen::CodeGenFunction::EmitARCDestroyStrong(), clang::CodeGen::CodeGenFunction::EmitARMBuiltinExpr(), emitAtomicCmpXchg(), EmitAtomicOp(), clang::CodeGen::CodeGenFunction::emitBlockByrefAddress(), clang::CodeGen::CodeGenFunction::EmitBlockLiteral(), clang::CodeGen::CodeGenFunction::EmitCall(), EmitCleanup(), clang::CodeGen::CodeGenFunction::EmitCommonNeonBuiltinExpr(), emitCopyprivateCopyFunction(), clang::CodeGen::CodeGenFunction::EmitDelegateCallArg(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), EmitMemberInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCForCollectionStmt(), emitOMPArraySectionBase(), clang::CodeGen::CodeGenFunction::EmitOMPLastprivateClauseFinal(), emitReductionFunction(), 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 clang::Name.
|
inline |
Definition at line 82 of file CGBuilder.h.
References CreateAlignedLoad(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), clang::CharUnits::getQuantity(), and clang::Name.
|
inline |
Definition at line 270 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(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), emitNonZeroVLAInit(), EmitNullBaseClassInitialization(), clang::CodeGen::CodeGenFunction::EmitNullInitialization(), and clang::CodeGen::emitUpdateLocation().
|
inline |
Definition at line 276 of file CGBuilder.h.
References CreateMemCpy(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and min().
|
inline |
Definition at line 284 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and min().
|
inline |
Definition at line 292 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(), and clang::CodeGen::CodeGenFunction::EmitNullInitialization().
|
inline |
Definition at line 175 of file CGBuilder.h.
References clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getPointer(), and clang::Name.
Referenced by castToBase(), emitCopyprivateCopyFunction(), clang::CodeGen::emitDoacrossInit(), emitPrivatesInit(), emitProxyTaskFunction(), emitReductionFunction(), clang::CodeGen::emitTaskCall(), clang::CodeGen::emitTaskInit(), clang::CodeGen::emitTaskLoopCall(), and loadToBegin().
|
inline |
Definition at line 113 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(), EmitAggMemberInitializer(), 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::EmitBlockLiteral(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), clang::CodeGen::CodeGenFunction::EmitInitializerForField(), clang::CodeGen::CGObjCRuntime::EmitInitOfCatchParam(), clang::CodeGen::CodeGenFunction::EmitLandingPad(), clang::CodeGen::CodeGenFunction::EmitMustTailThunk(), clang::CodeGen::CodeGenFunction::EmitNewArrayInitializer(), clang::CodeGen::CodeGenFunction::EmitObjCMessageExpr(), emitOffloadingArrays(), clang::CodeGen::CodeGenFunction::EmitReturnStmt(), clang::CodeGen::CodeGenFunction::EmitSEHExceptionCodeSave(), EmitSystemZIntrinsicWithCC(), clang::CodeGen::emitThreadPrivateVarDefinition(), clang::CodeGen::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::DominatingLLVMValue::save(), clang::CodeGen::CodeGenFunction::setBlockContextParameter(), and SetupCleanupBlockActivation().
|
inline |
Definition at line 183 of file CGBuilder.h.
References clang::CharUnits::alignmentAtOffset(), clang::CodeGen::Address::getAlignment(), clang::CodeGen::Address::getElementType(), clang::CodeGen::Address::getPointer(), and clang::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::EmitBlockLiteral(), clang::CodeGen::CodeGenFunction::emitByrefStructureInit(), clang::CodeGen::CodeGenFunction::EmitCall(), clang::CodeGen::CodeGenFunction::EmitCUDADevicePrintfCallExpr(), clang::CodeGen::CodeGenFunction::EmitFunctionEpilog(), clang::CodeGen::CodeGenFunction::EmitFunctionProlog(), 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 189 of file CGBuilder.h.
References CreateStructGEP(), clang::CharUnits::fromQuantity(), and clang::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.