Home
last modified time | relevance | path

Searched refs:TyAlign (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/IR/
DDataLayout.cpp53 unsigned TyAlign = ST->isPacked() ? 1 : TD.getABITypeAlignment(Ty); in StructLayout() local
56 if ((StructSize & (TyAlign-1)) != 0) in StructLayout()
57 StructSize = DataLayout::RoundUpAlignment(StructSize, TyAlign); in StructLayout()
60 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
/external/clang/lib/CodeGen/
DTargetInfo.cpp3296 uint64_t TyAlign = getContext().getTypeAlign(Ty) / 8; in classifyArgumentType() local
3299 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() local
3517 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 …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp1404 unsigned TyAlign = TD->getABITypeAlignment(Ty); in getByValTypeAlignment() local
1405 if (TyAlign > 8) in getByValTypeAlignment()
1406 return TyAlign; in getByValTypeAlignment()