Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGObjCGNU.cpp763 CGF.CreateTempAlloca(Receiver->getType(), CGF.getPointerAlign()); in LookupIMP()
791 CGF.getPointerAlign()); in LookupIMP()
811 CGF.getPointerAlign()); in LookupIMPSuper()
995 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 DCodeGenTypeCache.h117 CharUnits getPointerAlign() const { in getPointerAlign() function
H A DCGObjCMac.cpp1806 Name, CGM.getPointerAlign(), /*constant*/ false, in finishAndCreateGlobal()
1961 CharUnits Alignment = CGM.getPointerAlign(); in GenerateConstantNSString()
1990 ObjCTypes.SuperTy, CGF.getPointerAlign(), "objc_super"); in GenerateMessageSendSuper()
2010 CGF.getPointerAlign()); in GenerateMessageSendSuper()
2016 CGF.getPointerAlign()); in GenerateMessageSendSuper()
2025 CGF.getPointerAlign()); in GenerateMessageSendSuper()
2973 "OBJC_PROTOCOL_" + PD->getName(), CGM.getPointerAlign(), in GetOrEmitProtocol()
3051 StringRef(), CGM.getPointerAlign(), true); in EmitProtocolExtension()
3096 CreateMetadataVar(name, values, section, CGM.getPointerAlign(), false); in EmitProtocolList()
3200 CreateMetadataVar(Name, values, Section, CGM.getPointerAlign(), true); in EmitPropertyList()
[all …]
H A DCGCUDANV.cpp442 Address Stream = CGF.CreateTempAlloca(PtrTy, CGM.getPointerAlign(), "stream"); in emitDeviceStubBodyNew()
884 addUnderscoredPrefixToName("_fatbin_wrapper"), CGM.getPointerAlign(), in makeModuleCtorFunction()
912 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
951 GpuBinaryHandle->setAlignment(CGM.getPointerAlign().getAsAlign()); in makeModuleCtorFunction()
953 CGM.getPointerAlign()); in makeModuleCtorFunction()
1324 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()
607 CharUnits align = CGM.getPointerAlign(); in computeBlockInfo()
1207 getPointerAlign()); in EmitBlockCallExpr()
1223 Func = Builder.CreateAlignedLoad(VoidPtrTy, FuncPtr, getPointerAlign()); in EmitBlockCallExpr()
1391 CGM.getPointerAlign().getAsAlign()); in buildGlobalBlock()
1538 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.cpp675 CGF.getPointerAlign()); in EmitLoadOfMemberFunctionPointer()
768 CGF.getPointerAlign(), in EmitLoadOfMemberFunctionPointer()
1403 CGF.getPointerAlign()); in emitVirtualObjectDelete()
1624 CGF.getPointerAlign()); in EmitTypeid()
1790 PtrDiffLTy, OffsetToTop, CGF.getPointerAlign(), "offset.to.top"); in emitDynamicCastToVoid()
1826 CGM.PtrDiffTy, VBaseOffsetPtr, CGF.getPointerAlign(), "vbase.offset"); in GetVirtualBaseClassOffset()
2148 CGF.getPointerAlign()); in getVTableAddressPointInStructorWithVTT()
2228 CGF.getPointerAlign()); in getVirtualFunctionPointer()
2399 CGF.getPointerAlign()); in performTypeAdjustment()
4280 CGM.getTarget().getPointerAlign(CGM.GetGlobalVarAddressSpace(nullptr))); in BuildTypeInfo()
[all …]
H A DABIInfoImpl.cpp209 DirectAlign = CGF.getPointerAlign(); in emitVoidPtrVAArg()
H A DCGOpenMPRuntime.cpp2151 ArgsElemType, CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
2155 ArgsElemType, CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
3629 Privates.emplace_back(CGM.getPointerAlign(), PrivateHelpersTy(VD)); in emitTaskInit()
4824 ArgsElemType, CGF.getPointerAlign()); in emitReductionFunction()
4828 ArgsElemType, CGF.getPointerAlign()); in emitReductionFunction()
9379 Address(BeginArg, MapperCGF.VoidPtrTy, CGM.getPointerAlign()) in emitUserDefinedMapper()
9651 CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
9653 Address(Info.RTArgs.PointersArray, CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
9655 Address(Info.RTArgs.SizesArray, CGF.Int64Ty, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
9657 Address(Info.RTArgs.MappersArray, CGF.VoidPtrTy, CGM.getPointerAlign()); in emitTargetCallKernelLaunch()
[all …]
H A DMicrosoftCXXABI.cpp1990 VFunc = Builder.CreateAlignedLoad(Ty, VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
2125 CGF.Builder.CreateAlignedLoad(ThunkPtrTy, VFuncPtr, CGF.getPointerAlign()); in EmitVirtualMemPtrThunk()
2255 CGF, Address(V, CGF.Int8Ty, CGF.getPointerAlign()), in performThisAdjustment()
3147 VBPtrAlign = CGF.getPointerAlign(); in GetVBaseOffsetFromVBPtr()
H A DCGObjC.cpp1918 getPointerAlign(), "forcoll.initial-mutations"); in EmitObjCForCollectionStmt()
1941 getPointerAlign(), "statemutations"); in EmitObjCForCollectionStmt()
2002 Builder.CreateAlignedLoad(ObjCIdType, CurrentItemPtr, getPointerAlign()); in EmitObjCForCollectionStmt()
H A DCodeGenModule.h1823 : getTarget().getPointerAlign(AS);
H A DCGCall.cpp3288 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitFunctionProlog()
3982 RV = Builder.CreateAlignedLoad(Ty, SRet, getPointerAlign(), "sret"); in EmitFunctionEpilog()
4424 CGF.CreateTempAlloca(destElemType, CGF.getPointerAlign(), "icr.temp"); in emitWritebackArg()
5499 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitCall()
H A DCodeGenFunction.cpp1247 ReturnValuePointer = Address(Addr, Ty, getPointerAlign()); in StartFunction()
1248 Addr = Builder.CreateAlignedLoad(Ty, Addr, getPointerAlign(), "agg.result"); in StartFunction()
H A DCGExpr.cpp898 Address VPtrAddr(Ptr, IntPtrTy, getPointerAlign()); in EmitTypeCheck()
919 getPointerAlign()); in EmitTypeCheck()
6363 getPointerAlign()); in EmitCall()
6481 Address(Handle, Handle->getType(), CGM.getPointerAlign())); in EmitCall()
H A DCGExprCXX.cpp1121 EndOfInit = CreateTempAlloca(BeginPtr.getType(), getPointerAlign(), in EmitNewArrayInitializer()
H A DCGExprAgg.cpp663 endOfInit = CGF.CreateTempAlloca(begin->getType(), CGF.getPointerAlign(), in EmitArrayInit()
H A DCodeGenModule.cpp428 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(LangAS::Default)) in CodeGenModule()
2310 auto List = Ctors.finishAndCreateGlobal(GlobalName, getPointerAlign(), in EmitCtorList()
6684 IsSwiftABI ? Context.toCharUnitsFromBits(64) : getPointerAlign(); in GetAddrOfConstantCFString()
/freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/
H A DCIRGenTypeCache.h76 clang::CharUnits getPointerAlign() const { in getPointerAlign() function
H A DCIRGenExprAggregate.cpp192 cirElementPtrType, cgf.getPointerAlign(), loc, "arrayinit.temp"); in emitArrayInit()
H A DCIRGenModule.cpp92 astContext.getTargetInfo().getPointerAlign(LangAS::Default))
/freebsd/contrib/llvm-project/clang/lib/Basic/Targets/
H A DNVPTX.cpp112 PointerAlign = HostTarget->getPointerAlign(LangAS::Default); in NVPTXTargetInfo()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h493 uint64_t getPointerAlign(LangAS AddrSpace) const { in getPointerAlign() function
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DRecordLayoutBuilder.cpp1060 Context.getTargetInfo().getPointerAlign(LangAS::Default)); in LayoutNonVirtualBases()
2816 Context.getTargetInfo().getPointerAlign(LangAS::Default)); in initializeCXXLayout()
H A DASTContext.cpp2324 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2330 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2345 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2409 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2415 Align = Target->getPointerAlign(LangAS::Default); in getTypeInfoImpl()
2420 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2428 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2433 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
2605 Align = Target->getPointerAlign(LangAS::opencl_global); in getTypeInfoImpl()

12