Home
last modified time | relevance | path

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

12

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/Targets/
HDHexagon.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()
HDLanai.cpp80 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult()
HDLoongArch.cpp354 uint64_t NeededAlign = getContext().getTypeAlign(Ty); in classifyArgumentType()
400 if (getContext().getTypeAlign(Ty) == 2 * GRLen) { in classifyArgumentType()
HDARC.cpp79 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectByValue()
HDRISCV.cpp407 uint64_t NeededAlign = getContext().getTypeAlign(Ty); in classifyArgumentType()
462 unsigned Alignment = getContext().getTypeAlign(Ty); in classifyArgumentType()
HDNVPTX.cpp144 const uint64_t Alignment = getContext().getTypeAlign(Ty); in coerceToIntArrayWithLimit()
HDMips.cpp198 uint64_t Align = getContext().getTypeAlign(Ty) / 8; in classifyArgumentType()
HDAArch64.cpp369 std::max(getContext().getTypeAlign(Ty), in classifyArgumentType()
445 unsigned Alignment = getContext().getTypeAlign(RetTy); in classifyReturnType()
HDX86.cpp619 unsigned TypeAlign = getContext().getTypeAlign(Ty) / 8; in getIndirectResult()
2004 if (OffsetBase % getContext().getTypeAlign(AT->getElementType())) in classify()
2120 Offset % getContext().getTypeAlign(i->getType().getCanonicalType()); in classify()
2226 unsigned Align = std::max(getContext().getTypeAlign(Ty) / 8, 8U); in getIndirectResult()
HDARM.cpp399 CharUnits::fromQuantity(getContext().getTypeAlign(Ty) / 8), false); in classifyArgumentType()
HDPPC.cpp780 if (isAggregateTypeForABI(Ty) && getContext().getTypeAlign(Ty) >= 128) { in getParamTypeAlignment()
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
HDCheckPlacementNew.cpp169 unsigned StorageTAlign = C.getASTContext().getTypeAlign(VD->getType()); in getStorageAlign()
279 unsigned AllocatedTAlign = C.getASTContext().getTypeAlign(AllocatedT) / in checkPlaceIsAlignedProperly()
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/Basic/
HDTargetInfo.h465 unsigned getTypeAlign(IntType T) const;
749 unsigned getWCharAlign() const { return getTypeAlign(WCharType); } in getWCharAlign()
754 unsigned getChar16Align() const { return getTypeAlign(Char16Type); } in getChar16Align()
759 unsigned getChar32Align() const { return getTypeAlign(Char32Type); } in getChar32Align()
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
HDItaniumCXXABI.cpp231 MPI.Align = Target.getTypeAlign(PtrDiff); in getMemberPointerInfo()
HDASTContext.cpp1881 return NeedsPreferredAlignment ? getPreferredTypeAlign(T) : getTypeAlign(T); in getTypeAlignIfKnown()
2444 UnadjustedAlign = getTypeAlign(T->getUnqualifiedDesugaredType()); in getTypeUnadjustedAlign()
2479 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
2482 return toCharUnitsFromBits(getTypeAlign(T)); in getTypeAlignInChars()
/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
HDABIInfoImpl.cpp86 const uint64_t Alignment = Context.getTypeAlign(Ty); in coerceToIntArray()
HDCGObjCGNU.cpp2098 astContext.getTypeAlign(astContext.UnsignedLongTy))}); in GenerateDirectMethodPrologue()
HDCGDebugInfo.cpp1284 uint32_t FieldAlign = CGM.getContext().getTypeAlign(Ty); in collectDefaultElementTypesForBlockPointer()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Basic/
HDTargetInfo.cpp352 unsigned TargetInfo::getTypeAlign(IntType T) const { in getTypeAlign() function in TargetInfo
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
HDASTContext.h2415 unsigned getTypeAlign(QualType T) const { return getTypeInfo(T).Align; } in getTypeAlign() function
2416 unsigned getTypeAlign(const Type *T) const { return getTypeInfo(T).Align; } in getTypeAlign() function
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
HDSemaHLSL.cpp405 unsigned Align = getASTContext().getTypeAlign(EltTy); in handlePackOffsetAttr()
HDSemaDeclAttr.cpp1160 S.Context.getTypeAlign(FD->getType()) <= 8); in handlePackedAttr()
3808 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType); in handleTransparentUnionAttr()
3819 S.Context.getTypeAlign(FieldType) > FirstAlign) { in handleTransparentUnionAttr()
3823 : S.Context.getTypeAlign(FieldType); in handleTransparentUnionAttr()
HDSemaExprCXX.cpp2313 AllocType->isDependentType() ? 0 : Context.getTypeAlign(AllocType); in BuildCXXNew()
HDSemaDecl.cpp2728 OldAlign = S.Context.getTypeAlign(Ty); in mergeAlignedAttrs()
2730 NewAlign = S.Context.getTypeAlign(Ty); in mergeAlignedAttrs()
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/Rewrite/
HDRewriteModernObjC.cpp6821 unsigned Align = Context->getTypeAlign(IVQT)/8; in Write__ivar_list_t_initializer()

12