Home
last modified time | relevance | path

Searched refs:getTypeSizeInChars (Results 1 – 25 of 38) sorted by relevance

12

/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
HDCastSizeChecker.cpp67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
122 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
HDVLASizeChecker.cpp160 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType()); in checkPreStmt()
HDArrayBoundCheckerV2.cpp289 astContext.getTypeSizeInChars(elemType), in computeOffset()
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaStmtAsm.cpp555 Info.Type = Info.Size = Context.getTypeSizeInChars(T).getQuantity(); in LookupInlineAsmIdentifier()
558 Info.Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in LookupInlineAsmIdentifier()
/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCGExprCXX.cpp510 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize()
549 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize()
886 getContext().getTypeSizeInChars(ElementType).getQuantity() * in EmitNewArrayInitializer()
1408 CharUnits DeleteTypeSize = getContext().getTypeSizeInChars(DeleteTy); in EmitDeleteCall()
1546 CGF.CGM.getContext().getTypeSizeInChars(ElementType); in Emit()
HDCodeGenTBAA.cpp205 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields()
HDCGOpenMPRuntime.cpp1483 CGM.SizeTy, C.getTypeSizeInChars(CopyprivateArrayTy).getQuantity()); in emitSingleRegion()
2150 CGM.getSize(C.getTypeSizeInChars(KmpTaskTWithPrivatesQTy)); in emitTaskCall()
2191 auto SharedsSize = C.getTypeSizeInChars(SharedsTy); in emitTaskCall()
2309 C.toBits(C.getTypeSizeInChars(C.BoolTy)), /*Signed=*/false); in emitTaskCall()
2332 C.getTypeSizeInChars(Dependences[i].second->getType()).getQuantity()); in emitTaskCall()
2590 CGM.SizeTy, C.getTypeSizeInChars(ReductionArrayTy).getQuantity()); in emitReduction()
HDCGExprScalar.cpp1846 CharUnits size = CGF.getContext().getTypeSizeInChars(OPT->getObjectType()); in EmitScalarPrePostIncDec()
1960 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()
2046 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(eltType); in VisitUnaryExprOrTypeTraitExpr()
2481 = CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(objectType)); in emitPointerArithmetic()
2691 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
2705 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
HDCGExprAgg.cpp298 CharUnits sz = CGF.getContext().getTypeSizeInChars(type); in EmitCopy()
1310 return CGF.getContext().getTypeSizeInChars(E->getType()); in GetNumNonZeroBytesInInit()
HDCGDeclCXX.cpp128 CharUnits WidthChars = CGF.getContext().getTypeSizeInChars(D.getType()); in EmitDeclInvariant()
HDCGCall.cpp653 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType()); in getTypeExpansion()
1591 RetAttrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy) in ConstructAttributeList()
1686 Attrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy) in ConstructAttributeList()
1859 CharUnits Size = getContext().getTypeSizeInChars(Ty); in EmitFunctionProlog()
1915 getContext().getTypeSizeInChars(ETy).getQuantity()*ArrSize); in EmitFunctionProlog()
HDCGAtomic.cpp678 CharUnits sizeChars = getContext().getTypeSizeInChars(AtomicTy); in EmitAtomicExpr()
745 getContext().getTypeSizeInChars(MemTy->getPointeeType()); in EmitAtomicExpr()
HDItaniumCXXABI.cpp951 uint64_t TypeSize = getContext().getTypeSizeInChars(ThrowType).getQuantity(); in emitThrow()
1579 CharUnits SizeSize = Ctx.getTypeSizeInChars(SizeTy); in InitializeArrayCookie()
1673 getContext().getTypeSizeInChars(elementType).getQuantity()); in InitializeArrayCookie()
HDMicrosoftCXXABI.cpp1011 CharUnits IntSize = Context.getTypeSizeInChars(Context.IntTy); in GetVirtualBaseClassOffset()
2034 int32_t IntSize = Context.getTypeSizeInChars(Context.IntTy).getQuantity(); in performReturnAdjustment()
2066 return std::max(Ctx.getTypeSizeInChars(Ctx.getSizeType()), in getArrayCookieSizeImpl()
3844 uint32_t Size = getContext().getTypeSizeInChars(T).getQuantity(); in getCatchableType()
HDCGObjC.cpp553 CharUnits size = CGF.getContext().getTypeSizeInChars(ivar->getType()); in emitStructGetterCall()
1023 CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(ivar->getType())); in emitStructSetterCall()
HDTargetInfo.cpp1190 StackOffset += getContext().getTypeSizeInChars(Type).getQuantity(); in addFieldToArgStruct()
2480 (unsigned)getContext().getTypeSizeInChars(SourceTy).getQuantity(); in GetINTEGERTypeAtOffset()
4758 if (getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(64)) { in classifyArgumentType()
5043 CharUnits CharSize = getContext().getTypeSizeInChars(Ty); in EmitVAArg()
HDCGDecl.cpp1162 getContext().getTypeSizeInChars(type).getQuantity()); in EmitAutoVarInit()
HDCGObjCMac.cpp2122 CharUnits Size = CGM.getContext().getTypeSizeInChars(RT); in BuildRCRecordLayout()
2132 CharUnits FieldSize = CGM.getContext().getTypeSizeInChars(Field->getType()); in BuildRCRecordLayout()
2166 = CGM.getContext().getTypeSizeInChars(LastFieldBitfieldOrUnnamed->getType()); in BuildRCRecordLayout()
2496 fieldSize = CGM.getContext().getTypeSizeInChars(type); in BuildRCBlockLayout()
/NextBSD/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
HDStore.cpp190 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
HDMemRegion.cpp192 CharUnits size = Ctx.getTypeSizeInChars(T); in getExtent()
1148 CharUnits size = C.getTypeSizeInChars(elemType); in getAsArrayOffset()
HDRegionStore.cpp1226 CharUnits EleSize = Ctx.getTypeSizeInChars(EleTy); in getSizeInElements()
1534 if (Ctx.getTypeSizeInChars(baseT) >= Ctx.getTypeSizeInChars(elemT)) { in getBindingForElement()
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDAPValue.cpp392 CharUnits S = Ctx.getTypeSizeInChars(InnerTy); in printPretty()
HDASTContext.cpp1812 CharUnits ASTContext::getTypeSizeInChars(QualType T) const { in getTypeSizeInChars() function in ASTContext
1815 CharUnits ASTContext::getTypeSizeInChars(const Type *T) const { in getTypeSizeInChars() function in ASTContext
4981 CharUnits sz = getTypeSizeInChars(type); in getObjCEncodingTypeSize()
4985 sz = std::max(sz, getTypeSizeInChars(IntTy)); in getObjCEncodingTypeSize()
4988 sz = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingTypeSize()
5022 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock()
5129 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl()
8580 CharUnits sizeChars = getTypeSizeInChars(AtomicTy); in AtomicUsesUnsupportedLibcall()
HDExprConstant.cpp1894 Size = Info.Ctx.getTypeSizeInChars(Type); in HandleSizeof()
6221 CharUnits Size = Info.Ctx.getTypeSizeInChars(T); in TryEvaluateBuiltinObjectSize()
6528 auto Size = Ctx.getTypeSizeInChars(getType(LV.getLValueBase())); in isOnePastTheEndOfCompleteObject()
7141 CharUnits Size = Info.Ctx.getTypeSizeInChars(BaseTy); in VisitBinaryOperator()
7284 CharUnits ElementSize = Info.Ctx.getTypeSizeInChars(CurrentType); in VisitOffsetOfExpr()
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDASTContext.h1717 CharUnits getTypeSizeInChars(QualType T) const;
1718 CharUnits getTypeSizeInChars(const Type *T) const;

12