Home
last modified time | relevance | path

Searched refs:getPointerAlign (Results 1 – 25 of 28) sorted by relevance

12

/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGObjCGNU.cpp787 CGF.getPointerAlign()); in LookupIMP()
807 CGF.getPointerAlign()); in LookupIMPSuper()
977 CharUnits Align = CGM.getPointerAlign(); in GenerateConstantString()
1310 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateEmptyProtocol()
1665 CGM.getPointerAlign().getAsAlign()); in ModuleInitFunction()
1770 CGM.getPointerAlign()); in GenerateClass()
1892 CGM.getPointerAlign(), /*constant*/ false, in GenerateClass()
2473 CGM.getPointerAlign(), in GetEHType()
2483 CharUnits Align = CGM.getPointerAlign(); in GenerateConstantString()
2614 CGF.getPointerAlign()); in GenerateMessageSendSuper()
[all …]
H A DCodeGenTypeCache.h117 CharUnits getPointerAlign() const { in getPointerAlign() function
H A DCGObjCMac.cpp1862 Name, CGM.getPointerAlign(), /*constant*/ false, in finishAndCreateGlobal()
2027 CharUnits Alignment = CGM.getPointerAlign(); in GenerateConstantNSString()
3392 CGM.getPointerAlign(), true); in GenerateCategory()
5180 CGM.getPointerAlign(), true); in EmitModuleInfo()
5218 CGM.getPointerAlign(), true); in EmitModuleSymbols()
5235 CGM.getPointerAlign(), true); in EmitClassRefFromId()
5264 CharUnits Align = CGM.getPointerAlign(); in EmitSelectorAddr()
6632 CharUnits Align = CGF.getPointerAlign(); in GenerateProtocolRef()
7460 CharUnits Align = CGF.getPointerAlign(); in EmitLoadOfClassRef()
7539 CharUnits Align = CGF.getPointerAlign(); in EmitMetaClassRef()
[all …]
H A DCGCUDANV.cpp375 CGF.CreateTempAlloca(VoidPtrTy, CGM.getPointerAlign(), "stream"); in emitDeviceStubBodyNew()
800 addUnderscoredPrefixToName("_fatbin_wrapper"), CGM.getPointerAlign(), in makeModuleCtorFunction()
828 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
869 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
871 CGM.getPointerAlign()); in makeModuleCtorFunction()
1199 Var->setAlignment(CGM.getPointerAlign().getAsAlign()); in getKernelHandle()
H A DCGBlocks.cpp259 elements.finishAndCreateGlobal(descName, CGM.getPointerAlign(), in buildBlockDescriptor()
508 CharUnits::fromQuantity(CGM.getTarget().getPointerAlign(GenericAS) / 8); in initializeForBlockHeader()
541 assert(CGM.getIntAlign() <= CGM.getPointerAlign()); in initializeForBlockHeader()
542 assert((2 * CGM.getIntSize()).isMultipleOf(CGM.getPointerAlign())); in initializeForBlockHeader()
543 info.BlockAlign = CGM.getPointerAlign(); in initializeForBlockHeader()
626 CharUnits align = CGM.getPointerAlign(); in computeBlockInfo()
1215 getPointerAlign()); in EmitBlockCallExpr()
1231 Func = Builder.CreateAlignedLoad(VoidPtrTy, FuncPtr, getPointerAlign()); in EmitBlockCallExpr()
1384 CGM.getPointerAlign().getAsAlign()); in buildGlobalBlock()
1529 getPointerAlign(), in GenerateBlockFunction()
[all …]
H A DCGException.cpp424 return Address(ExceptionSlot, Int8PtrTy, getPointerAlign()); in getExceptionSlot()
1384 CGF.getPointerAlign())); in Emit()
1494 CGF.Builder.CreateAlignedStore(exn, SavedExnVar, CGF.getPointerAlign()); in exit()
1935 Address(ParentFP, CGM.VoidPtrTy, getPointerAlign())); in EmitCapturedLocals()
2108 SEHInfo = Builder.CreateAlignedLoad(Int8PtrTy, SEHInfo, getPointerAlign()); in EmitSEHExceptionCodeSave()
2124 Rec = Builder.CreateAlignedLoad(RecordTy, Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
H A DItaniumCXXABI.cpp646 CGF.getPointerAlign()); in EmitLoadOfMemberFunctionPointer()
731 FTy->getPointerTo(), VFPAddr, CGF.getPointerAlign(), in EmitLoadOfMemberFunctionPointer()
1449 CGF.getPointerAlign()); in EmitTypeid()
1530 PtrDiffLTy, OffsetToTop, CGF.getPointerAlign(), "offset.to.top"); in EmitDynamicCastToVoid()
1572 CGM.PtrDiffTy, VBaseOffsetPtr, CGF.getPointerAlign(), "vbase.offset"); in GetVirtualBaseClassOffset()
1858 CGF.getPointerAlign()); in getVTableAddressPointInStructorWithVTT()
1890 : CGM.getTarget().getPointerAlign(0); in getAddrOfVTable()
1953 CGF.getPointerAlign()); in getVirtualFunctionPointer()
2109 CGF.getPointerAlign()); in performTypeAdjustment()
3856 CGM.getContext().toCharUnitsFromBits(CGM.getTarget().getPointerAlign(0)); in BuildTypeInfo()
[all …]
H A DCGOpenMPRuntimeGPU.cpp2069 Address(ScratchpadBasePtr, CGF.VoidPtrTy, CGF.getPointerAlign());
2072 Address(ScratchpadBasePtr, CGF.VoidPtrTy, CGF.getPointerAlign());
2163 ElemTy, CGF.getPointerAlign()); in emitInterWarpCopyFunction()
2438 ElemTy, CGF.getPointerAlign()); in emitShuffleAndReduceFunction()
2595 ElemTy, CGF.getPointerAlign()); in emitListToGlobalCopyFunction()
2804 ElemTy, CGF.getPointerAlign()); in emitGlobalToListCopyFunction()
3320 Address(KernelTeamsReductionPtr, CGF.VoidPtrTy, CGM.getPointerAlign()), in emitReduction()
H A DCodeGenFunction.cpp572 return Builder.CreateLoad(Address(GOTAddr, Int8PtrTy, getPointerAlign()), in DecodeAddrUsedInPrologue()
1107 ReturnValuePointer = Address(Addr, Ty, getPointerAlign()); in StartFunction()
1108 Addr = Builder.CreateAlignedLoad(Ty, Addr, getPointerAlign(), "agg.result"); in StartFunction()
H A DCGOpenMPRuntime.cpp2366 ArgsElemType, CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
2370 ArgsElemType, CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
4156 Privates.emplace_back(CGM.getPointerAlign(), PrivateHelpersTy(VD)); in emitTaskInit()
5350 ArgsElemType, CGF.getPointerAlign()); in emitReductionFunction()
5354 ArgsElemType, CGF.getPointerAlign()); in emitReductionFunction()
9408 Address PAddr(P, CGM.VoidPtrTy, CGF.getPointerAlign()); in emitNonContiguousDescriptor()
10456 Address(Info.PointersArray, CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCall()
10458 Address(Info.SizesArray, CGF.Int64Ty, CGM.getPointerAlign()); in emitTargetCall()
10460 Address(Info.MappersArray, CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCall()
11341 Address(Info.SizesArray, CGF.Int64Ty, CGM.getPointerAlign()); in emitTargetDataStandAloneCall()
[all …]
H A DMicrosoftCXXABI.cpp1962 VFunc = Builder.CreateAlignedLoad(Ty, VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
2097 CGF.Builder.CreateAlignedLoad(ThunkPtrTy, VFuncPtr, CGF.getPointerAlign()); in EmitVirtualMemPtrThunk()
2226 CGF, Address(V, CGF.Int8Ty, CGF.getPointerAlign()), in performThisAdjustment()
3123 VBPtrAlign = CGF.getPointerAlign(); in GetVBaseOffsetFromVBPtr()
H A DCGCleanup.cpp67 CGF.CreateTempAlloca(V.getType(), CGF.getPointerAlign(), "saved-rvalue"); in save()
H A DCGObjC.cpp1832 getPointerAlign(), "forcoll.initial-mutations"); in EmitObjCForCollectionStmt()
1855 getPointerAlign(), "statemutations"); in EmitObjCForCollectionStmt()
1916 Builder.CreateAlignedLoad(ObjCIdType, CurrentItemPtr, getPointerAlign()); in EmitObjCForCollectionStmt()
H A DCGCall.cpp2901 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitFunctionProlog()
3523 RV = Builder.CreateAlignedLoad(Ty, SRet, getPointerAlign(), "sret"); in EmitFunctionEpilog()
3955 CGF.CreateTempAlloca(destElemType, CGF.getPointerAlign(), "icr.temp"); in emitWritebackArg()
4996 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitCall()
H A DCGExpr.cpp834 getPointerAlign()); in EmitTypeCheck()
852 getPointerAlign()); in EmitTypeCheck()
5363 Builder.CreateAlignedLoad(Int32Ty, CalleeRTTIPtr, getPointerAlign()); in EmitCall()
5494 Address(Cast, Handle->getType(), CGM.getPointerAlign())); in EmitCall()
H A DCGExprAgg.cpp534 endOfInit = CGF.CreateTempAlloca(begin->getType(), CGF.getPointerAlign(), in EmitArrayInit()
H A DCGExprCXX.cpp1087 EndOfInit = CreateTempAlloca(BeginPtr.getType(), getPointerAlign(), in EmitNewArrayInitializer()
H A DCodeGenModule.cpp125 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule()
1630 ctors.finishAndCreateGlobal(GlobalName, getPointerAlign(), in EmitCtorList()
5607 IsSwiftABI ? Context.toCharUnitsFromBits(64) : getPointerAlign(); in GetAddrOfConstantCFString()
H A DCGDecl.cpp1583 CreateTempAlloca(Int8PtrTy, getPointerAlign(), "saved_stack"); in EmitAutoVarAlloca()
H A DCGExprScalar.cpp2052 CGF.getPointerAlign()), in VisitCastExpr()
4915 Addr = Address(EmitScalarExpr(BaseExpr), BaseTy, getPointerAlign()); in EmitObjCIsaExpr()
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DNVPTX.cpp114 PointerAlign = HostTarget->getPointerAlign(/* AddrSpace = */ 0); in NVPTXTargetInfo()
/llvm-project-15.0.7/clang/lib/AST/
H A DMicrosoftCXXABI.cpp321 MPI.Align = Target.getPointerAlign(0); in getMemberPointerInfo()
H A DRecordLayoutBuilder.cpp1065 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1919 Context.getTargetInfo().getPointerAlign(AS)); in LayoutField()
2783 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in initializeCXXLayout()
H A DASTContext.cpp2185 Align = Target->getPointerAlign(0); // == sizeof(void*) in getTypeInfoImpl()
2191 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
2207 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2251 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
2256 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2264 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2269 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2425 Align = Target->getPointerAlign(getTargetAddressSpace(LangAS::opencl_global)); in getTypeInfoImpl()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h428 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() function

12