Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt() local
122 if (typeSize.isZero()) in checkPreStmt()
125 if (regionSize % typeSize == 0) in checkPreStmt()
128 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy)) in checkPreStmt()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGExprCXX.cpp688 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local
690 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize()
730 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local
731 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); in EmitCXXNewAllocSize()
889 if (typeSize.isOne()) { in EmitCXXNewAllocSize()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp1627 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result)); in ConvertDeclSpecToType() local
1628 assert(typeSize > 0 && "type size for vector must be greater than 0 bits"); in ConvertDeclSpecToType()
1634 Result = Context.getVectorType(Result, 128/typeSize, VecKind); in ConvertDeclSpecToType()
7135 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); in HandleNeonVectorTypeAttr() local
7137 unsigned vecSize = typeSize * numElts; in HandleNeonVectorTypeAttr()
H A DSemaInit.cpp1621 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType() local
1636 << typeCode << typeSize; in CheckVectorType()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DASTContext.h2496 QualType getFloatingTypeOfSizeWithinDomain(QualType typeSize,