Home
last modified time | relevance | path

Searched refs:getTypeAlign (Results 1 – 25 of 25) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DHexagon.cpp122 unsigned Align = getContext().getTypeAlign(Ty); in classifyArgumentType()
191 uint64_t Align = CGF.getContext().getTypeAlign(Ty) / 8; in EmitVAArgFromMemory()
240 uint64_t TyAlign = CGF.getContext().getTypeAlign(Ty) / 8; in EmitVAArgForHexagon()
H A DLanai.cpp80 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult()
H A DARC.cpp79 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectByValue()
H A DLoongArch.cpp354 uint64_t NeededAlign = getContext().getTypeAlign(Ty); in classifyArgumentType()
400 if (getContext().getTypeAlign(Ty) == 2 * GRLen) { in classifyArgumentType()
H A DRISCV.cpp406 uint64_t NeededAlign = getContext().getTypeAlign(Ty); in classifyArgumentType()
455 unsigned Alignment = getContext().getTypeAlign(Ty); in classifyArgumentType()
H A DNVPTX.cpp140 const uint64_t Alignment = getContext().getTypeAlign(Ty); in coerceToIntArrayWithLimit()
H A DAArch64.cpp353 std::max(getContext().getTypeAlign(Ty), in classifyArgumentType()
429 unsigned Alignment = getContext().getTypeAlign(RetTy); in classifyReturnType()
H A DMips.cpp198 uint64_t Align = getContext().getTypeAlign(Ty) / 8; in classifyArgumentType()
H A DX86.cpp618 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult()
1989 if (OffsetBase % getContext().getTypeAlign(AT->getElementType())) in classify()
2104 if (!BitField && Offset % getContext().getTypeAlign(i->getType())) { in classify()
2208 unsigned Align = std::max(getContext().getTypeAlign(Ty) / 8, 8U); in getIndirectResult()
H A DARM.cpp401 CharUnits::fromQuantity(getContext().getTypeAlign(Ty) / 8), false); in classifyArgumentType()
H A DPPC.cpp723 if (isAggregateTypeForABI(Ty) && getContext().getTypeAlign(Ty) >= 128) { in getParamTypeAlignment()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCheckPlacementNew.cpp169 unsigned StorageTAlign = C.getASTContext().getTypeAlign(VD->getType()); in getStorageAlign()
279 unsigned AllocatedTAlign = C.getASTContext().getTypeAlign(AllocatedT) / in checkPlaceIsAlignedProperly()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h456 unsigned getTypeAlign(IntType T) const;
722 unsigned getWCharAlign() const { return getTypeAlign(WCharType); } in getWCharAlign()
727 unsigned getChar16Align() const { return getTypeAlign(Char16Type); } in getChar16Align()
732 unsigned getChar32Align() const { return getTypeAlign(Char32Type); } in getChar32Align()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DItaniumCXXABI.cpp231 MPI.Align = Target.getTypeAlign(PtrDiff); in getMemberPointerInfo()
H A DASTContext.cpp1849 return NeedsPreferredAlignment ? getPreferredTypeAlign(T) : getTypeAlign(T); in getTypeAlignIfKnown()
2402 UnadjustedAlign = getTypeAlign(T->getUnqualifiedDesugaredType()); in getTypeUnadjustedAlign()
2437 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
2440 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfoImpl.cpp83 const uint64_t Alignment = Context.getTypeAlign(Ty); in coerceToIntArray()
H A DCGObjCGNU.cpp2100 astContext.getTypeAlign(astContext.UnsignedLongTy))}); in GenerateDirectMethodPrologue()
H A DCGDebugInfo.cpp1265 uint32_t FieldAlign = CGM.getContext().getTypeAlign(Ty); in collectDefaultElementTypesForBlockPointer()
/freebsd-14.2/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp351 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign() function in TargetInfo
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2338 unsigned getTypeAlign(QualType T) const { return getTypeInfo(T).Align; } in getTypeAlign() function
2339 unsigned getTypeAlign(const Type *T) const { return getTypeInfo(T).Align; } in getTypeAlign() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaDeclAttr.cpp1420 S.Context.getTypeAlign(FD->getType()) <= 8); in handlePackedAttr()
4285 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType); in handleTransparentUnionAttr()
4296 S.Context.getTypeAlign(FieldType) > FirstAlign) { in handleTransparentUnionAttr()
4300 : S.Context.getTypeAlign(FieldType); in handleTransparentUnionAttr()
H A DSemaExprCXX.cpp2282 AllocType->isDependentType() ? 0 : Context.getTypeAlign(AllocType); in BuildCXXNew()
H A DSemaDecl.cpp2873 OldAlign = S.Context.getTypeAlign(Ty); in mergeAlignedAttrs()
2875 NewAlign = S.Context.getTypeAlign(Ty); in mergeAlignedAttrs()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/Rewrite/
H A DRewriteModernObjC.cpp6823 unsigned Align = Context->getTypeAlign(IVQT)/8; in Write__ivar_list_t_initializer()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp4739 return getASTContext().getTypeAlign(GetQualType(type)); in GetTypeBitAlign()