/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 134 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 137 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 174 case UnsignedInt: return getIntWidth(); in getTypeWidth() 188 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 203 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
D | Targets.cpp | 6585 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 634 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 640 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 665 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 741 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 744 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 760 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 766 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 247 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign()
|
D | ASTContext.cpp | 1631 Width = Target->getIntWidth(); in getTypeInfoImpl() 1677 Width = Target->getIntWidth(); in getTypeInfoImpl() 4638 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 4643 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4646 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 4649 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 4652 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 4655 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 4658 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 4749 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() [all …]
|
D | ExprConstant.cpp | 1584 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 1611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 2848 Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType() 6012 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 6024 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 6169 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 6179 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 7134 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp() 7410 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator() 9319 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
|
D | Expr.cpp | 725 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1054 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1055 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1163 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
D | PPExpressions.cpp | 292 NumBits = TI.getIntWidth(); in EvaluateValue()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 305 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 6113 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 6128 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 6151 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 6364 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 6387 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 6438 return GetExprRange(C, E, C.getIntWidth(GetExprType(E))); in GetExprRange() 6616 if (S.Context.getIntWidth(ConstantT) == in DiagnoseOutOfRangeComparison() 6617 S.Context.getIntWidth(CommonT) && in DiagnoseOutOfRangeComparison() 6836 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 6958 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingLiteralImpCast() [all …]
|
D | SemaStmt.cpp | 776 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt() 784 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt() 1182 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
|
D | SemaExpr.cpp | 1183 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 1624 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 1635 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3111 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 3275 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 3366 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 11785 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
|
D | SemaDecl.cpp | 12839 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField() 13816 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 13856 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 13992 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 14014 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 14344 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody() 14404 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
|
D | SemaOverload.cpp | 383 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() 385 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() 7241 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions() 7242 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
|
D | SemaExprCXX.cpp | 1204 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnCXXNew() 1375 assert(Context.getTargetInfo().getIntWidth() && "Builtin type of size 0?"); in BuildCXXNew()
|
D | SemaTemplateDeduction.cpp | 3266 llvm::APInt Size(S.Context.getIntWidth(NTTP->getType()), in DeduceFromInitializerList()
|
D | TreeTransform.h | 11180 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType() 11252 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 2269 unsigned getIntWidth(QualType T) const; 2283 llvm::APSInt Res(getIntWidth(Type), in MakeIntValue()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 115 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
|
D | CGExprScalar.cpp | 640 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
|
D | TargetInfo.cpp | 6227 getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
|