Home
last modified time | relevance | path

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

12

/external/clang/lib/CodeGen/
DCGObjCGNU.cpp660 CGF.CreateTempAlloca(Receiver->getType(), CGF.getPointerAlign()); in LookupIMP()
685 CGF.getPointerAlign()); in LookupIMP()
703 CGF.getPointerAlign()); in LookupIMPSuper()
1082 CGF.getPointerAlign()); in GetAddrOfSelector()
1179 fields, CGM.getPointerAlign(), in GetEHType()
1189 CharUnits Align = CGM.getPointerAlign(); in GenerateConstantString()
1302 Builder.CreateAlignedLoad(ReceiverClass, CGF.getPointerAlign()); in GenerateMessageSendSuper()
1309 CGF.getPointerAlign()); in GenerateMessageSendSuper()
1539 return MakeGlobal(ObjCMethodListTy, Methods, CGM.getPointerAlign(), in GenerateMethodList()
1580 return MakeGlobal(ObjCIvarListTy, Elements, CGM.getPointerAlign(), in GenerateIvarList()
[all …]
DCodeGenTypeCache.h95 CharUnits getPointerAlign() const { in getPointerAlign() function
DCGObjCMac.cpp1785 CGF.CreateTempAlloca(ObjCTypes.SuperTy, CGF.getPointerAlign(), in GenerateMessageSendSuper()
1805 Target = CGF.Builder.CreateAlignedLoad(Target, CGF.getPointerAlign()); in GenerateMessageSendSuper()
1811 CGF.Builder.CreateAlignedLoad(SuperPtr, CGF.getPointerAlign()); in GenerateMessageSendSuper()
1819 Target = CGF.Builder.CreateAlignedLoad(ClassPtr, CGF.getPointerAlign()); in GenerateMessageSendSuper()
2833 StringRef(), CGM.getPointerAlign(), true); in EmitProtocolExtension()
2872 CGM.getPointerAlign(), false); in EmitProtocolList()
2960 CGM.getPointerAlign(), in EmitPropertyList()
2979 CGM.getPointerAlign(), true); in EmitProtocolMethodTypes()
3018 CreateMetadataVar(Name, Init, Section, CGM.getPointerAlign(), true); in EmitMethodDescList()
3091 CGM.getPointerAlign(), true); in GenerateCategory()
[all …]
DCGCUDANV.cpp271 CGM.getPointerAlign()); in makeModuleCtorFunction()
309 DtorBuilder.CreateAlignedLoad(GpuBinaryHandle, CGM.getPointerAlign()); in makeModuleDtorFunction()
DCGBlocks.cpp298 assert(CGM.getIntAlign() <= CGM.getPointerAlign()); in initializeForBlockHeader()
299 assert((2 * CGM.getIntSize()).isMultipleOf(CGM.getPointerAlign())); in initializeForBlockHeader()
301 info.BlockAlign = CGM.getPointerAlign(); in initializeForBlockHeader()
368 CharUnits align = CGM.getPointerAlign(); in computeBlockInfo()
983 llvm::Value *Func = Builder.CreateAlignedLoad(FuncPtr, getPointerAlign()); in EmitBlockCallExpr()
1203 getPointerAlign(), in GenerateBlockFunction()
2134 info.ByrefAlignment = std::max(varAlign, getPointerAlign()); in getBlockByrefInfo()
DItaniumCXXABI.cpp584 CGF.getPointerAlign()); in EmitLoadOfMemberFunctionPointer()
597 Builder.CreateAlignedLoad(VTable, CGF.getPointerAlign(), in EmitLoadOfMemberFunctionPointer()
1023 CGF.Builder.CreateAlignedLoad(OffsetPtr, CGF.getPointerAlign()); in emitVirtualObjectDelete()
1223 return CGF.Builder.CreateAlignedLoad(Value, CGF.getPointerAlign()); in EmitTypeid()
1292 CGF.Builder.CreateAlignedLoad(OffsetToTop, CGF.getPointerAlign(), in EmitDynamicCastToVoid()
1327 CGF.Builder.CreateAlignedLoad(VBaseOffsetPtr, CGF.getPointerAlign(), in GetVirtualBaseClassOffset()
1485 unsigned PAlign = CGM.getTarget().getPointerAlign(0); in emitVTableDefinitions()
1555 return CGF.Builder.CreateAlignedLoad(VTT, CGF.getPointerAlign()); in getVTableAddressPointInStructorWithVTT()
1611 return CGF.Builder.CreateAlignedLoad(VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
1683 CGF.Builder.CreateAlignedLoad(OffsetPtr, CGF.getPointerAlign()); in performTypeAdjustment()
[all …]
DCGException.cpp386 return Address(ExceptionSlot, getPointerAlign()); in getExceptionSlot()
1155 CGF.Builder.CreateAlignedLoad(SavedExnVar, CGF.getPointerAlign())); in Emit()
1268 CGF.Builder.CreateAlignedStore(exn, SavedExnVar, CGF.getPointerAlign()); in exit()
1742 SEHInfo = Builder.CreateAlignedLoad(Int8PtrTy, SEHInfo, getPointerAlign()); in EmitSEHExceptionCodeSave()
1758 Rec = Builder.CreateAlignedLoad(Rec, getPointerAlign()); in EmitSEHExceptionCodeSave()
DCGOpenMPRuntime.cpp322 return CGM.getPointerAlign(); in getIdentAlign()
325 assert((4 * CGM.getPointerSize()).isMultipleOf(CGM.getPointerAlign())); in getIdentSize()
1533 ArgsType), CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
1536 ArgsType), CGF.getPointerAlign()); in emitCopyprivateCopyFunction()
2760 ArgsType), CGF.getPointerAlign()); in emitReductionFunction()
2763 ArgsType), CGF.getPointerAlign()); in emitReductionFunction()
DCGExprConstant.cpp1082 return ConstantAddress(Ptr, CGM.getPointerAlign()); in EmitLValue()
1092 CGM.getPointerAlign()); in EmitLValue()
DCGObjC.cpp1572 Builder.CreateAlignedLoad(StateMutationsPtr, getPointerAlign(), in EmitObjCForCollectionStmt()
1595 = Builder.CreateAlignedLoad(StateMutationsPtr, getPointerAlign(), in EmitObjCForCollectionStmt()
1658 Builder.CreateAlignedLoad(CurrentItemPtr, getPointerAlign()); in EmitObjCForCollectionStmt()
DCGCleanup.cpp73 CGF.CreateTempAlloca(V.getType(), CGF.getPointerAlign(), "saved-rvalue"); in save()
DMicrosoftCXXABI.cpp1822 return Builder.CreateAlignedLoad(VFuncPtr, CGF.getPointerAlign()); in getVirtualFunctionPointer()
1944 CGF.Builder.CreateAlignedLoad(VFuncPtr, CGF.getPointerAlign()); in EmitVirtualMemPtrThunk()
2069 GetVBaseOffsetFromVBPtr(CGF, Address(V, CGF.getPointerAlign()), in performThisAdjustment()
2852 VBPtrAlign = CGF.getPointerAlign(); in GetVBaseOffsetFromVBPtr()
DCodeGenModule.cpp112 C.toCharUnitsFromBits(C.getTargetInfo().getPointerAlign(0)).getQuantity(); in CodeGenModule()
2941 CharUnits Alignment = getPointerAlign(); in GetAddrOfConstantCFString()
3055 CharUnits Alignment = getPointerAlign(); in GetAddrOfConstantString()
DCGExpr.cpp620 Address VPtrAddr(Builder.CreateBitCast(Ptr, VPtrTy), getPointerAlign()); in EmitTypeCheck()
638 getPointerAlign()); in EmitTypeCheck()
3833 Builder.CreateAlignedLoad(CalleeRTTIPtr, getPointerAlign()); in EmitCall()
DCGExprAgg.cpp431 endOfInit = CGF.CreateTempAlloca(begin->getType(), CGF.getPointerAlign(), in EmitArrayInit()
DCGDecl.cpp1057 CreateTempAlloca(Int8PtrTy, getPointerAlign(), "saved_stack"); in EmitAutoVarAlloca()
DCGCall.cpp2395 RV = Builder.CreateAlignedLoad(SRet, getPointerAlign(), "sret"); in EmitFunctionEpilog()
2696 CGF.getPointerAlign(), in emitWritebackArg()
DCodeGenFunction.cpp783 Addr = Builder.CreateAlignedLoad(Addr, getPointerAlign(), "agg.result"); in StartFunction()
DCGExprCXX.cpp869 EndOfInit = CreateTempAlloca(BeginPtr.getType(), getPointerAlign(), in EmitNewArrayInitializer()
DCGClass.cpp2536 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()
1721 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(AS)); in LayoutField()
2454 Context.toCharUnitsFromBits(Context.getTargetInfo().getPointerAlign(0)); in initializeCXXLayout()
DASTContext.cpp1667 Align = Target->getPointerAlign(0); // == sizeof(void*) in getTypeInfoImpl()
1673 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
1699 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
1705 Align = Target->getPointerAlign(0); in getTypeInfoImpl()
1711 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
1721 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
1727 Align = Target->getPointerAlign(AS); in getTypeInfoImpl()
/external/clang/include/clang/Basic/
DTargetInfo.h282 uint64_t getPointerAlign(unsigned AddrSpace) const { in getPointerAlign() function
/external/clang/lib/Frontend/
DInitPreprocessor.cpp832 TI.getPointerAlign(0), in InitializePredefinedMacros()

12