Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DOSLog.cpp146 CharUnits Size = Ctx.getTypeSizeInChars((*Data.FieldWidth)->getType()); in computeLayout()
151 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Precision)->getType()); in computeLayout()
157 CharUnits Size = Ctx.getTypeSizeInChars((*Data.Count)->getType()); in computeLayout()
169 Size = Ctx.getTypeSizeInChars(Data.E->getType()); in computeLayout()
172 auto Size = Ctx.getTypeSizeInChars(Data.E->getType()); in computeLayout()
/freebsd-14.2/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 DArrayBoundCheckerV2.cpp114 SVB.getContext().getTypeSizeInChars(ElemType).getQuantity()); in computeOffset()
272 if (int64_t ElemSize = ACtx.getTypeSizeInChars(ElemType).getQuantity()) { in getExceedsMsgs()
H A DPaddingChecker.cpp205 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
H A DVLASizeChecker.cpp102 CharUnits EleSize = Ctx.getTypeSizeInChars(VLALast->getElementType()); in checkVLA()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp116 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getTypeInfoHelper()
267 uint64_t Size = Context.getTypeSizeInChars(AccessType).getQuantity(); in getAccessInfo()
315 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields()
388 uint64_t Size = Context.getTypeSizeInChars(FieldQTy).getQuantity(); in getBaseTypeInfoHelper()
404 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getBaseTypeInfoHelper()
H A DSwiftCallingConv.cpp80 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
88 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
96 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData()
101 auto atomicSize = CGM.getContext().getTypeSizeInChars(atomicType); in addTypedData()
102 auto valueSize = CGM.getContext().getTypeSizeInChars(valueType); in addTypedData()
H A DCGOpenCLRuntime.cpp86 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
H A DCGExprCXX.cpp710 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize()
752 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize()
1011 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer()
1031 getContext().getTypeSizeInChars(ElementType).getQuantity() * in EmitNewArrayInitializer()
1836 CharUnits DeleteTypeSize = getContext().getTypeSizeInChars(DeleteTy); in EmitDeleteCall()
2064 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete()
H A DCGNonTrivialStruct.cpp196 CharUnits EltSize = Ctx.getTypeSizeInChars(EltTy); in visitArray()
363 unsigned BaseEltSize = Ctx.getTypeSizeInChars(BaseEltQT).getQuantity(); in visitArray()
395 CharUnits EltSize = Ctx.getTypeSizeInChars(EltQT); in visitArray()
651 CharUnits Size = Ctx.getTypeSizeInChars(QualType(AT, 0)); in visitArray()
H A DCGOpenMPRuntimeGPU.cpp1409 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType()
1411 assert(!CGF.getContext().getTypeSizeInChars(ValTy).isZero() && in castValueToType()
1416 if (CGF.getContext().getTypeSizeInChars(ValTy) == in castValueToType()
1417 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType()
1445 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in createRuntimeShuffleFunction()
1472 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in shuffleAndStore()
1782 C.getTypeSizeInChars(Private->getType()) in emitInterWarpCopyFunction()
H A DCGExprAgg.cpp516 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit()
773 CGF.getContext().getTypeSizeInChars(E->getType()).getQuantity()); in VisitCastExpr()
1848 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in VisitArrayInitLoopExpr()
1947 return CGF.getContext().getTypeSizeInChars(E->getType()); in GetNumNonZeroBytesInInit()
H A DCGValue.h692 : Ctx.getTypeSizeInChars(Type); in getPreferredSize()
H A DCGDecl.cpp362 CharUnits VarSize = CGM.getContext().getTypeSizeInChars(D.getType()) + in AddInitializerToStaticVarDecl()
1775 CharUnits Size = getContext().getTypeSizeInChars(type); in emitZeroOrPatternForAutoVarInit()
1817 CharUnits EltSize = getContext().getTypeSizeInChars(VlaSize.Type); in emitZeroOrPatternForAutoVarInit()
2273 .alignmentOfArrayElement(getContext().getTypeSizeInChars(type)); in emitDestroy()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DOSLog.h91 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
H A DASTContext.h2323 CharUnits getTypeSizeInChars(QualType T) const;
2324 CharUnits getTypeSizeInChars(const Type *T) const;
2329 return getTypeSizeInChars(Ty); in getTypeSizeInCharsIfKnown()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp41 return SVB.makeIntVal(SVB.getContext().getTypeSizeInChars(Ty).getQuantity(), in getElementExtent()
H A DStore.cpp206 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp144 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
158 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFARsEligibleStructHelper()
H A DARM.cpp396 getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(16)) { in classifyArgumentType()
417 if (getContext().getTypeSizeInChars(Ty) > CharUnits::fromQuantity(64)) { in classifyArgumentType()
773 CharUnits TySize = getContext().getTypeSizeInChars(Ty); in EmitVAArg()
H A DRISCV.cpp150 Field2Off = Field1Off + getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper()
164 CharUnits EltSize = getContext().getTypeSizeInChars(EltTy); in detectFPCCEligibleStructHelper()
/freebsd-14.2/contrib/llvm-project/clang/lib/Interpreter/
H A DValue.cpp161 getASTContext().getTypeSizeInChars(getType()).getQuantity(); in Value()
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp314 << context.getTypeSizeInChars(VD).getQuantity(); in HandleTranslationUnit()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaStmtAsm.cpp766 unsigned Size = Context.getTypeSizeInChars(T).getQuantity(); in FillInlineAsmIdentifierInfo()
769 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in FillInlineAsmIdentifierInfo()

123