Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp121 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt() local
124 if (typeSize.isZero()) in checkPreStmt()
127 if (regionSize % typeSize == 0) in checkPreStmt()
130 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy)) in checkPreStmt()
/freebsd-14.2/contrib/llvm-project/lld/COFF/
H A DPDB.cpp1275 uint32_t typeSize; in printStats() member
1278 uint64_t totalInputSize() const { return uint64_t(dupCount) * typeSize; } in printStats()
1288 uint32_t typeSize = records.getType(typeIndex).length(); in printStats() local
1290 tsis.push_back({typeSize, dupCount, typeIndex}); in printStats()
1302 tsi.dupCount, tsi.typeSize); in printStats()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprCXX.cpp710 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local
712 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize()
752 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local
753 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); in EmitCXXNewAllocSize()
911 if (typeSize.isOne()) { in EmitCXXNewAllocSize()
H A DCGDebugInfo.cpp4877 const uint64_t typeSize = CGM.getContext().getTypeSize(BD->getType()); in EmitDeclare() local
4882 .toCharUnitsFromBits(value * typeSize) in EmitDeclare()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaType.cpp1805 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result)); in ConvertDeclSpecToType() local
1806 assert(typeSize > 0 && "type size for vector must be greater than 0 bits"); in ConvertDeclSpecToType()
1812 Result = Context.getVectorType(Result, 128/typeSize, VecKind); in ConvertDeclSpecToType()
8507 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); in HandleNeonVectorTypeAttr() local
8509 unsigned vecSize = typeSize * numElts; in HandleNeonVectorTypeAttr()
H A DSemaInit.cpp1829 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType() local
1844 << typeCode << typeSize; in CheckVectorType()