Searched refs:typeSize (Results 1 – 6 of 6) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CastSizeChecker.cpp | 121 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/contrib/llvm-project/lld/COFF/ |
H A D | PDB.cpp | 1275 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/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprCXX.cpp | 713 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local 715 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize() 755 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local 756 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); in EmitCXXNewAllocSize() 914 if (typeSize.isOne()) { in EmitCXXNewAllocSize()
|
H A D | CGDebugInfo.cpp | 5012 const uint64_t typeSize = CGM.getContext().getTypeSize(BD->getType()); in EmitDeclare() local 5017 .toCharUnitsFromBits(value * typeSize) in EmitDeclare()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaType.cpp | 1416 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result)); in ConvertDeclSpecToType() local 1417 assert(typeSize > 0 && "type size for vector must be greater than 0 bits"); in ConvertDeclSpecToType() 1423 Result = Context.getVectorType(Result, 128/typeSize, VecKind); in ConvertDeclSpecToType() 8201 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); in HandleNeonVectorTypeAttr() local 8203 unsigned vecSize = typeSize * numElts; in HandleNeonVectorTypeAttr()
|
H A D | SemaInit.cpp | 1909 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType() local 1924 << typeCode << typeSize; in CheckVectorType()
|