| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | OSLog.cpp | 145 CharUnits Size = Ctx.getTypeSizeInChars((*Data.FieldWidth)->getType()); in computeLayout() 150 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); in computeLayout() 156 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Count)->getType()); in computeLayout() 168 Size = Ctx.getTypeSizeInChars(Data.E->getType()); in computeLayout() 171 auto Size = Ctx.getTypeSizeInChars(Data.E->getType()); in computeLayout()
|
| H A D | ASTContext.cpp | 2436 CharUnits ASTContext::getTypeSizeInChars(QualType T) const { in getTypeSizeInChars() function in ASTContext 2439 CharUnits ASTContext::getTypeSizeInChars(const Type *T) const { in getTypeSizeInChars() function in ASTContext 2620 CharUnits UnionSize = Context.getTypeSizeInChars(RD->getTypeForDecl()); in unionHasUniqueObjectRepresentations() 2625 CharUnits FieldSize = Context.getTypeSizeInChars(Field->getType()); in unionHasUniqueObjectRepresentations() 2690 Context.toBits(Context.getTypeSizeInChars(Field->getType())); in structHasUniqueObjectRepresentations() 6863 CharUnits sz = getTypeSizeInChars(type); in getObjCEncodingTypeSize() 6867 sz = std::max(sz, getTypeSizeInChars(IntTy)); in getObjCEncodingTypeSize() 6870 sz = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingTypeSize() 6924 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock() 7032 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastSizeChecker.cpp | 68 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 74 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 121 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
|
| H A D | CheckPlacementNew.cpp | 77 CharUnits TypeSize = AstContext.getTypeSizeInChars(ElementType); in getExtentSizeOfNewTarget() 93 llvm::APInt I(AstContext.getTypeSizeInChars(SvalBuilder.getArrayIndexType()) in getExtentSizeOfNewTarget()
|
| H A D | VLASizeChecker.cpp | 102 CharUnits EleSize = Ctx.getTypeSizeInChars(VLALast->getElementType()); in checkVLA()
|
| H A D | ArrayBoundCheckerV2.cpp | 340 astContext.getTypeSizeInChars(elemType), in computeOffset()
|
| H A D | PaddingChecker.cpp | 205 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 116 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getTypeInfoHelper() 264 uint64_t Size = Context.getTypeSizeInChars(AccessType).getQuantity(); in getAccessInfo() 312 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields() 350 uint64_t Size = Context.getTypeSizeInChars(FieldQTy).getQuantity(); in getBaseTypeInfoHelper() 366 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getBaseTypeInfoHelper()
|
| H A D | SwiftCallingConv.cpp | 78 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData() 86 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData() 94 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData() 99 auto atomicSize = CGM.getContext().getTypeSizeInChars(atomicType); in addTypedData() 100 auto valueSize = CGM.getContext().getTypeSizeInChars(valueType); in addTypedData()
|
| H A D | CGOpenCLRuntime.cpp | 103 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
|
| H A D | CGExprCXX.cpp | 702 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() 744 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize() 1003 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer() 1023 getContext().getTypeSizeInChars(ElementType).getQuantity() * in EmitNewArrayInitializer() 1812 CharUnits DeleteTypeSize = getContext().getTypeSizeInChars(DeleteTy); in EmitDeleteCall() 2040 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete()
|
| H A D | CGNonTrivialStruct.cpp | 196 CharUnits EltSize = Ctx.getTypeSizeInChars(EltTy); in visitArray() 364 unsigned BaseEltSize = Ctx.getTypeSizeInChars(BaseEltQT).getQuantity(); in visitArray() 399 CharUnits EltSize = Ctx.getTypeSizeInChars(EltQT); in visitArray() 657 CharUnits Size = Ctx.getTypeSizeInChars(QualType(AT, 0)); in visitArray()
|
| H A D | CGExprAgg.cpp | 491 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit() 749 CGF.getContext().getTypeSizeInChars(E->getType()).getQuantity()); in VisitCastExpr() 1798 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in VisitArrayInitLoopExpr() 1896 return CGF.getContext().getTypeSizeInChars(E->getType()); in GetNumNonZeroBytesInInit()
|
| H A D | CGOpenMPRuntimeGPU.cpp | 1676 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType() 1678 assert(!CGF.getContext().getTypeSizeInChars(ValTy).isZero() && in castValueToType() 1683 if (CGF.getContext().getTypeSizeInChars(ValTy) == in castValueToType() 1684 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType() 1713 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in createRuntimeShuffleFunction() 1740 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in shuffleAndStore() 2128 C.getTypeSizeInChars(Private->getType()) in emitInterWarpCopyFunction()
|
| H A D | CGValue.h | 657 : Ctx.getTypeSizeInChars(Type); in getPreferredSize()
|
| H A D | CodeGenFunction.cpp | 1850 CharUnits baseSize = CGF.getContext().getTypeSizeInChars(baseType); in emitNonZeroVLAInit() 1904 CharUnits size = getContext().getTypeSizeInChars(Ty); in EmitNullInitialization() 1917 CharUnits eltSize = getContext().getTypeSizeInChars(VlaSize.Type); in EmitNullInitialization()
|
| H A D | CGCall.cpp | 932 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType()); in getTypeExpansion() 1011 CharUnits EltSize = CGF.getContext().getTypeSizeInChars(CAE->EltTy); in forConstantArrayExpansion() 2701 CharUnits Size = getContext().getTypeSizeInChars(Ty); in EmitFunctionProlog() 2757 getContext().getTypeSizeInChars(ETy).getQuantity() * in EmitFunctionProlog() 3308 int Size = Context.getTypeSizeInChars(ETy).getQuantity(); in setUsedBits() 3331 int Size = Context.getTypeSizeInChars(QTy).getQuantity(); in setUsedBits()
|
| H A D | CGDecl.cpp | 1709 CharUnits Size = getContext().getTypeSizeInChars(type); in emitZeroOrPatternForAutoVarInit() 1739 CharUnits EltSize = getContext().getTypeSizeInChars(VlaSize.Type); in emitZeroOrPatternForAutoVarInit() 2191 .alignmentOfArrayElement(getContext().getTypeSizeInChars(type)); in emitDestroy()
|
| H A D | CGExprScalar.cpp | 2719 CharUnits size = CGF.getContext().getTypeSizeInChars(OPT->getObjectType()); in EmitScalarPrePostIncDec() 2843 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr() 2926 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(VlaSize.Type); in VisitUnaryExprOrTypeTraitExpr() 3445 = CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(objectType)); in emitPointerArithmetic() 3802 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub() 3816 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | DynamicExtent.cpp | 39 return SVB.makeIntVal(SVB.getContext().getTypeSizeInChars(Ty).getQuantity(), in getElementExtent()
|
| H A D | Store.cpp | 204 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | OSLog.h | 91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
|
| H A D | ASTContext.h | 2225 CharUnits getTypeSizeInChars(QualType T) const; 2226 CharUnits getTypeSizeInChars(const Type *T) const; 2231 return getTypeSizeInChars(Ty); in getTypeSizeInCharsIfKnown()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InterfaceStubFunctionsConsumer.cpp | 314 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 748 unsigned Size = Context.getTypeSizeInChars(T).getQuantity(); in FillInlineAsmIdentifierInfo() 751 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in FillInlineAsmIdentifierInfo()
|