Searched refs:getIntWidth (Results 1 – 17 of 17) sorted by relevance
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 461 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 514 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 517 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 833 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 834 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 940 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
D | PPExpressions.cpp | 277 NumBits = TI.getIntWidth(); in EvaluateValue()
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 137 case UnsignedInt: return getIntWidth(); in getTypeWidth()
|
D | Targets.cpp | 3486 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getArchDefines()
|
/external/clang/include/clang/Basic/ |
D | TargetInfo.h | 209 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
/external/clang/lib/AST/ |
D | ASTContext.cpp | 927 Width = Target->getIntWidth(); in getTypeInfoImpl() 3614 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 3619 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 3622 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 3625 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 3628 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 3631 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 3634 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 3946 assert(getIntWidth(IntTy) == 32 && "non-32bit int not supported"); in BuildByRefType() 4312 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding() [all …]
|
D | ExprConstant.cpp | 1173 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 1200 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 3981 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 3993 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 4149 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 4159 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 5031 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator() 6737 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
|
/external/clang/lib/Sema/ |
D | SemaChecking.cpp | 3448 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 3459 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 3480 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 3686 unsigned opWidth = C.getIntWidth(E->getType()); in GetExprRange() 3709 unsigned opWidth = C.getIntWidth(E->getType()); in GetExprRange() 3761 return GetExprRange(C, E, C.getIntWidth(E->getType())); in GetExprRange() 3919 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 4040 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingLiteralImpCast() 4238 if (TargetRange.Width == 32 && S.Context.getIntWidth(E->getType()) == 64) in CheckImplicitConversion()
|
D | SemaExpr.cpp | 896 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 1260 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 2466 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 2601 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 2670 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 9231 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
|
D | SemaDecl.cpp | 9879 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 9919 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 10055 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 10077 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 10176 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
|
D | SemaOverload.cpp | 386 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() 388 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() 6453 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions() 6454 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
|
D | SemaStmt.cpp | 611 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt()
|
D | TreeTransform.h | 8923 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType() 8995 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
|
/external/clang/include/clang/AST/ |
D | ASTContext.h | 1664 unsigned getIntWidth(QualType T) const; 1690 llvm::APSInt Res(getIntWidth(Type), in MakeIntValue()
|
D | Expr.h | 1151 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 93 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
|