Lines Matching refs:AllocatedTAlign

43                           unsigned AllocatedTAlign,
48 const Expr *P, unsigned AllocatedTAlign) const;
51 const Expr *P, unsigned AllocatedTAlign) const;
55 unsigned AllocatedTAlign) const;
153 unsigned AllocatedTAlign, in emitBadAlignReport() argument
159 StorageTAlign, AllocatedTAlign)); in emitBadAlignReport()
178 unsigned AllocatedTAlign) const { in checkElementRegionAlign()
180 AllocatedTAlign]() -> bool { in checkElementRegionAlign()
208 if (AllocatedTAlign > BaseRegionAlign) { in checkElementRegionAlign()
209 emitBadAlignReport(P, C, AllocatedTAlign, BaseRegionAlign); in checkElementRegionAlign()
216 auto CheckElementRegionOffset = [this, R, &C, P, AllocatedTAlign]() -> void { in checkElementRegionAlign()
223 unsigned AddressAlign = Offset % AllocatedTAlign; in checkElementRegionAlign()
225 emitBadAlignReport(P, C, AllocatedTAlign, AddressAlign); in checkElementRegionAlign()
237 unsigned AllocatedTAlign) const { in checkFieldRegionAlign()
243 if (isVarRegionAlignedProperly(TheVarRegion, C, P, AllocatedTAlign)) { in checkFieldRegionAlign()
253 unsigned AddressAlign = OffsetValue % AllocatedTAlign; in checkFieldRegionAlign()
255 emitBadAlignReport(P, C, AllocatedTAlign, AddressAlign); in checkFieldRegionAlign()
262 unsigned AllocatedTAlign) const { in isVarRegionAlignedProperly()
265 if (AllocatedTAlign > StorageTAlign) { in isVarRegionAlignedProperly()
266 emitBadAlignReport(P, C, AllocatedTAlign, StorageTAlign); in isVarRegionAlignedProperly()
279 unsigned AllocatedTAlign = C.getASTContext().getTypeAlign(AllocatedT) / in checkPlaceIsAlignedProperly() local
285 checkElementRegionAlign(TheElementRegion, C, Place, AllocatedTAlign); in checkPlaceIsAlignedProperly()
287 checkFieldRegionAlign(TheFieldRegion, C, Place, AllocatedTAlign); in checkPlaceIsAlignedProperly()
289 isVarRegionAlignedProperly(TheVarRegion, C, Place, AllocatedTAlign); in checkPlaceIsAlignedProperly()