/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 148 case UnsignedInt: return getIntWidth(); in getTypeWidth() 162 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 177 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
D | Targets.cpp | 5404 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 593 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 620 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 684 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 687 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 704 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 710 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
/external/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 176 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign()
|
D | ASTContext.cpp | 1544 Width = Target->getIntWidth(); in getTypeInfoImpl() 1590 Width = Target->getIntWidth(); in getTypeInfoImpl() 4387 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 4392 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4395 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 4398 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 4401 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 4404 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 4407 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 4482 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() [all …]
|
D | ExprConstant.cpp | 1487 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 1514 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 2677 Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType() 5670 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 5682 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 5830 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 5840 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 6539 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp() 6788 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator() 8575 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
|
D | ASTDiagnostic.cpp | 926 ParamWidth = Context.getIntWidth(DefaultNTTPD->getType()); in DiffTemplate()
|
D | Expr.cpp | 682 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1062 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1063 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1169 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
D | PPExpressions.cpp | 295 NumBits = TI.getIntWidth(); in EvaluateValue()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 275 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 4921 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 4936 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 4957 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 5170 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 5193 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 5244 return GetExprRange(C, E, C.getIntWidth(GetExprType(E))); in GetExprRange() 5420 if (S.Context.getIntWidth(ConstantT) == in DiagnoseOutOfRangeComparison() 5421 S.Context.getIntWidth(CommonT) && in DiagnoseOutOfRangeComparison() 5635 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 5757 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingLiteralImpCast() [all …]
|
D | SemaExpr.cpp | 1151 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 1584 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 1595 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3012 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 3147 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 3244 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 10792 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
|
D | SemaStmt.cpp | 746 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt() 1169 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
|
D | SemaDecl.cpp | 12645 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 12685 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 12821 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 12843 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 13119 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
|
D | SemaOverload.cpp | 404 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() 406 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() 6987 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions() 6988 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
|
D | SemaExprCXX.cpp | 1090 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnCXXNew() 1269 assert(Context.getTargetInfo().getIntWidth() && "Builtin type of size 0?"); in BuildCXXNew()
|
D | TreeTransform.h | 9820 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType() 9892 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 2061 unsigned getIntWidth(QualType T) const; 2085 llvm::APSInt Res(getIntWidth(Type), in MakeIntValue()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 105 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
|
D | CGExprScalar.cpp | 599 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
|