| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 235 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 239 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 277 case UnsignedInt: return getIntWidth(); in getTypeWidth() 291 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 306 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 156 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType() 160 return APSIntType(Ctx.getIntWidth(T), T->isUnsignedFixedPointType()); in getAPSIntType() 236 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | ConversionChecker.cpp | 159 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision() 173 unsigned CorrectedSrcWidth = AC.getIntWidth(SubType); in isLossOfPrecision()
|
| H A D | BitwiseShiftChecker.cpp | 168 const unsigned LHSBitWidth = Ctx.getASTContext().getIntWidth(LHSTy); in checkOvershift() 239 const unsigned LeftBitWidth = Ctx.getASTContext().getIntWidth(LHSTy); in checkLeftShiftOverflow()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/ |
| H A D | Context.cpp | 143 switch (Ctx.getIntWidth(T)) { in classify() 158 switch (Ctx.getIntWidth(T)) { in classify()
|
| H A D | Context.h | 71 uint32_t getBitWidth(QualType T) const { return Ctx.getIntWidth(T); } in getBitWidth()
|
| H A D | InterpBuiltin.cpp | 28 unsigned IntWidth = TI.getIntWidth(); in getIntPrimType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1001 TI.getIntWidth() == 32) { in InitializePredefinedMacros() 1007 TI.getIntWidth() == 32) { in InitializePredefinedMacros() 1018 Builder.defineMacro("__INT_WIDTH__", Twine(TI.getIntWidth())); in InitializePredefinedMacros() 1047 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 1127 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 1130 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 1146 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 1152 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | Mips.cpp | 190 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
| H A D | NVPTX.cpp | 106 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
|
| H A D | SPIR.h | 116 IntWidth = HostTarget->getIntWidth(); in BaseSPIRTargetInfo()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 146 llvm::APInt(AST.getIntWidth(AST.UnsignedCharTy), in emitResourceClassExpr() 435 IntegerLiteral::Create(AST, llvm::APInt(AST.getIntWidth(AST.IntTy), 4), in defineHLSLVectorAlias()
|
| H A D | SemaChecking.cpp | 321 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in SemaBuiltinAlignment() 443 S.getASTContext().getIntWidth(Ty) > 128) in SemaBuiltinOverflow() 636 llvm::APInt BitWidth(S.Context.getIntWidth(SizeT), in dumpRecordValue() 14077 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType() 14097 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 14123 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 14420 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 14456 unsigned opWidth = C.getIntWidth(T); in GetExprRange() 14977 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() 15234 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingImpCast() [all …]
|
| H A D | SemaExpr.cpp | 1332 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 2172 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3860 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 4031 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 4240 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 10907 if (Order < 0 && S.Context.getIntWidth(OtherIntTy) < NumBits) in canConvertIntToOtherIntTy() 10914 NumBits > S.Context.getIntWidth(OtherIntTy)); in canConvertIntToOtherIntTy() 10944 llvm::APSInt ConvertBack(S.Context.getIntWidth(IntTy), in canConvertIntTyToFloatTy() 12128 LeftSize = S.Context.getIntWidth(LHSExprType); in DiagnoseBadShiftValues() 16278 return Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | MicrosoftCXXABI.cpp | 305 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
|
| H A D | ASTContext.cpp | 2010 Width = Target->getIntWidth(); in getTypeInfoImpl() 7056 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 7061 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 7064 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 7067 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 7070 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 7073 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 7076 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 7190 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() 7191 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() [all …]
|
| H A D | ExprConstant.cpp | 2636 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 2717 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 3043 APSInt EltResult{Info.Ctx.getIntWidth(EltTy), in handleVectorVectorBinOp() 7275 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit() 9373 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument() 10852 APSInt EltResult{Ctx.getIntWidth(ResultTy), in handleVectorUnaryOperator() 11420 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 11518 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() 13090 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp() 13958 Info.Ctx.getIntWidth(DestType), in VisitCastExpr() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 699 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitGotoLabel() 766 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitMemRegionVal() 943 const unsigned CastSize = Context.getIntWidth(CastTy); in VisitLocAsInteger()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | Mips.cpp | 359 getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1714 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1715 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1824 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
| H A D | PPExpressions.cpp | 398 NumBits = TI.getIntWidth(); in EvaluateValue()
|
| /freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | UdtRecordCompleter.cpp | 181 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 500 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 2948 unsigned getIntWidth(QualType T) const; 2987 unsigned Width = getIntWidth(Type); in MakeIntValue()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 1149 unsigned SrcWidth = CGM.getContext().getIntWidth(FromType); in VisitCastExpr() 1150 unsigned DstWidth = CGM.getContext().getIntWidth(destType); in VisitCastExpr()
|