| /NextBSD/contrib/llvm/tools/clang/lib/Basic/ |
| HD | TargetInfo.cpp | 133 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 136 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 173 case UnsignedInt: return getIntWidth(); in getTypeWidth() 187 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 202 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
| HD | Targets.cpp | 6197 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Frontend/ |
| HD | InitPreprocessor.cpp | 625 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 631 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 656 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 732 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 735 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 751 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 757 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
| /NextBSD/contrib/llvm/tools/clang/lib/AST/ |
| HD | MicrosoftCXXABI.cpp | 224 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign()
|
| HD | ASTContext.cpp | 1582 Width = Target->getIntWidth(); in getTypeInfoImpl() 1628 Width = Target->getIntWidth(); in getTypeInfoImpl() 4577 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 4582 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 4585 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 4588 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 4591 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 4594 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 4597 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 4688 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() [all …]
|
| HD | ExprConstant.cpp | 1504 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 1531 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 2763 Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType() 5887 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 5899 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 6045 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 6055 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 6787 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp() 7064 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator() 8957 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
|
| HD | Expr.cpp | 720 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
|
| /NextBSD/contrib/llvm/tools/clang/lib/Lex/ |
| HD | LiteralSupport.cpp | 1058 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1059 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1167 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
| HD | PPExpressions.cpp | 292 NumBits = TI.getIntWidth(); in EvaluateValue()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/Basic/ |
| HD | TargetInfo.h | 300 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
| /NextBSD/contrib/llvm/tools/clang/lib/Sema/ |
| HD | SemaChecking.cpp | 5930 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType() 5945 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 5968 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 6181 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 6204 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 6255 return GetExprRange(C, E, C.getIntWidth(GetExprType(E))); in GetExprRange() 6433 if (S.Context.getIntWidth(ConstantT) == in DiagnoseOutOfRangeComparison() 6434 S.Context.getIntWidth(CommonT) && in DiagnoseOutOfRangeComparison() 6653 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 6775 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingLiteralImpCast() [all …]
|
| HD | SemaStmt.cpp | 775 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt() 783 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt() 1181 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
|
| HD | SemaExpr.cpp | 1170 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 1610 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 1621 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3137 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 3301 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 3404 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 11584 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
|
| HD | SemaDecl.cpp | 13472 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 13512 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 13648 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 13670 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 14009 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody() 14069 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
|
| HD | SemaOverload.cpp | 376 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() 378 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind() 7133 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions() 7134 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
|
| HD | SemaExprCXX.cpp | 1195 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnCXXNew() 1366 assert(Context.getTargetInfo().getIntWidth() && "Builtin type of size 0?"); in BuildCXXNew()
|
| HD | TreeTransform.h | 10698 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType() 10770 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
|
| /NextBSD/contrib/llvm/tools/clang/include/clang/AST/ |
| HD | ASTContext.h | 2183 unsigned getIntWidth(QualType T) const; 2207 llvm::APSInt Res(getIntWidth(Type), in MakeIntValue()
|
| /NextBSD/contrib/llvm/tools/clang/lib/CodeGen/ |
| HD | CodeGenModule.cpp | 110 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
|
| HD | CGExprScalar.cpp | 642 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
|
| HD | TargetInfo.cpp | 5868 CGF.getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
|