Searched refs:TyAlign (Results 1 – 3 of 3) sorted by relevance
53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty); in StructLayout() local56 if ((StructSize & (TyAlign-1)) != 0) in StructLayout()57 StructSize = DataLayout::RoundUpAlignment(StructSize, TyAlign); in StructLayout()60 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
3296 uint64_t TyAlign = getContext().getTypeAlign(Ty) / 8; in classifyArgumentType() local3299 ABIAlign = std::min(std::max(TyAlign, (uint64_t)4), (uint64_t)8); in classifyArgumentType()3302 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType()3510 uint64_t TyAlign = CGF.getContext().getTypeAlign(Ty) / 8; in EmitVAArg() local3517 TyAlign = std::min(std::max(TyAlign, (uint64_t)4), (uint64_t)8); in EmitVAArg()3519 TyAlign = 4; in EmitVAArg()3524 TyAlign = 4; in EmitVAArg()3528 if (TyAlign > 4) { in EmitVAArg()3529 assert((TyAlign & (TyAlign - 1)) == 0 && in EmitVAArg()3532 AddrAsInt = Builder.CreateAdd(AddrAsInt, Builder.getInt32(TyAlign - 1)); in EmitVAArg()[all …]
1404 unsigned TyAlign = TD->getABITypeAlignment(Ty); in getByValTypeAlignment() local1405 if (TyAlign > 8) in getByValTypeAlignment()1406 return TyAlign; in getByValTypeAlignment()