Home
last modified time | relevance | path

Searched refs:elementSize (Results 1 – 5 of 5) sorted by relevance

/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DCharUnits.h214 CharUnits alignmentOfArrayElement(CharUnits elementSize) const { in alignmentOfArrayElement() argument
218 return alignmentAtOffset(elementSize); in alignmentOfArrayElement()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGExprAgg.cpp511 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit() local
513 DestPtr.getAlignment().alignmentOfArrayElement(elementSize); in EmitArrayInit()
519 if (NumInitElements * elementSize.getQuantity() > 16 && in EmitArrayInit()
1837 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in VisitArrayInitLoopExpr() local
1839 destPtr.getAlignment().alignmentOfArrayElement(elementSize); in VisitArrayInitLoopExpr()
H A DCGExprCXX.cpp2038 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete() local
2040 deletedPtr.getAlignment().alignmentOfArrayElement(elementSize); in EmitArrayDelete()
H A DCGExprScalar.cpp4044 CharUnits elementSize; in EmitSub() local
4048 elementSize = CharUnits::One(); in EmitSub()
4050 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
4053 if (elementSize.isOne()) in EmitSub()
4056 divisor = CGF.CGM.getSize(elementSize); in EmitSub()
H A DItaniumCXXABI.cpp2256 llvm::Value *elementSize = llvm::ConstantInt::get(CGF.SizeTy, in InitializeArrayCookie() local
2258 CGF.Builder.CreateStore(elementSize, cookie); in InitializeArrayCookie()