| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 180 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 184 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 222 case UnsignedInt: return getIntWidth(); in getTypeWidth() 236 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 251 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ConversionChecker.cpp | 153 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision() 167 unsigned CorrectedSrcWidth = AC.getIntWidth(SubType); in isLossOfPrecision()
|
| H A D | UndefResultChecker.cpp | 63 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType())); in isShiftOverflow()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 753 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 759 && TI.getIntWidth() == 32) { in InitializePredefinedMacros() 785 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 862 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 865 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 881 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 887 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 144 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType() 214 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 236 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
|
| H A D | ASTContext.cpp | 1857 Width = Target->getIntWidth(); in getTypeInfoImpl() 5621 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 5626 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 5629 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 5632 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 5635 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 5638 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 5641 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 5741 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() 5742 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() [all …]
|
| H A D | ExprConstant.cpp | 2077 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 2104 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 7356 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 7368 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 7497 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 7508 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 7591 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 7601 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 9010 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp() 9525 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator() [all …]
|
| H A D | Expr.cpp | 786 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 109 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
|
| H A D | Mips.cpp | 187 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1254 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1255 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1363 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
| H A D | PPExpressions.cpp | 359 NumBits = TI.getIntWidth(); in EvaluateValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/StaticAnalyzer/Core/ |
| H A D | SimpleSValBuilder.cpp | 84 unsigned castSize = Context.getIntWidth(castTy); in evalCastFromNonLoc() 176 unsigned BitWidth = Context.getIntWidth(castTy); in evalCastFromLoc()
|
| H A D | ExprEngine.cpp | 2311 assert(V1.getBitWidth() == getContext().getIntWidth(CondE->getType())); in processSwitch()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 384 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2613 unsigned getIntWidth(QualType T) const; 2638 unsigned Width = getIntWidth(Type); in MakeIntValue()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaExpr.cpp | 1171 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 1648 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 1659 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3198 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 3366 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 3514 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 8533 if (Order < 0 && S.Context.getIntWidth(OtherIntTy) < NumBits) in canConvertIntToOtherIntTy() 8540 NumBits > S.Context.getIntWidth(OtherIntTy)); in canConvertIntToOtherIntTy() 8570 llvm::APSInt ConvertBack(S.Context.getIntWidth(IntTy), in canConvertIntTyToFloatTy() 12868 return Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType() [all …]
|
| H A D | SemaStmt.cpp | 857 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt() 865 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt() 1247 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
|
| H A D | SemaChecking.cpp | 9559 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType() 9576 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 9599 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 9817 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 9840 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 9891 return GetExprRange(C, E, C.getIntWidth(GetExprType(E))); in GetExprRange() 10305 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 10527 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingImpCast() 11057 if (TargetRange.Width == 32 && S.Context.getIntWidth(E->getType()) == 64) in CheckImplicitConversion()
|
| H A D | SemaDecl.cpp | 15140 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField() 16176 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 16217 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 16355 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 16377 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 16686 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody() 16748 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
|
| H A D | SemaExprCXX.cpp | 1701 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnCXXNew() 1927 assert(Context.getTargetInfo().getIntWidth() && "Builtin type of size 0?"); in BuildCXXNew()
|
| H A D | SemaTemplateDeduction.cpp | 3727 llvm::APInt Size(S.Context.getIntWidth(T), ILE->getNumInits()); in DeduceFromInitializerList()
|
| H A D | SemaOverload.cpp | 411 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind() 413 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CGExprScalar.cpp | 875 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
|