Lines Matching refs:CharUnits
36 CharUnits CodeGenModule::getClassPointerAlignment(const CXXRecordDecl *RD) { in getClassPointerAlignment()
38 return CharUnits::One(); // Hopefully won't be used anywhere. in getClassPointerAlignment()
55 CharUnits CodeGenModule::getVBaseAlignment(CharUnits actualDerivedAlign, in getVBaseAlignment()
63 CharUnits expectedVBaseAlign = baseLayout.getNonVirtualAlignment(); in getVBaseAlignment()
69 CharUnits
70 CodeGenModule::getDynamicOffsetAlignment(CharUnits actualBaseAlign, in getDynamicOffsetAlignment()
72 CharUnits expectedTargetAlign) { in getDynamicOffsetAlignment()
79 CharUnits expectedBaseAlign = baseLayout.getNonVirtualAlignment(); in getDynamicOffsetAlignment()
139 CharUnits memberAlign = getNaturalTypeAlignment(memberType, alignSource); in EmitCXXMemberDataPointerAddress()
147 CharUnits CodeGenModule::computeNonVirtualBaseClassOffset( in computeNonVirtualBaseClassOffset()
150 CharUnits Offset = CharUnits::Zero(); in computeNonVirtualBaseClassOffset()
180 CharUnits Offset = in GetNonVirtualBaseClassOffset()
205 CharUnits Offset; in GetAddressOfDirectBaseInCompleteClass()
226 CharUnits nonVirtualOffset, in ApplyNonVirtualAndVirtualOffset()
252 CharUnits alignment; in ApplyNonVirtualAndVirtualOffset()
288 CharUnits NonVirtualOffset = CGM.computeNonVirtualBaseClassOffset( in GetAddressOfBaseClass()
296 CharUnits vBaseOffset = layout.getVBaseClassOffset(VBase); in GetAddressOfBaseClass()
306 CharUnits DerivedAlign = CGM.getClassPointerAlignment(Derived); in GetAddressOfBaseClass()
452 CharUnits BaseOffset = ForVirtualBase ? in GetVTTParameter()
586 CharUnits EltSize = CGF.getContext().getTypeSizeInChars(T); in EmitAggMemberInitializer()
587 CharUnits Align = LV.getAlignment().alignmentOfArrayElement(EltSize); in EmitAggMemberInitializer()
878 std::pair<CharUnits, CharUnits> FieldInfo = in EmitAsanPrologueOrEpilogue()
880 CharUnits FieldSize = FieldInfo.first; in EmitAsanPrologueOrEpilogue()
1019 CharUnits getMemcpySize(uint64_t FirstByteOffset) const { in getMemcpySize()
1027 CharUnits MemcpySize = in getMemcpySize()
1051 CharUnits MemcpySize = getMemcpySize(FirstByteOffset); in emitMemcpy()
1075 void emitMemcpyIR(Address DestPtr, Address SrcPtr, CharUnits Size) { in emitMemcpyIR()
1678 CharUnits::QuantityType PoisonSize) { in EmitSanitizerDtorCallback()
1761 CharUnits::QuantityType PoisonSize; in PoisonMembers()
1795 CharUnits::QuantityType PoisonSize = in Emit()
1985 CharUnits eltAlignment = in EmitCXXAggrConstructorCall()
2268 CharUnits NonVirtualOffset = Vptr.Base.getBaseOffset(); in EmitVTableAssumptionLoad()
2442 CharUnits NonVirtualOffset = CharUnits::Zero(); in InitializeVTablePointer()
2484 getVTablePointers(BaseSubobject(VTableClass, CharUnits::Zero()), in getVTablePointers()
2486 /*OffsetFromNearestVBase=*/CharUnits::Zero(), in getVTablePointers()
2494 CharUnits OffsetFromNearestVBase, in getVTablePointers()
2518 CharUnits BaseOffset; in getVTablePointers()
2519 CharUnits BaseOffsetFromNearestVBase; in getVTablePointers()
2531 BaseOffsetFromNearestVBase = CharUnits::Zero(); in getVTablePointers()