Home
last modified time | relevance | path

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

123

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp145 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 DASTContext.cpp2436 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 DCastSizeChecker.cpp68 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
74 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
121 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
H A DCheckPlacementNew.cpp77 CharUnits TypeSize = AstContext.getTypeSizeInChars(ElementType); in getExtentSizeOfNewTarget()
93 llvm::APInt I(AstContext.getTypeSizeInChars(SvalBuilder.getArrayIndexType()) in getExtentSizeOfNewTarget()
H A DVLASizeChecker.cpp102 CharUnits EleSize = Ctx.getTypeSizeInChars(VLALast->getElementType()); in checkVLA()
H A DArrayBoundCheckerV2.cpp340 astContext.getTypeSizeInChars(elemType), in computeOffset()
H A DPaddingChecker.cpp205 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp116 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 DSwiftCallingConv.cpp78 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 DCGOpenCLRuntime.cpp103 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
H A DCGExprCXX.cpp702 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 DCGNonTrivialStruct.cpp196 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 DCGExprAgg.cpp491 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 DCGOpenMPRuntimeGPU.cpp1676 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 DCGValue.h657 : Ctx.getTypeSizeInChars(Type); in getPreferredSize()
H A DCodeGenFunction.cpp1850 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 DCGCall.cpp932 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 DCGDecl.cpp1709 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 DCGExprScalar.cpp2719 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 DDynamicExtent.cpp39 return SVB.makeIntVal(SVB.getContext().getTypeSizeInChars(Ty).getQuantity(), in getElementExtent()
H A DStore.cpp204 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DOSLog.h91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
H A DASTContext.h2225 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 DInterfaceStubFunctionsConsumer.cpp314 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp748 unsigned Size = Context.getTypeSizeInChars(T).getQuantity(); in FillInlineAsmIdentifierInfo()
751 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in FillInlineAsmIdentifierInfo()

123