|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
tools/clang/include/clang/AST/ASTContext.h 2093 return getTypeSize(CharTy);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/BasicValueFactory.h 201 return getValue(0, Ctx.getTypeSize(T), true);
205 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
209 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConstraintManager.h 116 llvm::APSInt Value(Ctx.getTypeSize(Ty),
124 SMTConv::fromData(Solver, SD->getSymbolID(), Ty, Ctx.getTypeSize(Ty));
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SMTConv.h 334 return fromCast(Solver, Exp, ToTy, Ctx.getTypeSize(ToTy), FromTy,
335 Ctx.getTypeSize(FromTy));
426 Ctx.getTypeSize(Sym->getType()));
494 Solver->mkBitvector(llvm::APSInt("0"), Ctx.getTypeSize(Ty)),
557 NewInt = Int.extend(Ctx.getTypeSize(Ctx.BoolTy));
594 uint64_t LBitWidth = Ctx.getTypeSize(LTy);
595 uint64_t RBitWidth = Ctx.getTypeSize(RTy);
617 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) &&
617 assert((Ctx.getTypeSize(LTy) == Ctx.getTypeSize(RTy)) &&
647 uint64_t LBitWidth = Ctx.getTypeSize(LTy);
648 uint64_t RBitWidth = Ctx.getTypeSize(RTy);
655 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy);
662 uint64_t NewBitWidth = Ctx.getTypeSize(NewTy);
729 uint64_t LBitWidth = Ctx.getTypeSize(LTy);
730 uint64_t RBitWidth = Ctx.getTypeSize(RTy);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h 89 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {}
tools/clang/lib/AST/ASTContext.cpp 2549 StructSize.getValue() == static_cast<int64_t>(getTypeSize(Ty));
5811 uint64_t IntSize = getTypeSize(IntTy);
5868 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]);
7211 CurOffs += getTypeSize(VoidPtrTy);
7273 CurOffs += getTypeSize(field->getType());
7481 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1);
7536 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1);
7544 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 4);
7639 llvm::APInt Size(Context->getTypeSize(Context->getSizeType()), 1);
8838 Context.getTypeSize(underlyingType) == Context.getTypeSize(other))
8838 Context.getTypeSize(underlyingType) == Context.getTypeSize(other))
9305 return (unsigned)getTypeSize(T);
10718 static_cast<unsigned>(getTypeSize(Ty)), getFixedPointScale(Ty), isSigned,
tools/clang/lib/AST/DeclObjC.cpp 1632 IV->getASTContext().getTypeSize(IV->getType()), IV));
tools/clang/lib/AST/Expr.cpp 2919 (Ctx.getTypeSize(E->getType()) == Ctx.getTypeSize(SubExpr->getType()));
2919 (Ctx.getTypeSize(E->getType()) == Ctx.getTypeSize(SubExpr->getType()));
tools/clang/lib/AST/ExprConstant.cpp 1938 Decl->getASTContext().getTypeSize(Ty) == 0;
2425 unsigned VecSize = Info.Ctx.getTypeSize(VecTy);
2427 unsigned EltSize = Info.Ctx.getTypeSize(EltTy);
7707 unsigned BitsInSizeT = Ctx.getTypeSize(Ctx.getSizeType());
8009 unsigned Size = Info.Ctx.getTypeSize(E->getType());
9294 unsigned EltSize = Info.Ctx.getTypeSize(EltTy);
10830 uint64_t CharTy1Width{Info.Ctx.getTypeSize(CharTy1)};
10993 uint64_t ResultSize = Info.Ctx.getTypeSize(ResultType);
11054 APSInt Temp = Result.extOrTrunc(Info.Ctx.getTypeSize(ResultType));
11664 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy);
12170 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType);
12170 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType);
12172 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType);
12172 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType);
12191 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType))
12191 if (Info.Ctx.getTypeSize(DestType) != Info.Ctx.getTypeSize(SrcType))
tools/clang/lib/AST/ItaniumMangle.cpp 3083 getASTContext().getTypeSize(EltType));
3140 (T->getNumElements() * getASTContext().getTypeSize(EltType));
tools/clang/lib/AST/Mangle.cpp 191 llvm::alignTo(ASTContext.getTypeSize(AT), TI.getPointerWidth(0)) /
tools/clang/lib/AST/RecordLayoutBuilder.cpp 1414 uint64_t Size = Context.getTypeSize(QT);
tools/clang/lib/AST/Type.cpp 164 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType());
175 unsigned Bits = Context.getTypeSize(Context.getSizeType());
tools/clang/lib/Analysis/BodyFarm.cpp 209 llvm::APInt APValue = llvm::APInt(C.getTypeSize(Ty), Value);
tools/clang/lib/CodeGen/CGAtomic.cpp 77 ValueSizeInBits = C.getTypeSize(ValueTy);
112 ValueSizeInBits = C.getTypeSize(ValueTy);
114 AtomicSizeInBits = C.getTypeSize(AtomicTy);
120 ValueSizeInBits = C.getTypeSize(ValueTy);
124 AtomicSizeInBits = C.getTypeSize(AtomicTy);
1466 if (getContext().getTypeSize(LV.getType()) >
1467 getContext().getTypeSize(getContext().getIntPtrType()))
tools/clang/lib/CodeGen/CGBuiltin.cpp 131 CGF.getContext().getTypeSize(T));
192 CGF.getContext().getTypeSize(T));
232 CGF.getLLVMContext(), CGF.getContext().getTypeSize(T));
716 CGF.getContext().getTypeSize(E->getArg(1)->getType()));
3399 getContext().getTypeSize(E->getType()));
3529 auto T = Builder.getIntNTy(Context.getTypeSize(SizeTy));
6151 getContext().getTypeSize(E->getType()) == 64) ||
6189 getLLVMContext(), getContext().getTypeSize(Ty))->getPointerTo();
6211 getContext().getTypeSize(E->getArg(0)->getType()) == 64)) {
6237 getContext().getTypeSize(Ty));
7107 assert((getContext().getTypeSize(E->getType()) == 32) &&
7114 assert((getContext().getTypeSize(E->getType()) == 64) &&
7133 assert((getContext().getTypeSize(E->getType()) == 32) &&
7154 getContext().getTypeSize(E->getType()) == 128) {
7180 getLLVMContext(), getContext().getTypeSize(Ty))->getPointerTo();
7200 getContext().getTypeSize(E->getArg(0)->getType()) == 128) {
7226 getContext().getTypeSize(Ty));
tools/clang/lib/CodeGen/CGCall.cpp 3429 auto T = Builder.getIntNTy(Context.getTypeSize(SizeTy));
3634 getContext().getTypeSize(Arg->getType()) <
tools/clang/lib/CodeGen/CGDebugInfo.cpp 665 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
1028 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
1903 unsigned Size = Context.getTypeSize(Context.VoidPtrTy);
1994 CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
2020 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy);
2544 : CGM.getContext().getTypeSize(FType);
3220 uint64_t FieldSize = CGM.getContext().getTypeSize(FType);
3888 FieldSize = CGM.getContext().getTypeSize(FType);
4509 if (CGM.getContext().getTypeSize(VD->getType()) <= 64) {
tools/clang/lib/CodeGen/CGExpr.cpp 1554 Min = llvm::APInt(CGF.getContext().getTypeSize(Ty), 0);
1555 End = llvm::APInt(CGF.getContext().getTypeSize(Ty), 2);
1698 assert(Value->getType()->isIntegerTy(getContext().getTypeSize(Ty)) &&
1708 assert(Value->getType()->isIntegerTy(getContext().getTypeSize(Ty)) &&
2801 TypeInfo = (llvm::Log2_32(getContext().getTypeSize(T)) << 1) |
2805 TypeInfo = getContext().getTypeSize(T);
tools/clang/lib/CodeGen/CGExprAgg.cpp 1885 getContext().getTypeSize(FD->getType()) <=
tools/clang/lib/CodeGen/CGExprCXX.cpp 1634 Target.getNewAlign(), getContext().getTypeSize(allocType)));
tools/clang/lib/CodeGen/CGExprConstant.cpp 1675 uint64_t innerSize = CGM.getContext().getTypeSize(destValueType);
1676 uint64_t outerSize = CGM.getContext().getTypeSize(destType);
tools/clang/lib/CodeGen/CGExprScalar.cpp 161 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType()))
161 Ctx.getTypeSize(BaseTy) >= Ctx.getTypeSize(E->getType()))
208 unsigned PromotedSize = Ctx.getTypeSize(Op.E->getType());
209 return (2 * Ctx.getTypeSize(LHSTy)) < PromotedSize ||
210 (2 * Ctx.getTypeSize(RHSTy)) < PromotedSize;
tools/clang/lib/CodeGen/CGNonTrivialStruct.cpp 29 return Ctx.getTypeSize(FT);
tools/clang/lib/CodeGen/CGObjC.cpp 142 llvm::APInt APNumElements(Context.getTypeSize(Context.getSizeType()),
tools/clang/lib/CodeGen/CGObjCGNU.cpp 3436 Context.getTypeSize(IVD->getType())));
tools/clang/lib/CodeGen/CGObjCMac.cpp 2427 assert(CGM.getContext().getTypeSize(type)
tools/clang/lib/CodeGen/CGOpenMPRuntime.cpp 5207 C.getIntTypeForBitwidth(C.getTypeSize(C.BoolTy), /*Signed=*/false);
10291 return C.getTypeSize(CDT);
10402 unsigned Size = C.getTypeSize(QT);
10429 return C.getTypeSize(PTy);
10432 return C.getTypeSize(QT);
10434 return C.getTypeSize(C.getUIntPtrType());
tools/clang/lib/CodeGen/CGStmt.cpp 2047 unsigned Size = getContext().getTypeSize(OutExpr->getType());
2069 uint64_t InputSize = getContext().getTypeSize(InputTy);
2070 if (getContext().getTypeSize(OutputType) < InputSize) {
2171 if (getContext().getTypeSize(OutputType) >
2172 getContext().getTypeSize(InputTy)) {
2332 unsigned Size = getContext().getTypeSize(ResultRegQualTys[i]);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp 1874 const unsigned IVSize = getContext().getTypeSize(IVExpr->getType());
2037 const unsigned IVSize = getContext().getTypeSize(IVExpr->getType());
2093 const unsigned IVSize = getContext().getTypeSize(IVExpr->getType());
2421 const unsigned IVSize = getContext().getTypeSize(IVExpr->getType());
2554 const unsigned IVSize = CGF.getContext().getTypeSize(IVExpr->getType());
3469 const unsigned IVSize = getContext().getTypeSize(IVExpr->getType());
3763 Context.getTypeSize(X.getType()), Context.toBits(X.getAlignment())))
tools/clang/lib/CodeGen/CodeGenTypes.cpp 95 (unsigned)Context.getTypeSize(T));
466 static_cast<unsigned>(Context.getTypeSize(T)));
678 uint64_t valueSize = Context.getTypeSize(valueType);
708 return Context.getTypeSize(type) != Context.getTypeSize(type->getValueType());
tools/clang/lib/CodeGen/TargetInfo.cpp 54 const uint64_t Size = Context.getTypeSize(Ty);
600 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T))
1208 uint64_t RetWidth = CGF.getContext().getTypeSize(ReturnSlot.getType());
1239 uint64_t Size = Context.getTypeSize(Ty);
1298 uint64_t Size = Context.getTypeSize(Ty);
1317 Size += Context.getTypeSize(FD->getType());
1365 return Size == getContext().getTypeSize(Ty);
1396 uint64_t Size = getContext().getTypeSize(RetTy);
1436 uint64_t Size = getContext().getTypeSize(RetTy);
1465 return Ty->getAs<VectorType>() && Context.getTypeSize(Ty) == 128;
1558 unsigned Size = getContext().getTypeSize(Ty);
1603 if (getContext().getTypeSize(Ty) <= 32 && State.FreeRegs)
1622 if (getContext().getTypeSize(Ty) > 32)
1681 unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32;
1697 if (getContext().getTypeSize(Ty) <= 4 * 32 &&
1712 uint64_t Size = getContext().getTypeSize(Ty);
2705 uint64_t Size = getContext().getTypeSize(Ty);
2730 uint64_t EB_Imag = (OffsetBase + getContext().getTypeSize(ET)) / 64;
2740 uint64_t Size = getContext().getTypeSize(Ty);
2757 uint64_t EltSize = getContext().getTypeSize(AT->getElementType());
2783 uint64_t Size = getContext().getTypeSize(Ty);
2851 if (Size > 128 && (Size != getContext().getTypeSize(i->getType()) ||
2982 uint64_t Size = getContext().getTypeSize(Ty);
3009 uint64_t Size = getContext().getTypeSize(Ty);
3021 uint64_t Size = getContext().getTypeSize(Ty);
3042 unsigned TySize = (unsigned)Context.getTypeSize(Ty);
3047 unsigned EltSize = (unsigned)Context.getTypeSize(AT->getElementType());
3708 uint64_t SizeInBytes = (CGF.getContext().getTypeSize(Ty) + 7) / 8;
4114 uint64_t Width = getContext().getTypeSize(Ty);
4161 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16
4208 bool isI64 = Ty->isIntegerType() && getContext().getTypeSize(Ty) == 64;
4211 bool isF64 = Ty->isFloatingType() && getContext().getTypeSize(Ty) == 64;
4546 if (getContext().getTypeSize(Ty) > 128)
4551 return CharUnits::fromQuantity(getContext().getTypeSize(Ty) == 128 ? 16 : 8);
4658 getContext().getTypeSize(Ty))
4682 getContext().getTypeSize(VT) / getContext().getTypeSize(EltTy);
4741 uint64_t Size = getContext().getTypeSize(Ty);
4771 uint64_t Bits = getContext().getTypeSize(Ty);
4813 uint64_t Size = getContext().getTypeSize(RetTy);
4834 uint64_t Bits = getContext().getTypeSize(RetTy);
5112 uint64_t Size = getContext().getTypeSize(Ty);
5154 uint64_t Size = getContext().getTypeSize(Ty);
5208 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 128)
5221 uint64_t Size = getContext().getTypeSize(RetTy);
5827 uint64_t Size = getContext().getTypeSize(Ty);
5970 SizeRegs = (getContext().getTypeSize(Ty) + 31) / 32;
5973 SizeRegs = (getContext().getTypeSize(Ty) + 63) / 64;
5985 uint64_t Size = Context.getTypeSize(Ty);
6076 if (getContext().getTypeSize(RetTy) > 128)
6116 getVMContext(), getContext().getTypeSize(RetTy)));
6121 uint64_t Size = getContext().getTypeSize(RetTy);
6148 uint64_t Size = getContext().getTypeSize(RetTy);
6373 (T->isRealFloatingType() && Context.getTypeSize(T) == 128)))
6376 Context.getTypeSize(T) > 64)
6402 const uint64_t Size = Context.getTypeSize(Ty);
6614 getContext().getTypeSize(Ty) <= 128);
6834 if (isCompoundType(RetTy) || getContext().getTypeSize(RetTy) > 64)
6852 uint64_t Size = getContext().getTypeSize(Ty);
6855 getContext().getTypeSize(SingleElementTy) == Size)
7109 uint64_t TySize = getContext().getTypeSize(Ty);
7192 uint64_t Size = getContext().getTypeSize(RetTy);
7299 int TySize = getContext().getTypeSize(Ty);
7486 uint64_t Size = getContext().getTypeSize(Ty);
7505 if (RetTy->isVectorType() && getContext().getTypeSize(RetTy) > 64)
7522 uint64_t Size = getContext().getTypeSize(RetTy);
7579 unsigned Size = getContext().getTypeSize(Ty);
7636 unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32;
7721 unsigned EltSize = getContext().getTypeSize(EltTy);
7743 return (getContext().getTypeSize(Ty) + 31) / 32;
7787 uint64_t Size = getContext().getTypeSize(RetTy);
7854 uint64_t Size = getContext().getTypeSize(Ty);
8308 uint64_t Size = getContext().getTypeSize(Ty);
8478 unsigned sz = (getContext().getTypeSize(Ty) + 31) / 32;
8550 auto SizeInRegs = llvm::alignTo(getContext().getTypeSize(Ty), 32) / 32;
8584 auto RetSize = llvm::alignTo(getContext().getTypeSize(RetTy), 32) / 32;
9298 getContext().getTypeSize(RetTy) > (2 * XLen);
9331 uint64_t Size = getContext().getTypeSize(Ty);
9360 if (getContext().getTypeSize(EltTy) > FLen)
9404 if (getContext().getTypeSize(QTy) > XLen && BitWidth <= XLen)
9531 uint64_t Size = getContext().getTypeSize(Ty);
9543 if (getContext().getTypeSize(EltTy) <= FLen) {
9656 int TySize = getContext().getTypeSize(Ty);
tools/clang/lib/Edit/RewriteObjCFoundationAPI.cpp 995 uint64_t FinalTySize = Ctx.getTypeSize(FinalTy);
996 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy);
1019 OrigTySize >= Ctx.getTypeSize(Ctx.IntTy))
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp 870 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy));
2598 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
2720 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy));
2843 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy));
4969 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4971 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
5381 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
7512 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy));
tools/clang/lib/Frontend/Rewrite/RewriteObjC.cpp 2987 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4123 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
4125 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy));
4517 static_cast<unsigned>(Context->getTypeSize(Context->IntTy));
tools/clang/lib/Sema/Sema.cpp 318 if (Context.getTypeSize(AtomicSizeT) == 64) {
1121 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true);
tools/clang/lib/Sema/SemaCast.cpp 1848 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) {
1848 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) {
1975 && Self.Context.getTypeSize(DestType) >
1976 Self.Context.getTypeSize(SrcType)) {
2132 if (Self.Context.getTypeSize(SrcType) >
2133 Self.Context.getTypeSize(DestType)) {
2208 if ((Self.Context.getTypeSize(SrcType) >
2209 Self.Context.getTypeSize(DestType)) &&
tools/clang/lib/Sema/SemaChecking.cpp 1802 if (Context.getTypeSize(ValType) > MaxWidth) {
8386 if (V.getActiveBits() <= S.Context.getTypeSize(IntendedTy))
8937 uint64_t ArgSize = Context.getTypeSize(ArgType);
8941 if (Context.getTypeSize(ParamType) >= ArgSize) {
9107 S.Context.getTypeSize(ArgType) <=
9108 S.Context.getTypeSize(ParamType)) {
9214 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType))
9214 if (Context.getTypeSize(ArgType) <= Context.getTypeSize(ParamType))
9651 (Context.getTypeSize(PointeeTy) == Context.getCharWidth()))
tools/clang/lib/Sema/SemaDecl.cpp 7007 Context.getTypeSize(R),
15818 uint64_t TypeStorageSize = Context.getTypeSize(FieldTy);
16387 llvm::APInt Zero(Context.getTypeSize(Context.IntTy), 0);
16884 unsigned BitWidth = Context.getTypeSize(T);
16888 if (Context.getTypeSize(Types[I]) > BitWidth)
tools/clang/lib/Sema/SemaDeclAttr.cpp 3523 uint64_t FirstSize = S.Context.getTypeSize(FirstType);
3534 if (S.Context.getTypeSize(FieldType) != FirstSize ||
3537 bool isSize = S.Context.getTypeSize(FieldType) != FirstSize;
3538 unsigned FieldBits = isSize? S.Context.getTypeSize(FieldType)
4022 unsigned NumElements = Context.getTypeSize(OldElemTy) *
4024 Context.getTypeSize(NewElemTy);
5614 S.Context.getTypeSize(getFunctionOrMethodParamType(D, 1)) != TypeSize)) {
tools/clang/lib/Sema/SemaDeclCXX.cpp12033 llvm::APInt Size(S.Context.getTypeSize(SizeType),
12247 llvm::APInt Zero(S.Context.getTypeSize(SizeType), 0);
12279 = ArrayTy->getSize().zextOrTrunc(S.Context.getTypeSize(SizeType));
tools/clang/lib/Sema/SemaExpr.cpp 3615 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() &&
5758 if (Context.getTypeSize(DstTy) != Context.getTypeSize(SrcTy))
5758 if (Context.getTypeSize(DstTy) != Context.getTypeSize(SrcTy))
6525 uint64_t srcEltSize = Context.getTypeSize(srcEltTy);
6526 uint64_t destEltSize = Context.getTypeSize(destEltTy);
7212 if (S.Context.getTypeSize(CV->getElementType())
7213 != S.Context.getTypeSize(ResTy)) {
7268 if (S.Context.getTypeSize(CVE) != S.Context.getTypeSize(RVE)) {
7268 if (S.Context.getTypeSize(CVE) != S.Context.getTypeSize(RVE)) {
8911 Bits = S.Context.getTypeSize(IntTy);
9051 (Context.getTypeSize(LHSVecType->getElementType()) ==
9052 Context.getTypeSize(RHSVecType->getElementType()))) {
9241 S.Context.getTypeSize(ArrayElemTy) == S.Context.getTypeSize(RHSTy))
9241 S.Context.getTypeSize(ArrayElemTy) == S.Context.getTypeSize(RHSTy))
9813 S.Context.getTypeSize(LHS.get()->getType()));
11091 unsigned TypeSize = Context.getTypeSize(VTy->getElementType());
11094 if (TypeSize == Context.getTypeSize(Context.CharTy))
11096 else if (TypeSize == Context.getTypeSize(Context.ShortTy))
11098 else if (TypeSize == Context.getTypeSize(Context.IntTy))
11100 else if (TypeSize == Context.getTypeSize(Context.LongTy))
11102 assert(TypeSize == Context.getTypeSize(Context.LongLongTy) &&
11107 if (TypeSize == Context.getTypeSize(Context.LongLongTy))
11110 else if (TypeSize == Context.getTypeSize(Context.LongTy))
11113 else if (TypeSize == Context.getTypeSize(Context.IntTy))
11116 else if (TypeSize == Context.getTypeSize(Context.ShortTy))
11119 assert(TypeSize == Context.getTypeSize(Context.CharTy) &&
tools/clang/lib/Sema/SemaExprCXX.cpp 2120 llvm::APInt(Context.getTypeSize(Context.getSizeType()),
tools/clang/lib/Sema/SemaInit.cpp 1278 SemaRef.Context.getTypeSize(SemaRef.Context.getSizeType()),
1726 unsigned typeSize = SemaRef.Context.getTypeSize(elementType);
2868 unsigned PromotedCharTyWidth = Context.getTypeSize(PromotedCharTy);
3831 llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()),
8660 llvm::APInt(S.Context.getTypeSize(S.Context.getSizeType()),
tools/clang/lib/Sema/SemaOpenMP.cpp 1710 (Ty->isRealFloatingType() && Context.getTypeSize(Ty) == 128)) &&
1712 (Ty->isIntegerType() && Context.getTypeSize(Ty) == 128 &&
1715 << static_cast<unsigned>(Context.getTypeSize(Ty)) << Ty
6166 C.getTypeSize(Type) > C.getTypeSize(VarType);
6166 C.getTypeSize(Type) > C.getTypeSize(VarType);
6169 UseVarType ? C.getTypeSize(VarType) : C.getTypeSize(Type);
6169 UseVarType ? C.getTypeSize(VarType) : C.getTypeSize(Type);
6181 unsigned NewSize = (C.getTypeSize(Type) > 32) ? 64 : 32;
6182 if (NewSize != C.getTypeSize(Type)) {
6183 if (NewSize < C.getTypeSize(Type)) {
6190 C.getTypeSize(Type) < NewSize);
6829 unsigned HasBits = C.getTypeSize(OldType);
7049 bool AllCountsNeedLessThan32Bits = C.getTypeSize(N0->getType()) < 32;
7060 AllCountsNeedLessThan32Bits &= C.getTypeSize(N->getType()) < 32;
7083 C.getTypeSize(LastIteration32.get()->getType()) == 32 &&
13432 llvm::APFloat::getAllOnesValue(Context.getTypeSize(Type),
13437 uint64_t Size = Context.getTypeSize(Type);
13458 uint64_t Size = Context.getTypeSize(Type);
tools/clang/lib/Sema/SemaOverload.cpp 2016 Context.getTypeSize(FromType) < Context.getTypeSize(ToType))) {
2016 Context.getTypeSize(FromType) < Context.getTypeSize(ToType))) {
2086 uint64_t FromSize = Context.getTypeSize(FromType);
2096 uint64_t ToSize = Context.getTypeSize(PromoteTypes[Idx]);
2128 ToSize = Context.getTypeSize(ToType);
3998 S.Context.getTypeSize(SCS1.getFromType()) ==
3999 S.Context.getTypeSize(SCS1.getToType(2)))
12551 llvm::APSInt Zero(Context.getTypeSize(Context.IntTy), false);
12996 llvm::APSInt Zero(Context.getTypeSize(Context.IntTy), false);
tools/clang/lib/Sema/SemaPseudoObject.cpp 517 llvm::APInt oneV(S.Context.getTypeSize(S.Context.IntTy), 1);
542 ? S.Context.getTypeSize(resultType) >=
543 S.Context.getTypeSize(S.Context.IntTy)
tools/clang/lib/Sema/SemaStmtAsm.cpp 327 unsigned Size = Context.getTypeSize(OutputExpr->getType());
606 uint64_t OutSize = Context.getTypeSize(OutTy);
607 uint64_t InSize = Context.getTypeSize(InTy);
tools/clang/lib/Sema/SemaTemplate.cpp 6598 Value = Value.extOrTrunc(Context.getTypeSize(IntegerType));
6683 unsigned AllowedBits = Context.getTypeSize(IntegerType);
6692 unsigned AllowedBits = Context.getTypeSize(IntegerType);
tools/clang/lib/Sema/SemaTemplateDeduction.cpp 1958 llvm::APSInt ArgSize(S.Context.getTypeSize(S.Context.IntTy), false);
2011 llvm::APSInt ArgSize(S.Context.getTypeSize(S.Context.IntTy), false);
2073 llvm::APSInt ArgAddressSpace(S.Context.getTypeSize(S.Context.IntTy),
tools/clang/lib/Sema/SemaType.cpp 1667 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result));
2231 llvm::APSInt ConstVal(Context.getTypeSize(Context.getSizeType()));
2377 unsigned TypeSize = static_cast<unsigned>(Context.getTypeSize(CurType));
7298 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType));
tools/clang/lib/StaticAnalyzer/Checkers/BasicObjCFoundationChecks.cpp 399 return Ctx.getTypeSize(T);
484 uint64_t PrimitiveTypeSize = Ctx.getTypeSize(T);
tools/clang/lib/StaticAnalyzer/Checkers/CallAndMessageChecker.cpp 567 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
568 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp 2008 uint64_t newBits = Ctx.getTypeSize(T);
2021 Ctx.getTypeSize(T) > bits)
tools/clang/lib/StaticAnalyzer/Core/ExprEngineC.cpp 852 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
tools/clang/lib/StaticAnalyzer/Core/MemRegion.cpp 1419 Offset += i * R->getContext().getTypeSize(EleTy);
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp 1194 uint64_t ElemSize = Ctx.getTypeSize(ElementTy);
tools/clang/lib/StaticAnalyzer/Core/SValBuilder.cpp 492 if (getContext().getTypeSize(castTy) >= getContext().getTypeSize(originalTy))
492 if (getContext().getTypeSize(castTy) >= getContext().getTypeSize(originalTy))
500 APSIntType ToType(getContext().getTypeSize(castTy),
tools/clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp 294 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType);
tools/clang/tools/extra/clang-tidy/bugprone/StringIntegerAssignmentCheck.cpp 119 return EvalResult.Val.getInt().getActiveBits() <= Ctx.getTypeSize(CharType);
tools/clang/tools/extra/clang-tidy/hicpp/MultiwayPathsCoveredCheck.cpp 87 return twoPow(Context.getTypeSize(T));
tools/clang/tools/extra/clang-tidy/misc/ThrowByValueCatchByReferenceCheck.cpp 165 MaxSize = context.getTypeSize(context.getSizeType());
166 if (context.getTypeSize(caughtType) > MaxSize)
tools/lldb/source/Plugins/SymbolFile/PDB/PDBASTParser.cpp 122 if (width == ast->getTypeSize(ast->LongTy))
125 if (width == ast->getTypeSize(ast->LongLongTy))
130 if (width == ast->getTypeSize(ast->UnsignedLongTy))
133 if (width == ast->getTypeSize(ast->UnsignedLongLongTy))
138 if (width == ast->getTypeSize(ast->WCharTy))
1163 uint32_t byte_size = m_ast.getASTContext()->getTypeSize(
tools/lldb/source/Symbol/ClangASTContext.cpp 840 uint64_t qual_type_bit_size = ast->getTypeSize(qual_type);
2266 if (bit_size == ast->getTypeSize(ast->SignedCharTy))
2270 if (bit_size == ast->getTypeSize(ast->ShortTy))
2273 if (bit_size == ast->getTypeSize(ast->IntTy))
2276 if (bit_size == ast->getTypeSize(ast->LongTy))
2279 if (bit_size == ast->getTypeSize(ast->LongLongTy))
2283 if (bit_size == ast->getTypeSize(ast->Int128Ty))
2286 if (bit_size == ast->getTypeSize(ast->UnsignedCharTy))
2290 if (bit_size == ast->getTypeSize(ast->UnsignedShortTy))
2294 if (bit_size == ast->getTypeSize(ast->UnsignedIntTy))
2298 if (bit_size == ast->getTypeSize(ast->UnsignedLongTy))
2302 if (bit_size == ast->getTypeSize(ast->UnsignedLongLongTy))
2306 if (bit_size == ast->getTypeSize(ast->UnsignedInt128Ty))
2317 return GetIntTypeFromBitSize(ast, ast->getTypeSize(ast->VoidPtrTy),
3099 uint64_t field_bitwidth = getASTContext()->getTypeSize(qual_type);
4942 if (bit_size == ast->getTypeSize(ast->FloatTy))
4944 else if (bit_size == ast->getTypeSize(ast->DoubleTy))
4946 else if (bit_size == ast->getTypeSize(ast->LongDoubleTy))
4948 else if (bit_size == ast->getTypeSize(ast->HalfTy))
4963 return getASTContext()->getTypeSize(qual_type);
4999 const uint32_t bit_size = getASTContext()->getTypeSize(qual_type);
5002 return getASTContext()->getTypeSize(
5008 getASTContext()->getTypeSize(
6597 getASTContext()->getTypeSize(getASTContext()->ObjCBuiltinClassTy) /
7885 clang_ast->getTypeSize(clang_ast->IntTy), bitfield_bit_size);
8840 if (ast->getTypeSize(enum_decl->getIntegerType()) <
8841 ast->getTypeSize(ast->IntTy)) {
tools/lldb/unittests/Symbol/TestClangASTContext.cpp 183 uint64_t actual_size = context->getTypeSize(qtype);