Home
last modified time | relevance | path

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

/external/llvm/lib/IR/
DDataLayout.cpp50 unsigned TyAlign = ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty); in StructLayout() local
53 if ((StructSize & (TyAlign-1)) != 0) { in StructLayout()
55 StructSize = alignTo(StructSize, TyAlign); in StructLayout()
59 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDataLayout.cpp55 const Align TyAlign(ST->isPacked() ? 1 : DL.getABITypeAlignment(Ty)); in StructLayout() local
58 if (!isAligned(TyAlign, StructSize)) { in StructLayout()
60 StructSize = alignTo(StructSize, TyAlign); in StructLayout()
64 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
/external/llvm-project/llvm/lib/IR/
DDataLayout.cpp56 const Align TyAlign = ST->isPacked() ? Align(1) : DL.getABITypeAlign(Ty); in StructLayout() local
59 if (!isAligned(TyAlign, StructSize)) { in StructLayout()
61 StructSize = alignTo(StructSize, TyAlign); in StructLayout()
65 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Coroutines/
DCoroFrame.cpp352 unsigned TyAlign = DL.getABITypeAlignment(Ty); in addType() local
353 if ((StructSize & (TyAlign - 1)) != 0) in addType()
354 StructSize = alignTo(StructSize, TyAlign); in addType()
365 unsigned TyAlign = DL.getABITypeAlignment(Ty); in computePadding() local
366 auto Natural = alignTo(StructSize, TyAlign); in computePadding()
/external/llvm-project/clang/lib/CodeGen/
DTargetInfo.cpp4076 CharUnits TyAlign = TInfo.Align; in EmitVAArg() local
4080 if (TyAlign.getQuantity() > 8) { in EmitVAArg()
4545 CharUnits TyAlign = getContext().getTypeAlignInChars(Ty); in classifyArgumentType() local
4548 /*Realign*/ TyAlign > CCAlign); in classifyArgumentType()
5225 uint64_t TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType() local
5265 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType()
5878 CharUnits TyAlign = getContext().getTypeUnadjustedAlignInChars(Ty); in EmitAAPCSVAArg() local
5919 if (!IsFPR && !IsIndirect && TyAlign.getQuantity() > 8) { in EmitAAPCSVAArg()
5920 int Align = TyAlign.getQuantity(); in EmitAAPCSVAArg()
5983 std::max(TyAlign, BaseTyInfo.Align)); in EmitAAPCSVAArg()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DBasicTTIImpl.h1500 Align TyAlign = thisT()->DL.getABITypeAlign(Ty); in getTypeBasedIntrinsicInstrCost() local
1501 return thisT()->getMaskedMemoryOpCost(Instruction::Store, Ty, TyAlign, 0, in getTypeBasedIntrinsicInstrCost()
1506 Align TyAlign = thisT()->DL.getABITypeAlign(Ty); in getTypeBasedIntrinsicInstrCost() local
1507 return thisT()->getMaskedMemoryOpCost(Instruction::Load, Ty, TyAlign, 0, in getTypeBasedIntrinsicInstrCost()
/external/clang/lib/CodeGen/
DTargetInfo.cpp3480 CharUnits TyAlign = SizeAlign.second; in EmitVAArg() local
3484 if (TyAlign.getQuantity() > 8) { in EmitVAArg()
4233 uint64_t TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType() local
4273 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType()
4723 CharUnits TyAlign = TyInfo.second; in EmitAAPCSVAArg() local
4771 if (!IsFPR && !IsIndirect && TyAlign.getQuantity() > 8) { in EmitAAPCSVAArg()
4772 int Align = TyAlign.getQuantity(); in EmitAAPCSVAArg()
4835 std::max(TyAlign, BaseTyInfo.second)); in EmitAAPCSVAArg()
4885 if (!IsIndirect && TyAlign.getQuantity() > 8) { in EmitAAPCSVAArg()
4886 int Align = TyAlign.getQuantity(); in EmitAAPCSVAArg()
[all …]
/external/llvm/lib/Target/X86/
DX86ISelLowering.cpp1779 unsigned TyAlign = DL.getABITypeAlignment(Ty); in getByValTypeAlignment() local
1780 if (TyAlign > 8) in getByValTypeAlignment()
1781 return TyAlign; in getByValTypeAlignment()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86ISelLowering.cpp2228 unsigned TyAlign = DL.getABITypeAlignment(Ty); in getByValTypeAlignment() local
2229 if (TyAlign > 8) in getByValTypeAlignment()
2230 return TyAlign; in getByValTypeAlignment()
/external/llvm-project/llvm/lib/Target/X86/
DX86ISelLowering.cpp2243 Align TyAlign = DL.getABITypeAlign(Ty); in getByValTypeAlignment() local
2244 if (TyAlign > 8) in getByValTypeAlignment()
2245 return TyAlign.value(); in getByValTypeAlignment()