Lines Matching defs:Adjustment
560 /// \brief Shared code for virtual base adjustment. Returns the offset from
584 /// \brief Performs a full virtual base adjustment. Used to dereference
1135 // which holds the extra amount of "this" adjustment we must do when we use
1267 // parameter, thus don't need this adjustment.
1271 // There's no Dtor_Base in vftable but it shares the this adjustment with
1278 CharUnits Adjustment = ML.VFPtrOffset;
1282 // do not. The vector deleting destructor thunk applies this adjustment for
1285 Adjustment = CharUnits::Zero();
1290 Adjustment += DerivedLayout.getVBaseClassOffset(ML.VBase);
1293 return Adjustment;
1301 // compensate for the adjustment the virtual function does in its prologue.
1302 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1303 if (Adjustment.isZero())
1307 assert(Adjustment.isPositive());
1308 return CGF.Builder.CreateConstByteGEP(This, Adjustment);
1317 // thus don't need adjustment.
1321 // There's only Dtor_Deleting in vftable but it shares the this adjustment
1332 // However, we still need to apply the virtual base adjustment.
1354 // Non-virtual adjustment might result in a pointer outside the allocated
1357 // FIXME: Update the code that emits this adjustment in thunks prologues.
1404 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1405 if (Adjustment.isZero())
1413 assert(Adjustment.isPositive());
1415 -Adjustment.getQuantity());
2085 // Non-virtual adjustment might result in a pointer outside the allocated
2500 // The virtual base adjustment field is always -1 for null, so if we have one
2698 // Include the vfptr adjustment if the method is in a non-primary vftable.
2891 // base, so look for a virtual base adjustment offset of zero.
3086 // adjustment to normalize the member pointer.
3106 // base requires explicit nv adjustment.
3155 // Likewise, apply a similar adjustment so that dereferencing the member
3265 // Apply the adjustment and cast back to the original struct type.