Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp177 return ABIArgInfo::getIndirect(getContext().getTypeAlignInChars(Ty), ByVal, in getNaturalAlignIndirect()
183 return ABIArgInfo::getIndirectInReg(getContext().getTypeAlignInChars(Ty), in getNaturalAlignIndirectInReg()
H A DSwiftCallingConv.cpp839 CharUnits alignment = CGM.getContext().getTypeAlignInChars(type); in classifyType()
H A DCGCall.cpp2998 getContext().getTypeAlignInChars(Ty)); in EmitFunctionProlog()
3148 V, pointeeTy, getContext().getTypeAlignInChars(pointeeTy)); in EmitFunctionProlog()
5165 I->Ty, getContext().getTypeAlignInChars(I->Ty), in EmitCall()
5218 (LV.getAlignment() < getContext().getTypeAlignInChars(I->Ty))) { in EmitCall()
5303 V, pointeeTy, getContext().getTypeAlignInChars(pointeeTy)); in EmitCall()
H A DCGObjC.cpp3699 CharUnits Alignment = C.getTypeAlignInChars(Ty); in GenerateObjCAtomicSetterCopyHelperFunction()
3797 CharUnits Alignment = C.getTypeAlignInChars(Ty); in GenerateObjCAtomicGetterCopyHelperFunction()
3892 getContext().getTypeAlignInChars(TheCXXConstructExpr->getType()); in GenerateObjCAtomicGetterCopyHelperFunction()
H A DCGDecl.cpp1844 CharUnits ConstantAlign = getContext().getTypeAlignInChars(VlaSize.Type); in emitZeroOrPatternForAutoVarInit()
2627 AllocaPtr = CreateMemTemp(PtrTy, getContext().getTypeAlignInChars(PtrTy), in EmitParmDecl()
H A DCodeGenModule.cpp3619 CharUnits Alignment = getContext().getTypeAlignInChars(GCD->getType()); in GetAddrOfUnnamedGlobalConstantDecl()
6325 CharUnits Align = isUTF16 ? Context.getTypeAlignInChars(Context.ShortTy) in GetAddrOfConstantCFString()
6326 : Context.getTypeAlignInChars(Context.CharTy); in GetAddrOfConstantCFString()
6599 CharUnits Align = getContext().getTypeAlignInChars(MaterializedType); in GetAddrOfGlobalTemporary()
7697 Alignment = getContext().getTypeAlignInChars(T); in getNaturalTypeAlignment()
H A DMicrosoftCXXABI.cpp1180 CharUnits Align = CGM.getContext().getTypeAlignInChars(FI.getReturnType()); in classifyReturnType()
2164 CGM.getContext().getTypeAlignInChars(CGM.getContext().IntTy); in getAddrOfVBTable()
2325 Ctx.getTypeAlignInChars(type)); in getArrayCookieSizeImpl()
H A DItaniumCXXABI.cpp1356 auto Align = CGM.getContext().getTypeAlignInChars(FI.getReturnType()); in classifyReturnType()
2509 CGM.getContext().getTypeAlignInChars(elementType)); in getArrayCookieSizeImpl()
3521 auto Align = CGM.getContext().getTypeAlignInChars(CGM.getContext().CharTy); in GetAddrOfTypeName()
H A DCGExpr.cpp143 CharUnits Align = getContext().getTypeAlignInChars(Ty); in CreateIRTemp()
150 return CreateMemTemp(Ty, getContext().getTypeAlignInChars(Ty), Name, Alloca); in CreateMemTemp()
178 return CreateMemTempWithoutCast(Ty, getContext().getTypeAlignInChars(Ty), in CreateMemTempWithoutCast()
424 CharUnits alignment = CGF.getContext().getTypeAlignInChars(Ty); in createReferenceTemporary()
H A DCGExprAgg.cpp537 CharUnits Align = CGM.getContext().getTypeAlignInChars(GVArrayQTy); in EmitArrayInit()
H A DCGExprCXX.cpp1604 CharUnits allocAlign = getContext().getTypeAlignInChars(allocType); in EmitCXXNewExpr()
H A DCGOpenMPRuntime.cpp1807 CGM.getContext().getTypeAlignInChars(VarType)); in getAddrOfArtificialThreadPrivate()
1826 VarLVType, CGM.getContext().getTypeAlignInChars(VarType)); in getAddrOfArtificialThreadPrivate()
4370 CharUnits Align = C.getTypeAlignInChars(KmpDependInfoTy); in emitDepobjDependClause()
7062 CGF.getContext().getTypeAlignInChars(OAShE->getBase()->getType())); in generateInfoForComponentList()
7258 CGF.getContext().getTypeAlignInChars( in generateInfoForComponentList()
H A DCGExprConstant.cpp942 CharUnits Align = CGM.getContext().getTypeAlignInChars(E->getType()); in tryEmitGlobalCompoundLiteral()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DPPC.cpp214 CharUnits TyAlign = getContext().getTypeAlignInChars(Ty); in classifyArgumentType()
550 CharUnits Align = CGF.getContext().getTypeAlignInChars(Ty); in EmitVAArg()
574 getContext().getTypeAlignInChars(Ty)); in EmitVAArg()
851 uint64_t TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType()
H A DAMDGPU.cpp198 getContext().getTypeAlignInChars(Ty), in classifyKernelArgumentType()
273 getContext().getTypeAlignInChars(Ty), in classifyArgumentType()
H A DARM.cpp325 unsigned BaseAlign = getContext().getTypeAlignInChars(Base).getQuantity(); in classifyHomogeneousAggregate()
413 TyAlign = getContext().getTypeAlignInChars(Ty).getQuantity(); in classifyArgumentType()
H A DXCore.cpp148 CharUnits TypeAlign = getContext().getTypeAlignInChars(Ty); in EmitVAArg()
H A DX86.cpp2998 CharUnits Align = CGF.getContext().getTypeAlignInChars(Ty); in EmitX86_64VAArgFromMemory()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAttrImpl.cpp261 return Ctx.getTypeAlignInChars(T.getTypePtr()).getQuantity() * in getAlignment()
H A DRecordLayoutBuilder.cpp1501 CharUnits TypeAlign = Context.getTypeAlignInChars(Type); in LayoutWideBitField()
2717 Context.getTypeAlignInChars(FD->getType()), FieldRequiredAlignment); in getAdjustedElementInfo()
H A DASTContext.cpp2478 CharUnits ASTContext::getTypeAlignInChars(QualType T) const { in getTypeAlignInChars() function in ASTContext
2481 CharUnits ASTContext::getTypeAlignInChars(const Type *T) const { in getTypeAlignInChars() function in ASTContext
12817 CharUnits alignChars = getTypeAlignInChars(AtomicTy); in AtomicUsesUnsupportedLibcall()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2438 CharUnits getTypeAlignInChars(QualType T) const;
2439 CharUnits getTypeAlignInChars(const Type *T) const;
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp3140 CharUnits ParamAlign = Context.getTypeAlignInChars(ParamTy); in CheckArgAlignment()
3141 CharUnits ArgAlign = Context.getTypeAlignInChars(ArgTy); in CheckArgAlignment()
13027 return S.Context.getTypeAlignInChars(E->getType()->getPointeeType()); in getPresumedAlignmentOfPointer()
13047 CharUnits DestAlign = Context.getTypeAlignInChars(DestPointee); in CheckCastAlign()
14135 Context.getTypeAlignInChars( in DiscardMisalignedMemberAddress()
14197 CharUnits ExpectedAlignment = Context.getTypeAlignInChars(E->getType()); in RefersToMemberWithReducedAlignment()
14209 CharUnits CompleteObjectAlignment = Context.getTypeAlignInChars( in RefersToMemberWithReducedAlignment()
14241 Context.getTypeAlignInChars(FD->getType()), in RefersToMemberWithReducedAlignment()
14242 Context.getTypeAlignInChars(FD->getParent()->getTypeForDecl())); in RefersToMemberWithReducedAlignment()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DInterpBuiltin.cpp952 S.getCtx().getTypeAlignInChars(PointeeType) >= Size) in interp__builtin_atomic_lock_free()
H A DCompiler.cpp1629 return ASTCtx.getTypeAlignInChars(T); in AlignOfType()

12