Searched refs:TyAlign (Results 1 – 3 of 3) sorted by relevance
55 const Align TyAlign(ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty)); in StructLayout() local58 if (!isAligned(TyAlign, StructSize)) { in StructLayout()60 StructSize = alignTo(StructSize, TyAlign); in StructLayout()64 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
352 unsigned TyAlign = DL.getABITypeAlignment(Ty); in addType() local353 if ((StructSize & (TyAlign - 1)) != 0) in addType()354 StructSize = alignTo(StructSize, TyAlign); in addType()365 unsigned TyAlign = DL.getABITypeAlignment(Ty); in computePadding() local366 auto Natural = alignTo(StructSize, TyAlign); in computePadding()
2228 unsigned TyAlign = DL.getABITypeAlignment(Ty); in getByValTypeAlignment() local2229 if (TyAlign > 8) in getByValTypeAlignment()2230 return TyAlign; in getByValTypeAlignment()