Searched refs:typeSize (Results 1 – 10 of 10) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastSizeChecker.cpp | 123 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt() local 126 if (typeSize.isZero()) in checkPreStmt() 129 if (regionSize % typeSize == 0) in checkPreStmt() 132 if (evenFlexibleArraySize(Ctx, regionSize, typeSize, ToPointeeTy)) in checkPreStmt()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/Dialect/IR/ |
| H A D | CIRAttrs.cpp | 296 unsigned typeSize = in parse() local 300 zeros = typeSize - str.size(); in parse() 302 zeros = typeSize - mlir::cast<mlir::ArrayAttr>(elts).size(); in parse()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenRecordLayoutBuilder.cpp | 427 CharUnits typeSize = getSize(type); in accumulateBitFields() 428 if (beginOffset + typeSize <= limitOffset) { in accumulateBitFields() 431 bestEndOffset = beginOffset + typeSize; in accumulateBitFields()
|
| H A D | CIRGenCXXExpr.cpp | 200 CharUnits typeSize = cgf.getContext().getTypeSizeInChars(type); in emitCXXNewAllocSize() local 202 loc, cir::IntAttr::get(cgf.SizeTy, typeSize.getQuantity())); in emitCXXNewAllocSize()
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIRAttrs.td | 286 auto typeSize = mlir::cast<cir::ArrayType>(type).getSize(); 288 zeros = typeSize - str.size(); 290 zeros = typeSize - mlir::cast<mlir::ArrayAttr>(elts).size();
|
| /freebsd/contrib/llvm-project/lld/COFF/ |
| H A D | PDB.cpp | 1273 uint32_t typeSize; in printStats() member 1276 uint64_t totalInputSize() const { return uint64_t(dupCount) * typeSize; } in printStats() 1286 uint32_t typeSize = records.getType(typeIndex).length(); in printStats() local 1288 tsis.push_back({typeSize, dupCount, typeIndex}); in printStats() 1300 tsi.dupCount, tsi.typeSize); in printStats()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprCXX.cpp | 718 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local 720 = llvm::ConstantInt::get(CGF.SizeTy, typeSize.getQuantity()); in EmitCXXNewAllocSize() 760 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() local 761 llvm::APInt typeSizeMultiplier(sizeWidth, typeSize.getQuantity()); in EmitCXXNewAllocSize() 919 if (typeSize.isOne()) { in EmitCXXNewAllocSize()
|
| H A D | CGDebugInfo.cpp | 5275 const uint64_t typeSize = CGM.getContext().getTypeSize(BD->getType()); in EmitDeclare() local 5280 .toCharUnitsFromBits(value * typeSize) in EmitDeclare()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaType.cpp | 1431 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result)); in ConvertDeclSpecToType() local 1432 assert(typeSize > 0 && "type size for vector must be greater than 0 bits"); in ConvertDeclSpecToType() 1438 Result = Context.getVectorType(Result, 128/typeSize, VecKind); in ConvertDeclSpecToType() 8359 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); in HandleNeonVectorTypeAttr() local 8361 unsigned vecSize = typeSize * numElts; in HandleNeonVectorTypeAttr()
|
| H A D | SemaInit.cpp | 1982 unsigned typeSize = SemaRef.Context.getTypeSize(elementType); in CheckVectorType() local 1999 << typeCode << typeSize; in CheckVectorType()
|