Searched refs:getTypeSize (Results 1 - 25 of 44) sorted by relevance

12

/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h96 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 DSValBuilder.h70 ArrayIndexWidth(context.getTypeSize(ArrayIndexTy)) {}
/external/clang/lib/CodeGen/
H A DTargetInfo.cpp262 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 DCGDebugInfo.cpp374 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 DCodeGenTypes.cpp95 (unsigned)Context.getTypeSize(T));
342 static_cast<unsigned>(Context.getTypeSize(T)));
H A DCGStmt.cpp1478 uint64_t InputSize = getContext().getTypeSize(InputTy);
1479 if (getContext().getTypeSize(OutputType) < InputSize) {
1549 if (getContext().getTypeSize(OutputType) >
1550 getContext().getTypeSize(InputTy)) {
H A DCGExprAgg.cpp330 llvm::APInt size(ctx.getTypeSize(ctx.getSizeType()), numInits);
1410 llvm::APInt size(ctx.getTypeSize(ctx.getSizeType()), numInits);
H A DCGBuiltin.cpp94 CGF.getContext().getTypeSize(T));
129 CGF.getContext().getTypeSize(T));
919 getContext().getTypeSize(T));
947 getContext().getTypeSize(T));
/external/clang/lib/StaticAnalyzer/Checkers/
H A DObjCContainersASTChecker.cpp42 return (ASTC.getTypeSize(T) == PtrWidth);
H A DCallAndMessageChecker.cpp413 const uint64_t voidPtrSize = Ctx.getTypeSize(Ctx.VoidPtrTy);
414 const uint64_t returnTypeSize = Ctx.getTypeSize(CanRetTy);
H A DBasicObjCFoundationChecks.cpp244 return Ctx.getTypeSize(T);
326 uint64_t SourceSize = Ctx.getTypeSize(T);
/external/clang/lib/Sema/
H A DSemaCast.cpp1471 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 DSemaStmtAsm.cpp265 uint64_t OutSize = Context.getTypeSize(OutTy);
266 uint64_t InSize = Context.getTypeSize(InTy);
H A DSemaExpr.cpp2783 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 DSema.cpp648 llvm::APInt One(Context.getTypeSize(Context.getSizeType()), true);
H A DSemaType.cpp898 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 DSimpleSValBuilder.cpp77 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 DExprEngine.cpp1086 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 DExprEngineC.cpp655 assert(IV.getBitWidth() == getContext().getTypeSize(OOE->getType()));
/external/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp840 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 DASTContext.h1441 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 DASTContext.cpp1109 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 DExprConstant.cpp1233 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 DType.cpp79 unsigned SizeTypeBits = Context.getTypeSize(Context.getSizeType());
92 unsigned Bits = Context.getTypeSize(Context.getSizeType());
/external/clang/lib/Rewrite/Frontend/
H A DRewriteModernObjC.cpp821 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));

Completed in 1557 milliseconds

12