Home
last modified time | relevance | path

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

123

/freebsd-12.1/contrib/llvm/tools/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.cpp2167 CharUnits ASTContext::getTypeSizeInChars(QualType T) const { in getTypeSizeInChars() function in ASTContext
2170 CharUnits ASTContext::getTypeSizeInChars(const Type *T) const { in getTypeSizeInChars() function in ASTContext
2314 CharUnits UnionSize = Context.getTypeSizeInChars(RD->getTypeForDecl()); in unionHasUniqueObjectRepresentations()
2319 CharUnits FieldSize = Context.getTypeSizeInChars(Field->getType()); in unionHasUniqueObjectRepresentations()
2384 Context.toBits(Context.getTypeSizeInChars(Field->getType())); in structHasUniqueObjectRepresentations()
6138 CharUnits sz = getTypeSizeInChars(type); in getObjCEncodingTypeSize()
6142 sz = std::max(sz, getTypeSizeInChars(IntTy)); in getObjCEncodingTypeSize()
6145 sz = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingTypeSize()
6199 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForBlock()
6306 CharUnits PtrSize = getTypeSizeInChars(VoidPtrTy); in getObjCEncodingForMethodDecl()
[all …]
H A DAPValue.cpp442 CharUnits S = Ctx.getTypeSizeInChars(InnerTy); in printPretty()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize()
119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
H A DVLASizeChecker.cpp160 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType()); in checkPreStmt()
H A DArrayBoundCheckerV2.cpp339 astContext.getTypeSizeInChars(elemType), in computeOffset()
H A DPaddingChecker.cpp203 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp116 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getTypeInfoHelper()
227 uint64_t Size = Context.getTypeSizeInChars(AccessType).getQuantity(); in getAccessInfo()
273 uint64_t Size = Context.getTypeSizeInChars(QTy).getQuantity(); in CollectFields()
309 uint64_t Size = Context.getTypeSizeInChars(FieldQTy).getQuantity(); in getBaseTypeInfoHelper()
325 uint64_t Size = Context.getTypeSizeInChars(Ty).getQuantity(); in getBaseTypeInfoHelper()
H A DSwiftCallingConv.cpp79 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
87 auto eltSize = CGM.getContext().getTypeSizeInChars(eltType); in addTypedData()
95 addOpaqueData(begin, begin + CGM.getContext().getTypeSizeInChars(type)); in addTypedData()
H A DCGOpenCLRuntime.cpp104 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
H A DCGNonTrivialStruct.cpp196 CharUnits EltSize = Ctx.getTypeSizeInChars(EltTy); in visitArray()
351 unsigned BaseEltSize = Ctx.getTypeSizeInChars(BaseEltQT).getQuantity(); in visitArray()
386 CharUnits EltSize = Ctx.getTypeSizeInChars(EltQT); in visitArray()
649 CharUnits Size = Ctx.getTypeSizeInChars(QualType(AT, 0)); in visitArray()
H A DCGExprCXX.cpp688 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize()
730 CharUnits typeSize = CGF.getContext().getTypeSizeInChars(type); in EmitCXXNewAllocSize()
989 CharUnits ElementSize = getContext().getTypeSizeInChars(ElementType); in EmitNewArrayInitializer()
1009 getContext().getTypeSizeInChars(ElementType).getQuantity() * in EmitNewArrayInitializer()
1790 CharUnits DeleteTypeSize = getContext().getTypeSizeInChars(DeleteTy); in EmitDeleteCall()
1977 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayDelete()
H A DCGOpenMPRuntimeNVPTX.cpp2104 CGM.getContext().getTypeSizeInChars(GlobalRecTy).getQuantity(); in emitGenericVarsProlog()
2150 CGM.getContext().getTypeSizeInChars(SecGlobalRecTy).getQuantity(); in emitGenericVarsProlog()
2182 unsigned Size = CGM.getContext().getTypeSizeInChars(RDTy).getQuantity(); in emitGenericVarsProlog()
2777 assert(!CGF.getContext().getTypeSizeInChars(CastTy).isZero() && in castValueToType()
2779 assert(!CGF.getContext().getTypeSizeInChars(ValTy).isZero() && in castValueToType()
2784 if (CGF.getContext().getTypeSizeInChars(ValTy) == in castValueToType()
2785 CGF.getContext().getTypeSizeInChars(CastTy)) in castValueToType()
2809 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in createRuntimeShuffleFunction()
2835 CharUnits Size = CGF.getContext().getTypeSizeInChars(ElemType); in shuffleAndStore()
3204 C.getTypeSizeInChars(Private->getType()) in emitInterWarpCopyFunction()
[all …]
H A DCGValue.h625 : Ctx.getTypeSizeInChars(Type); in getPreferredSize()
H A DCGExprAgg.cpp483 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitArrayInit()
1588 CharUnits elementSize = CGF.getContext().getTypeSizeInChars(elementType); in VisitArrayInitLoopExpr()
1684 return CGF.getContext().getTypeSizeInChars(E->getType()); in GetNumNonZeroBytesInInit()
H A DCGCall.cpp931 CharUnits FieldSize = Context.getTypeSizeInChars(FD->getType()); in getTypeExpansion()
1010 CharUnits EltSize = CGF.getContext().getTypeSizeInChars(CAE->EltTy); in forConstantArrayExpansion()
1999 RetAttrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy) in ConstructAttributeList()
2110 Attrs.addDereferenceableAttr(getContext().getTypeSizeInChars(PTy) in ConstructAttributeList()
2340 CharUnits Size = getContext().getTypeSizeInChars(Ty); in EmitFunctionProlog()
2391 getContext().getTypeSizeInChars(ETy).getQuantity()*ArrSize); in EmitFunctionProlog()
H A DCGExprScalar.cpp2515 CharUnits size = CGF.getContext().getTypeSizeInChars(OPT->getObjectType()); in EmitScalarPrePostIncDec()
2633 CGF.getContext().getTypeSizeInChars(CurrentType).getQuantity()); in VisitOffsetOfExpr()
2716 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(VlaSize.Type); in VisitUnaryExprOrTypeTraitExpr()
3193 = CGF.CGM.getSize(CGF.getContext().getTypeSizeInChars(objectType)); in emitPointerArithmetic()
3406 CharUnits eltSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
3420 elementSize = CGF.getContext().getTypeSizeInChars(elementType); in EmitSub()
H A DCGDecl.cpp1644 CharUnits Size = getContext().getTypeSizeInChars(type); in EmitAutoVarInit()
1670 CharUnits EltSize = getContext().getTypeSizeInChars(VlaSize.Type); in EmitAutoVarInit()
2011 .alignmentOfArrayElement(getContext().getTypeSizeInChars(type)); in emitDestroy()
H A DCodeGenFunction.cpp1745 CharUnits baseSize = CGF.getContext().getTypeSizeInChars(baseType); in emitNonZeroVLAInit()
1799 CharUnits size = getContext().getTypeSizeInChars(Ty); in EmitNullInitialization()
1812 CharUnits eltSize = getContext().getTypeSizeInChars(VlaSize.Type); in EmitNullInitialization()
H A DCGDeclCXX.cpp141 Addr, CGF.getContext().getTypeSizeInChars(D.getType())); in EmitDeclInvariant()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/
H A DOSLog.h92 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaStmtAsm.cpp672 unsigned Size = Context.getTypeSizeInChars(T).getQuantity(); in FillInlineAsmIdentifierInfo()
675 Type = Context.getTypeSizeInChars(ATy->getElementType()).getQuantity(); in FillInlineAsmIdentifierInfo()
/freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/
H A DStore.cpp203 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
H A DMemRegion.cpp176 CharUnits size = Ctx.getTypeSizeInChars(T); in getExtent()
1254 int64_t size = C.getTypeSizeInChars(elemType).getQuantity(); in getAsArrayOffset()
H A DRegionStore.cpp1365 CharUnits EleSize = Ctx.getTypeSizeInChars(EleTy); in getSizeInElements()
1712 if (Ctx.getTypeSizeInChars(baseT) >= Ctx.getTypeSizeInChars(elemT)) { in getBindingForElement()

123