/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | BasicValueFactory.h | 96 return APSIntType(Ctx.getTypeSize(T), 153 return getValue(0, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 157 return getValue(X, Ctx.getTypeSize(Ctx.VoidPtrTy), isUnsigned); 161 return getValue(b ? 1 : 0, Ctx.getTypeSize(T), false);
|
H A D | SValBuilder.h | 70 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {}
|
/external/clang/lib/CodeGen/ |
H A D | TargetInfo.cpp | 262 if (Found && Context.getTypeSize(Found) != Context.getTypeSize(T)) 274 uint64_t Size = Context.getTypeSize(Ty); 315 Size += Context.getTypeSize(FD->getType()); 319 if (Size != Context.getTypeSize(Ty)) 449 unsigned SizeInRegs = (getContext().getTypeSize(Ty) + 31) / 32; 581 uint64_t Size = Context.getTypeSize(Ty); 647 uint64_t Size = getContext().getTypeSize(RetTy); 689 uint64_t Size = getContext().getTypeSize(RetTy); 718 return Ty->getAs<VectorType>() && Context.getTypeSize(T [all...] |
H A D | CGDebugInfo.cpp | 374 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); 440 uint64_t Size = CGM.getContext().getTypeSize(BT); 453 uint64_t Size = CGM.getContext().getTypeSize(Ty); 605 // Size is always the size of a pointer. We can't use getTypeSize here 644 uint64_t Size = CGM.getContext().getTypeSize(Ty); 659 FieldSize = CGM.getContext().getTypeSize(Ty); 1156 unsigned Size = Context.getTypeSize(Context.VoidPtrTy); 1190 unsigned Size = CGM.getContext().getTypeSize(CGM.getContext().VoidPtrTy); 1321 uint64_t Size = CGM.getContext().getTypeSize(Ty); 1403 : CGM.getContext().getTypeSize(FTyp [all...] |
H A D | CodeGenTypes.cpp | 95 (unsigned)Context.getTypeSize(T)); 342 static_cast<unsigned>(Context.getTypeSize(T)));
|
H A D | CGStmt.cpp | 1478 uint64_t InputSize = getContext().getTypeSize(InputTy); 1479 if (getContext().getTypeSize(OutputType) < InputSize) { 1549 if (getContext().getTypeSize(OutputType) > 1550 getContext().getTypeSize(InputTy)) {
|
H A D | CGExprAgg.cpp | 330 llvm::APInt size(ctx.getTypeSize(ctx.getSizeType()), numInits); 1410 llvm::APInt size(ctx.getTypeSize(ctx.getSizeType()), numInits);
|
H A D | CGBuiltin.cpp | 94 CGF.getContext().getTypeSize(T)); 129 CGF.getContext().getTypeSize(T)); 919 getContext().getTypeSize(T)); 947 getContext().getTypeSize(T));
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | ObjCContainersASTChecker.cpp | 42 return (ASTC.getTypeSize(T) == PtrWidth);
|
H A D | CallAndMessageChecker.cpp | 413 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy); 414 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
|
H A D | BasicObjCFoundationChecks.cpp | 244 return Ctx.getTypeSize(T); 326 uint64_t SourceSize = Ctx.getTypeSize(T);
|
/external/clang/lib/Sema/ |
H A D | SemaCast.cpp | 1471 if (Context.getTypeSize(DestTy) == Context.getTypeSize(SrcTy)) { 1589 if (Self.Context.getTypeSize(DestMemPtr) != 1590 Self.Context.getTypeSize(SrcMemPtr)) { 1607 if (Self.Context.getTypeSize(SrcType) > 1608 Self.Context.getTypeSize(DestType)) { 1629 if (Self.Context.getTypeSize(SrcType) 1630 == Self.Context.getTypeSize(DestType)) { 1680 if ((Self.Context.getTypeSize(SrcType) > 1681 Self.Context.getTypeSize(DestTyp [all...] |
H A D | SemaStmtAsm.cpp | 265 uint64_t OutSize = Context.getTypeSize(OutTy); 266 uint64_t InSize = Context.getTypeSize(InTy);
|
H A D | SemaExpr.cpp | 2783 assert(Context.getTypeSize(Ty) == ResultVal.getBitWidth() && 3924 if (Context.getTypeSize(DstTy) != Context.getTypeSize(SrcTy)) 4409 if (Context.getTypeSize(VectorTy) != Context.getTypeSize(Ty)) 4435 if (Context.getTypeSize(DestTy) != Context.getTypeSize(SrcTy) 5632 (Context.getTypeSize(LHSType) == Context.getTypeSize(RHSType))) { 6018 Context.getTypeSize(LHSTyp [all...] |
H A D | Sema.cpp | 648 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true);
|
H A D | SemaType.cpp | 898 unsigned typeSize = static_cast<unsigned>(Context.getTypeSize(Result)); 1331 llvm::APSInt ConstVal(Context.getTypeSize(Context.getSizeType())); 4004 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType)); 4110 unsigned typeSize = static_cast<unsigned>(S.Context.getTypeSize(CurType));
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SimpleSValBuilder.cpp | 77 unsigned castSize = Context.getTypeSize(castTy); 135 unsigned BitWidth = Context.getTypeSize(castTy); 281 uint64_t TypeWidth = Ctx.getTypeSize(SymbolType); 862 if (ctx.getTypeSize(ctx.VoidPtrTy) == x->getBitWidth()) {
|
H A D | ExprEngine.cpp | 1086 uint64_t newBits = Ctx.getTypeSize(T); 1098 if (!bitsInit || !T->isIntegerType() || Ctx.getTypeSize(T) > bits) 1319 assert(V1.getBitWidth() == getContext().getTypeSize(CondE->getType()));
|
H A D | ExprEngineC.cpp | 655 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
|
/external/clang/lib/Edit/ |
H A D | RewriteObjCFoundationAPI.cpp | 840 uint64_t FinalTySize = Ctx.getTypeSize(FinalTy); 841 uint64_t OrigTySize = Ctx.getTypeSize(OrigTy); 864 OrigTySize >= Ctx.getTypeSize(Ctx.IntTy))
|
/external/clang/include/clang/AST/ |
H A D | ASTContext.h | 1441 uint64_t getTypeSize(QualType T) const { function in class:clang::ASTContext 1444 uint64_t getTypeSize(const Type *T) const { function in class:clang::ASTContext 1450 return getTypeSize(CharTy);
|
/external/clang/lib/AST/ |
H A D | ASTContext.cpp | 1109 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) 1508 return toCharUnitsFromBits(getTypeSize(T)); 1511 return toCharUnitsFromBits(getTypeSize(T)); 1536 return std::max(ABIAlign, (unsigned)getTypeSize(T)); 4020 uint64_t IntSize = getTypeSize(IntTy); 4058 uint64_t FromSize = getTypeSize(BT); 4062 uint64_t ToSize = getTypeSize(PromoteTypes[Idx]); 4075 uint64_t PromotableSize = getTypeSize(Promotable); 4076 uint64_t IntSize = getTypeSize(IntTy); 4874 if (getTypeSize(CA [all...] |
H A D | ExprConstant.cpp | 1233 unsigned VecSize = Info.Ctx.getTypeSize(VecTy); 1235 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 3124 unsigned Size = Info.Ctx.getTypeSize(E->getType()); 3633 unsigned EltSize = Info.Ctx.getTypeSize(EltTy); 5055 unsigned PtrSize = Info.Ctx.getTypeSize(LHSTy); 5403 return Info.Ctx.getTypeSize(DestType) <= Info.Ctx.getTypeSize(SrcType); 5405 return Info.Ctx.getTypeSize(DestType) == Info.Ctx.getTypeSize(SrcType); 5424 if (Info.Ctx.getTypeSize(DestTyp [all...] |
H A D | Type.cpp | 79 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType()); 92 unsigned Bits = Context.getTypeSize(Context.getSizeType());
|
/external/clang/lib/Rewrite/Frontend/ |
H A D | RewriteModernObjC.cpp | 821 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy)); 2576 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); 2712 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy)); 2852 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy)); 3572 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); 4924 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); 4926 static_cast<unsigned>(Context->getTypeSize(Context->VoidPtrTy)); 5342 static_cast<unsigned>(Context->getTypeSize(Context->IntTy)); 7500 static_cast<unsigned>(Context->getTypeSize(Context->UnsignedIntTy));
|