Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Adjustment

584   /// Shared code for virtual base adjustment.  Returns the offset from
608 /// Performs a full virtual base adjustment. Used to dereference
1196 // which holds the extra amount of "this" adjustment we must do when we use
1391 // parameter, thus don't need this adjustment.
1395 // There's no Dtor_Base in vftable but it shares the this adjustment with
1402 CharUnits Adjustment = ML.VFPtrOffset;
1406 // do not. The vector deleting destructor thunk applies this adjustment for
1409 Adjustment = CharUnits::Zero();
1414 Adjustment += DerivedLayout.getVBaseClassOffset(ML.VBase);
1417 return Adjustment;
1425 // compensate for the adjustment the virtual function does in its prologue.
1426 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1427 if (Adjustment.isZero())
1431 assert(Adjustment.isPositive());
1432 return CGF.Builder.CreateConstByteGEP(This, Adjustment);
1440 // thus don't need adjustment.
1444 // There's only Dtor_Deleting in vftable but it shares the this adjustment
1455 // However, we still need to apply the virtual base adjustment.
1477 // Non-virtual adjustment might result in a pointer outside the allocated
1480 // FIXME: Update the code that emits this adjustment in thunks prologues.
1538 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(CGF.CurGD);
1539 if (!Adjustment.isZero()) {
1544 assert(Adjustment.isPositive());
1546 -Adjustment.getQuantity());
2227 // Non-virtual adjustment might result in a pointer outside the allocated
2659 // The virtual base adjustment field is always -1 for null, so if we have one
2868 // Include the vfptr adjustment if the method is in a non-primary vftable.
3063 // base, so look for a virtual base adjustment offset of zero.
3260 // adjustment to normalize the member pointer.
3280 // base requires explicit nv adjustment.
3330 // Likewise, apply a similar adjustment so that dereferencing the member
3440 // Apply the adjustment and cast back to the original struct type.
3897 // RTTI, check if emitting vtables opportunistically need any adjustment.