Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp764 CGF.CreateTempAlloca(Receiver->getType(), CGF.getPointerAlign()); in LookupIMP()
790 CGF.getPointerAlign()); in LookupIMP()
810 CGF.getPointerAlign()); in LookupIMPSuper()
994 CharUnits Align = CGM.getPointerAlign(); in GenerateConstantString()
1206 CGM.getPointerAlign()); in GenerateProtocolMethodList()
1281 Address(GetClassVar(Name, isWeak), IdTy, CGM.getPointerAlign())); in GetClassNamed()
1323 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateEmptyProtocol()
1347 GV->setAlignment(CGM.getPointerAlign().getAsAlign()); in GenerateProtocolRef()
1352 CGM.getPointerAlign()); in GenerateProtocolRef()
1366 CGM.getPointerAlign(), false, llvm::GlobalValue::InternalLinkage); in GenerateProtocolList()
[all …]
H A DCGObjCMac.cpp1874 Name, CGM.getPointerAlign(), /*constant*/ false, in finishAndCreateGlobal()
2031 CharUnits Alignment = CGM.getPointerAlign(); in GenerateConstantNSString()
2068 ObjCTypes.SuperTy, CGF.getPointerAlign(), "objc_super"); in GenerateMessageSendSuper()
2088 CGF.getPointerAlign()); in GenerateMessageSendSuper()
2094 CGF.getPointerAlign()); in GenerateMessageSendSuper()
2103 CGF.getPointerAlign()); in GenerateMessageSendSuper()
3060 CGM.getPointerAlign(), in GetOrEmitProtocol()
3145 StringRef(), CGM.getPointerAlign(), true); in EmitProtocolExtension()
3190 CreateMetadataVar(name, values, section, CGM.getPointerAlign(), false); in EmitProtocolList()
3298 CreateMetadataVar(Name, values, Section, CGM.getPointerAlign(), true); in EmitPropertyList()
[all …]
H A DCodeGenTypeCache.h117 CharUnits getPointerAlign() const { in getPointerAlign() function
H A DCGCUDANV.cpp380 Address Stream = CGF.CreateTempAlloca(PtrTy, CGM.getPointerAlign(), "stream"); in emitDeviceStubBodyNew()
820 addUnderscoredPrefixToName("_fatbin_wrapper"), CGM.getPointerAlign(), in makeModuleCtorFunction()
847 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
886 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
888 CGM.getPointerAlign()); in makeModuleCtorFunction()
1242 Var->setAlignment(CGM.getPointerAlign().getAsAlign()); in getKernelHandle()
H A DCGBlocks.cpp243 elements.finishAndCreateGlobal(descName, CGM.getPointerAlign(), in buildBlockDescriptor()
490 CGM.getTarget().getPointerAlign(LangAS::opencl_generic) / 8); in initializeForBlockHeader()
523 assert(CGM.getIntAlign() <= CGM.getPointerAlign()); in initializeForBlockHeader()
524 assert((2 * CGM.getIntSize()).isMultipleOf(CGM.getPointerAlign())); in initializeForBlockHeader()
525 info.BlockAlign = CGM.getPointerAlign(); in initializeForBlockHeader()
608 CharUnits align = CGM.getPointerAlign(); in computeBlockInfo()
1196 getPointerAlign()); in EmitBlockCallExpr()
1212 Func = Builder.CreateAlignedLoad(VoidPtrTy, FuncPtr, getPointerAlign()); in EmitBlockCallExpr()
1360 CGM.getPointerAlign().getAsAlign()); in buildGlobalBlock()
1506 getPointerAlign(), in GenerateBlockFunction()
[all …]
H A DCGException.cpp426 return Address(ExceptionSlot, Int8PtrTy, getPointerAlign()); in getExceptionSlot()
1407 CGF.getPointerAlign())); in Emit()
1517 CGF.Builder.CreateAlignedStore(exn, SavedExnVar, CGF.getPointerAlign()); in exit()
1951 Address(ParentFP, CGM.VoidPtrTy, getPointerAlign())); in EmitCapturedLocals()
2123 SEHInfo = Builder.CreateAlignedLoad(Int8PtrTy, SEHInfo, getPointerAlign()); in EmitSEHExceptionCodeSave()
2138 Rec = Builder.CreateAlignedLoad(RecordTy, Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
H A DItaniumCXXABI.cpp680 CGF.getPointerAlign()); in EmitLoadOfMemberFunctionPointer()
759 CGF.getPointerAlign(), in EmitLoadOfMemberFunctionPointer()
1390 CGF.getPointerAlign()); in emitVirtualObjectDelete()
1610 CGF.getPointerAlign()); in EmitTypeid()
1776 PtrDiffLTy, OffsetToTop, CGF.getPointerAlign(), "offset.to.top"); in emitDynamicCastToVoid()
1812 CGM.PtrDiffTy, VBaseOffsetPtr, CGF.getPointerAlign(), "vbase.offset"); in GetVirtualBaseClassOffset()
2129 CGF.getPointerAlign()); in getVTableAddressPointInStructorWithVTT()
2166 : CGM.getTarget().getPointerAlign(AS); in getAddrOfVTable()
2210 CGF.getPointerAlign()); in getVirtualFunctionPointer()
2371 CGF.getPointerAlign()); in performTypeAdjustment()
[all …]
H A DABIInfoImpl.cpp215 DirectAlign = CGF.getPointerAlign(); in emitVoidPtrVAArg()
H A DCGOpenMPRuntime.cpp2175 ArgsElemType, CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
2179 ArgsElemType, CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
3653 Privates.emplace_back(CGM.getPointerAlign(), PrivateHelpersTy(VD)); in emitTaskInit()
4850 ArgsElemType, CGF.getPointerAlign()); in emitReductionFunction()
4854 ArgsElemType, CGF.getPointerAlign()); in emitReductionFunction()
9591 CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
9593 Address(Info.RTArgs.PointersArray, CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
9595 Address(Info.RTArgs.SizesArray, CGF.Int64Ty, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
9597 Address(Info.RTArgs.MappersArray, CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
10500 CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetDataStandAloneCall()
[all …]
H A DMicrosoftCXXABI.cpp1995 VFunc = Builder.CreateAlignedLoad(Ty, VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
2133 CGF.Builder.CreateAlignedLoad(ThunkPtrTy, VFuncPtr, CGF.getPointerAlign()); in EmitVirtualMemPtrThunk()
2263 CGF, Address(V, CGF.Int8Ty, CGF.getPointerAlign()), in performThisAdjustment()
3155 VBPtrAlign = CGF.getPointerAlign(); in GetVBaseOffsetFromVBPtr()
H A DCGObjC.cpp1874 getPointerAlign(), "forcoll.initial-mutations"); in EmitObjCForCollectionStmt()
1897 getPointerAlign(), "statemutations"); in EmitObjCForCollectionStmt()
1958 Builder.CreateAlignedLoad(ObjCIdType, CurrentItemPtr, getPointerAlign()); in EmitObjCForCollectionStmt()
H A DCGCall.cpp3146 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitFunctionProlog()
3817 RV = Builder.CreateAlignedLoad(Ty, SRet, getPointerAlign(), "sret"); in EmitFunctionEpilog()
4249 CGF.CreateTempAlloca(destElemType, CGF.getPointerAlign(), "icr.temp"); in emitWritebackArg()
5306 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitCall()
H A DCodeGenFunction.cpp1206 ReturnValuePointer = Address(Addr, Ty, getPointerAlign()); in StartFunction()
1207 Addr = Builder.CreateAlignedLoad(Ty, Addr, getPointerAlign(), "agg.result"); in StartFunction()
H A DCGExpr.cpp836 Address VPtrAddr(Ptr, IntPtrTy, getPointerAlign()); in EmitTypeCheck()
857 getPointerAlign()); in EmitTypeCheck()
5890 getPointerAlign()); in EmitCall()
6028 Address(Handle, Handle->getType(), CGM.getPointerAlign())); in EmitCall()
H A DCGExprAgg.cpp561 endOfInit = CGF.CreateTempAlloca(begin->getType(), CGF.getPointerAlign(), in EmitArrayInit()
H A DCGExprCXX.cpp1116 EndOfInit = CreateTempAlloca(BeginPtr.getType(), getPointerAlign(), in EmitNewArrayInitializer()
H A DCodeGenModule.cpp360 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(LangAS::Default)) in CodeGenModule()
2112 ctors.finishAndCreateGlobal(GlobalName, getPointerAlign(), in EmitCtorList()
6359 IsSwiftABI ? Context.toCharUnitsFromBits(64) : getPointerAlign(); in GetAddrOfConstantCFString()
H A DCGClass.cpp2708 Builder.CreateLoad(RawAddress(VTable, Int8Ty, CGM.getPointerAlign()), in GetVTablePtr()
H A DCGExprScalar.cpp2276 CGF.getPointerAlign()), in VisitCastExpr()
5552 Addr = Address(EmitScalarExpr(BaseExpr), BaseTy, getPointerAlign()); in EmitObjCIsaExpr()
H A DCGDebugInfo.cpp4714 CGM.getTarget().getPointerAlign(LangAS::Default))) { in EmitTypeForVarWithBlocksAttr()
H A DCGStmtOpenMP.cpp4918 CGF.getPointerAlign()); in EmitOMPTaskBasedDirective()
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DNVPTX.cpp107 PointerAlign = HostTarget->getPointerAlign(LangAS::Default); in NVPTXTargetInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h476 uint64_t getPointerAlign(LangAS AddrSpace) const { in getPointerAlign() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1072 Context.getTargetInfo().getPointerAlign(LangAS::Default)); in LayoutNonVirtualBases()
2825 Context.getTargetInfo().getPointerAlign(LangAS::Default)); in initializeCXXLayout()
H A DASTContext.cpp2166 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2172 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2187 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2249 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2254 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2262 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2267 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2422 Align = Target->getPointerAlign(LangAS::opencl_global); in getTypeInfoImpl()