Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Adjustment

560   /// \brief Shared code for virtual base adjustment.  Returns the offset from
584 /// \brief Performs a full virtual base adjustment. Used to dereference
1136 // which holds the extra amount of "this" adjustment we must do when we use
1270 // parameter, thus don't need this adjustment.
1274 // There's no Dtor_Base in vftable but it shares the this adjustment with
1281 CharUnits Adjustment = ML.VFPtrOffset;
1285 // do not. The vector deleting destructor thunk applies this adjustment for
1288 Adjustment = CharUnits::Zero();
1293 Adjustment += DerivedLayout.getVBaseClassOffset(ML.VBase);
1296 return Adjustment;
1304 // compensate for the adjustment the virtual function does in its prologue.
1305 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1306 if (Adjustment.isZero())
1310 assert(Adjustment.isPositive());
1311 return CGF.Builder.CreateConstByteGEP(This, Adjustment);
1320 // thus don't need adjustment.
1324 // There's only Dtor_Deleting in vftable but it shares the this adjustment
1335 // However, we still need to apply the virtual base adjustment.
1357 // Non-virtual adjustment might result in a pointer outside the allocated
1360 // FIXME: Update the code that emits this adjustment in thunks prologues.
1407 CharUnits Adjustment = getVirtualFunctionPrologueThisAdjustment(GD);
1408 if (Adjustment.isZero())
1416 assert(Adjustment.isPositive());
1418 -Adjustment.getQuantity());
2077 // Non-virtual adjustment might result in a pointer outside the allocated
2492 // The virtual base adjustment field is always -1 for null, so if we have one
2690 // Include the vfptr adjustment if the method is in a non-primary vftable.
2883 // base, so look for a virtual base adjustment offset of zero.
3078 // adjustment to normalize the member pointer.
3098 // base requires explicit nv adjustment.
3147 // Likewise, apply a similar adjustment so that dereferencing the member
3257 // Apply the adjustment and cast back to the original struct type.