Searched refs:TyAlign (Results 1 – 8 of 8) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | Hexagon.cpp | 240 uint64_t TyAlign = CGF.getContext().getTypeAlign(Ty) / 8; in EmitVAArgForHexagon() local 241 if (TyAlign > 4) { in EmitVAArgForHexagon() 242 assert((TyAlign & (TyAlign - 1)) == 0 && "Alignment is not power of 2!"); in EmitVAArgForHexagon() 244 AddrAsInt = Builder.CreateAdd(AddrAsInt, Builder.getInt32(TyAlign - 1)); in EmitVAArgForHexagon() 245 AddrAsInt = Builder.CreateAnd(AddrAsInt, Builder.getInt32(~(TyAlign - 1))); in EmitVAArgForHexagon() 249 Address(Addr, CGF.ConvertType(Ty), CharUnits::fromQuantity(TyAlign)); in EmitVAArgForHexagon()
|
H A D | AArch64.cpp | 578 CharUnits TyAlign = getContext().getTypeUnadjustedAlignInChars(Ty); in EmitAAPCSVAArg() local 619 if (!IsFPR && !IsIndirect && TyAlign.getQuantity() > 8) { in EmitAAPCSVAArg() 620 int Align = TyAlign.getQuantity(); in EmitAAPCSVAArg() 683 std::max(TyAlign, BaseTyInfo.Align)); in EmitAAPCSVAArg() 731 if (!IsIndirect && TyAlign.getQuantity() > 8) { in EmitAAPCSVAArg() 732 OnStackPtr = emitRoundPointerUpToAlignment(CGF, OnStackPtr, TyAlign); in EmitAAPCSVAArg() 735 std::max(CharUnits::fromQuantity(8), TyAlign)); in EmitAAPCSVAArg() 774 TyAlign), in EmitAAPCSVAArg()
|
H A D | ARM.cpp | 407 uint64_t TyAlign; in classifyArgumentType() local 410 TyAlign = getContext().getTypeUnadjustedAlignInChars(Ty).getQuantity(); in classifyArgumentType() 411 ABIAlign = std::clamp(TyAlign, (uint64_t)4, (uint64_t)8); in classifyArgumentType() 413 TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType() 419 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType() 433 if (TyAlign <= 4) { in classifyArgumentType()
|
H A D | PPC.cpp | 214 CharUnits TyAlign = getContext().getTypeAlignInChars(Ty); in classifyArgumentType() local 217 /*Realign*/ TyAlign > CCAlign); in classifyArgumentType() 851 uint64_t TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType() local 891 /*Realign=*/TyAlign > ABIAlign); in classifyArgumentType()
|
H A D | X86.cpp | 3143 CharUnits TyAlign = TInfo.Align; in EmitVAArg() local 3147 if (TyAlign.getQuantity() > 8) { in EmitVAArg()
|
/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DataLayout.cpp | 60 const Align TyAlign = ST->isPacked() ? Align(1) : DL.getABITypeAlign(Ty); in StructLayout() local 69 if (!StructSize.isScalable() && !isAligned(TyAlign, StructSize)) { in StructLayout() 71 StructSize = TypeSize::getFixed(alignTo(StructSize, TyAlign)); in StructLayout() 75 StructAlignment = std::max(TyAlign, StructAlignment); in StructLayout()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | BasicTTIImpl.h | 2087 Align TyAlign = thisT()->DL.getABITypeAlign(Ty); in getTypeBasedIntrinsicInstrCost() local 2088 return thisT()->getMaskedMemoryOpCost(Instruction::Store, Ty, TyAlign, 0, in getTypeBasedIntrinsicInstrCost() 2093 Align TyAlign = thisT()->DL.getABITypeAlign(Ty); in getTypeBasedIntrinsicInstrCost() local 2094 return thisT()->getMaskedMemoryOpCost(Instruction::Load, Ty, TyAlign, 0, in getTypeBasedIntrinsicInstrCost()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86ISelLoweringCall.cpp | 266 Align TyAlign = DL.getABITypeAlign(Ty); in getByValTypeAlignment() local 267 if (TyAlign > 8) in getByValTypeAlignment() 268 return TyAlign.value(); in getByValTypeAlignment()
|