Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGObjCGNU.cpp689 CGF.CreateTempAlloca(Receiver->getType(), CGF.getPointerAlign()); in LookupIMP()
714 CGF.getPointerAlign()); in LookupIMP()
733 CGF.getPointerAlign()); in LookupIMPSuper()
1115 CGF.getPointerAlign()); in GetAddrOfSelector()
1212 fields, CGM.getPointerAlign(), in GetEHType()
1222 CharUnits Align = CGM.getPointerAlign(); in GenerateConstantString()
1333 Builder.CreateAlignedLoad(ReceiverClass, CGF.getPointerAlign()); in GenerateMessageSendSuper()
1340 CGF.getPointerAlign()); in GenerateMessageSendSuper()
1566 return MakeGlobal(ObjCMethodListTy, Methods, CGM.getPointerAlign(), in GenerateMethodList()
1602 return MakeGlobal(ObjCIvarListTy, Elements, CGM.getPointerAlign(), in GenerateIvarList()
[all …]
DCodeGenTypeCache.h95 CharUnits getPointerAlign() const { in getPointerAlign() function
DCGObjCMac.cpp1792 CGF.CreateTempAlloca(ObjCTypes.SuperTy, CGF.getPointerAlign(), in GenerateMessageSendSuper()
1812 Target = CGF.Builder.CreateAlignedLoad(Target, CGF.getPointerAlign()); in GenerateMessageSendSuper()
1818 CGF.Builder.CreateAlignedLoad(SuperPtr, CGF.getPointerAlign()); in GenerateMessageSendSuper()
1826 Target = CGF.Builder.CreateAlignedLoad(ClassPtr, CGF.getPointerAlign()); in GenerateMessageSendSuper()
2862 StringRef(), CGM.getPointerAlign(), true); in EmitProtocolExtension()
2901 CGM.getPointerAlign(), false); in EmitProtocolList()
3011 CGM.getPointerAlign(), in EmitPropertyList()
3030 CGM.getPointerAlign(), true); in EmitProtocolMethodTypes()
3069 CreateMetadataVar(Name, Init, Section, CGM.getPointerAlign(), true); in EmitMethodDescList()
3146 CGM.getPointerAlign(), true); in GenerateCategory()
[all …]
DCGCUDANV.cpp314 CGM.getPointerAlign()); in makeModuleCtorFunction()
357 DtorBuilder.CreateAlignedLoad(GpuBinaryHandle, CGM.getPointerAlign()); in makeModuleDtorFunction()
DCGBlocks.cpp303 assert(CGM.getIntAlign() <= CGM.getPointerAlign()); in initializeForBlockHeader()
304 assert((2 * CGM.getIntSize()).isMultipleOf(CGM.getPointerAlign())); in initializeForBlockHeader()
306 info.BlockAlign = CGM.getPointerAlign(); in initializeForBlockHeader()
373 CharUnits align = CGM.getPointerAlign(); in computeBlockInfo()
986 llvm::Value *Func = Builder.CreateAlignedLoad(FuncPtr, getPointerAlign()); in EmitBlockCallExpr()
1205 getPointerAlign(), in GenerateBlockFunction()
2136 info.ByrefAlignment = std::max(varAlign, getPointerAlign()); in getBlockByrefInfo()
DItaniumCXXABI.cpp577 CGF.getPointerAlign()); in EmitLoadOfMemberFunctionPointer()
590 Builder.CreateAlignedLoad(VTable, CGF.getPointerAlign(), in EmitLoadOfMemberFunctionPointer()
1016 CGF.Builder.CreateAlignedLoad(OffsetPtr, CGF.getPointerAlign()); in emitVirtualObjectDelete()
1216 return CGF.Builder.CreateAlignedLoad(Value, CGF.getPointerAlign()); in EmitTypeid()
1285 CGF.Builder.CreateAlignedLoad(OffsetToTop, CGF.getPointerAlign(), in EmitDynamicCastToVoid()
1320 CGF.Builder.CreateAlignedLoad(VBaseOffsetPtr, CGF.getPointerAlign(), in GetVirtualBaseClassOffset()
1478 unsigned PAlign = CGM.getTarget().getPointerAlign(0); in emitVTableDefinitions()
1549 return CGF.Builder.CreateAlignedLoad(VTT, CGF.getPointerAlign()); in getVTableAddressPointInStructorWithVTT()
1608 return CGF.Builder.CreateAlignedLoad(VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
1681 CGF.Builder.CreateAlignedLoad(OffsetPtr, CGF.getPointerAlign()); in performTypeAdjustment()
[all …]
DCGException.cpp386 return Address(ExceptionSlot, getPointerAlign()); in getExceptionSlot()
1157 CGF.Builder.CreateAlignedLoad(SavedExnVar, CGF.getPointerAlign())); in Emit()
1270 CGF.Builder.CreateAlignedStore(exn, SavedExnVar, CGF.getPointerAlign()); in exit()
1736 SEHInfo = Builder.CreateAlignedLoad(Int8PtrTy, SEHInfo, getPointerAlign()); in EmitSEHExceptionCodeSave()
1752 Rec = Builder.CreateAlignedLoad(Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
DCGExprConstant.cpp1095 return ConstantAddress(Ptr, CGM.getPointerAlign()); in EmitLValue()
1105 CGM.getPointerAlign()); in EmitLValue()
DCGCall.cpp2283 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitFunctionProlog()
2695 RV = Builder.CreateAlignedLoad(SRet, getPointerAlign(), "sret"); in EmitFunctionEpilog()
3039 CGF.getPointerAlign(), in emitWritebackArg()
3699 CreateMemTemp(pointeeTy, getPointerAlign(), "swifterror.temp"); in EmitCall()
DCGObjC.cpp1568 Builder.CreateAlignedLoad(StateMutationsPtr, getPointerAlign(), in EmitObjCForCollectionStmt()
1591 = Builder.CreateAlignedLoad(StateMutationsPtr, getPointerAlign(), in EmitObjCForCollectionStmt()
1653 Builder.CreateAlignedLoad(CurrentItemPtr, getPointerAlign()); in EmitObjCForCollectionStmt()
DCGOpenMPRuntime.cpp824 return CGM.getPointerAlign(); in getIdentAlign()
827 assert((4 * CGM.getPointerSize()).isMultipleOf(CGM.getPointerAlign())); in getIdentSize()
2189 ArgsType), CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
2192 ArgsType), CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
4249 ArgsType), CGF.getPointerAlign()); in emitReductionFunction()
4252 ArgsType), CGF.getPointerAlign()); in emitReductionFunction()
DCGCleanup.cpp73 CGF.CreateTempAlloca(V.getType(), CGF.getPointerAlign(), "saved-rvalue"); in save()
DMicrosoftCXXABI.cpp1827 return Builder.CreateAlignedLoad(VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
1949 CGF.Builder.CreateAlignedLoad(VFuncPtr, CGF.getPointerAlign()); in EmitVirtualMemPtrThunk()
2077 GetVBaseOffsetFromVBPtr(CGF, Address(V, CGF.getPointerAlign()), in performThisAdjustment()
2860 VBPtrAlign = CGF.getPointerAlign(); in GetVBaseOffsetFromVBPtr()
DCodeGenModule.cpp104 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule()
3204 CharUnits Alignment = getPointerAlign(); in GetAddrOfConstantCFString()
3328 CharUnits Alignment = getPointerAlign(); in GetAddrOfConstantString()
DCGExprAgg.cpp432 endOfInit = CGF.CreateTempAlloca(begin->getType(), CGF.getPointerAlign(), in EmitArrayInit()
DCGExpr.cpp645 Address VPtrAddr(Builder.CreateBitCast(Ptr, VPtrTy), getPointerAlign()); in EmitTypeCheck()
663 getPointerAlign()); in EmitTypeCheck()
4047 Builder.CreateAlignedLoad(CalleeRTTIPtr, getPointerAlign()); in EmitCall()
DCGDecl.cpp1068 CreateTempAlloca(Int8PtrTy, getPointerAlign(), "saved_stack"); in EmitAutoVarAlloca()
DCodeGenFunction.cpp822 Addr = Builder.CreateAlignedLoad(Addr, getPointerAlign(), "agg.result"); in StartFunction()
DCGExprCXX.cpp874 EndOfInit = CreateTempAlloca(BeginPtr.getType(), getPointerAlign(), in EmitNewArrayInitializer()
DCGClass.cpp2678 GetVTablePtr(Address(Derived, getPointerAlign()), Int8PtrTy, ClassDecl); in EmitVTablePtrCheckForCast()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp260 Align = Target.getPointerAlign(0); in getMemberPointerWidthAndAlign()
DRecordLayoutBuilder.cpp1023 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in LayoutNonVirtualBases()
1736 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(AS)); in LayoutField()
2468 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in initializeCXXLayout()
DASTContext.cpp1666 Align = Target->getPointerAlign(0); // == sizeof(void*) in getTypeInfoImpl()
1672 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
1690 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
1696 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
1702 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
1712 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
1718 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
/external/clang/include/clang/Basic/
DTargetInfo.h293 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() function
/external/clang/lib/Frontend/
DInitPreprocessor.cpp865 TI.getPointerAlign(0), in InitializePredefinedMacros()

12