| /minix3/external/bsd/llvm/dist/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 130 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 133 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 170 case UnsignedInt: return getIntWidth(); in getTypeWidth() 184 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 199 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
| H A D | Targets.cpp | 5752 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 620 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 626 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 651 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 723 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 726 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 742 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 748 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 197 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign()
|
| H A D | ASTContext.cpp | 1548 Width = Target->getIntWidth(); in getTypeInfoImpl() 1594 Width = Target->getIntWidth(); in getTypeInfoImpl() 4444 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 4449 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4452 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 4455 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 4458 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 4461 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 4464 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 4555 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() [all …]
|
| H A D | ExprConstant.cpp | 1504 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 1531 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 2762 Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType() 5882 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 5894 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 6040 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 6050 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 6782 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp() 7055 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator() 8926 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
|
| H A D | Expr.cpp | 720 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1064 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1065 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1173 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
| H A D | PPExpressions.cpp | 298 NumBits = TI.getIntWidth(); in EvaluateValue()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 297 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaChecking.cpp | 5390 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 5405 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 5428 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 5641 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 5664 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 5715 return GetExprRange(C, E, C.getIntWidth(GetExprType(E))); in GetExprRange() 5893 if (S.Context.getIntWidth(ConstantT) == in DiagnoseOutOfRangeComparison() 5894 S.Context.getIntWidth(CommonT) && in DiagnoseOutOfRangeComparison() 6113 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 6235 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingLiteralImpCast() [all …]
|
| H A D | SemaStmt.cpp | 761 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt() 769 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt() 1192 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
|
| H A D | SemaExpr.cpp | 1105 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 1545 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 1556 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3072 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 3236 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 3334 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 10971 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
|
| H A D | SemaDecl.cpp | 13083 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 13123 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 13259 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 13281 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 13557 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
|
| H A D | SemaOverload.cpp | 370 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() 372 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() 7100 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions() 7101 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
|
| H A D | SemaExprCXX.cpp | 1111 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnCXXNew() 1282 assert(Context.getTargetInfo().getIntWidth() && "Builtin type of size 0?"); in BuildCXXNew()
|
| H A D | TreeTransform.h | 10373 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType() 10445 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2079 unsigned getIntWidth(QualType T) const; 2103 llvm::APSInt Res(getIntWidth(Type), in MakeIntValue()
|
| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenModule.cpp | 107 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
|
| H A D | CGExprScalar.cpp | 642 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
|
| H A D | TargetInfo.cpp | 5835 CGF.getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
|