| /freebsd-12.1/contrib/llvm/tools/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 | 2167 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 D | APValue.cpp | 442 CharUnits S = Ctx.getTypeSizeInChars(InnerTy); in printPretty()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | CastSizeChecker.cpp | 67 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 73 FlexSize = Ctx.getTypeSizeInChars(ElemType); in evenFlexibleArraySize() 119 CharUnits typeSize = C.getASTContext().getTypeSizeInChars(ToPointeeTy); in checkPreStmt()
|
| H A D | VLASizeChecker.cpp | 160 CharUnits EleSize = Ctx.getTypeSizeInChars(VLA->getElementType()); in checkPreStmt()
|
| H A D | ArrayBoundCheckerV2.cpp | 339 astContext.getTypeSizeInChars(elemType), in computeOffset()
|
| H A D | PaddingChecker.cpp | 203 CharUnits FieldSize = ASTContext.getTypeSizeInChars(FD->getType()); in calculateBaselinePad()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 116 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 D | SwiftCallingConv.cpp | 79 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 D | CGOpenCLRuntime.cpp | 104 .getTypeSizeInChars(PipeTy->getElementType()) in getPipeElemSize()
|
| H A D | CGNonTrivialStruct.cpp | 196 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 D | CGExprCXX.cpp | 688 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 D | CGOpenMPRuntimeNVPTX.cpp | 2104 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 D | CGValue.h | 625 : Ctx.getTypeSizeInChars(Type); in getPreferredSize()
|
| H A D | CGExprAgg.cpp | 483 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 D | CGCall.cpp | 931 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 D | CGExprScalar.cpp | 2515 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 D | CGDecl.cpp | 1644 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 D | CodeGenFunction.cpp | 1745 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 D | CGDeclCXX.cpp | 141 Addr, CGF.getContext().getTypeSizeInChars(D.getType())); in EmitDeclInvariant()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | OSLog.h | 92 Size(Ctx.getTypeSizeInChars(Ctx.IntTy)), Flags(flags) {} in OSLogBufferItem()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaStmtAsm.cpp | 672 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 D | Store.cpp | 203 CharUnits pointeeTySize = Ctx.getTypeSizeInChars(PointeeTy); in castRegion()
|
| H A D | MemRegion.cpp | 176 CharUnits size = Ctx.getTypeSizeInChars(T); in getExtent() 1254 int64_t size = C.getTypeSizeInChars(elemType).getQuantity(); in getAsArrayOffset()
|
| H A D | RegionStore.cpp | 1365 CharUnits EleSize = Ctx.getTypeSizeInChars(EleTy); in getSizeInElements() 1712 if (Ctx.getTypeSizeInChars(baseT) >= Ctx.getTypeSizeInChars(elemT)) { in getBindingForElement()
|