| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
| H A D | BasicValueFactory.h | 157 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType() 161 return APSIntType(Ctx.getIntWidth(T), T->isUnsignedFixedPointType()); in getAPSIntType() 228 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/ |
| H A D | TargetInfo.cpp | 259 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 263 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 301 case UnsignedInt: return getIntWidth(); in getTypeWidth() 315 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 330 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
| /freebsd/contrib/llvm-project/clang/lib/Frontend/ |
| H A D | InitPreprocessor.cpp | 1100 TI.getIntWidth() == 32) { in InitializePredefinedMacros() 1106 TI.getIntWidth() == 32) { in InitializePredefinedMacros() 1125 Builder.defineMacro("__INT_WIDTH__", Twine(TI.getIntWidth())); in InitializePredefinedMacros() 1154 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 1282 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 1285 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 1301 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 1307 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Context.cpp | 26 this->IntWidth = Ctx.getTargetInfo().getIntWidth(); in Context() 296 return integralTypeToPrimTypeS(Ctx.getIntWidth(T)); in classify() 298 return integralTypeToPrimTypeU(Ctx.getIntWidth(T)); in classify()
|
| H A D | Context.h | 76 uint32_t getBitWidth(QualType T) const { return Ctx.getIntWidth(T); } in getBitWidth()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | BitwiseShiftChecker.cpp | 166 const unsigned LHSBitWidth = Ctx.getASTContext().getIntWidth(LHSTy); in checkOvershift() 238 const unsigned LeftBitWidth = Ctx.getASTContext().getIntWidth(LHSTy); in checkLeftShiftOverflow()
|
| H A D | BuiltinFunctionChecker.cpp | 40 unsigned BitWidth = ACtx.getIntWidth(T); in getSufficientTypeForOverflowOp() 152 unsigned BitWidth = C.getASTContext().getIntWidth(Res); in checkOverflow()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenOpenACC.cpp | 46 &getMLIRContext(), getContext().getIntWidth(intExpr->getType()), in emitOpenACCIntExpr()
|
| H A D | CIRGenStmtOpenACC.cpp | 195 &getMLIRContext(), getContext().getIntWidth(intExpr->getType()), in emitOpenACCWaitConstruct()
|
| /freebsd/contrib/llvm-project/clang/lib/Basic/Targets/ |
| H A D | NVPTX.cpp | 115 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
|
| H A D | Mips.cpp | 198 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
| H A D | SPIR.h | 123 IntWidth = HostTarget->getIntWidth(); in BaseSPIRTargetInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
| H A D | SValBuilder.cpp | 700 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitGotoLabel() 767 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitMemRegionVal() 944 const unsigned CastSize = Context.getIntWidth(CastTy); in VisitLocAsInteger()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | HLSLExternalSemaSource.cpp | 87 llvm::APInt Val(AST.getIntWidth(AST.IntTy), 4); in defineHLSLVectorAlias()
|
| H A D | SemaChecking.cpp | 349 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in BuiltinAlignment() 470 S.getASTContext().getIntWidth(Ty) > 128) in BuiltinOverflow() 663 llvm::APInt BitWidth(S.Context.getIntWidth(SizeT), in dumpRecordValue() 10473 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType() 10493 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 10519 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 10835 unsigned opWidth = C.getIntWidth(GetExprType(E)); in TryGetExprRange() 10876 unsigned opWidth = C.getIntWidth(T); in TryGetExprRange() 10964 return TryGetExprRange(C, E, C.getIntWidth(GetExprType(E)), InConstantContext, in TryGetExprRange() 11447 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() [all …]
|
| H A D | SemaTemplateVariadic.cpp | 1226 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr()
|
| H A D | SemaHLSL.cpp | 932 if (Ctx.getIntWidth(LElTy) != Ctx.getIntWidth(RElTy)) { in handleIntegerVectorBinOpConversion() 4053 llvm::APInt IDVal(Context.getIntWidth(Context.IntTy), ConstantID); in handleInitialization()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | Mips.cpp | 378 getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
|
| /freebsd/contrib/llvm-project/clang/lib/Lex/ |
| H A D | LiteralSupport.cpp | 1792 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1793 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1902 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
|
| H A D | PPExpressions.cpp | 398 NumBits = TI.getIntWidth(); in EvaluateValue()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
| H A D | UdtRecordCompleter.cpp | 184 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ASTContext.cpp | 2201 Width = Target->getIntWidth(); in getTypeInfoImpl() 5375 unsigned IntWidth = Target->getIntWidth(); in computeBestEnumTypes() 5453 unsigned BitWidth = getIntWidth(T); in isRepresentableIntegerValue() 8100 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 8105 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 8108 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 8111 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 8114 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 8117 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 8120 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() [all …]
|
| H A D | ExprConstant.cpp | 2785 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 2870 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 3213 APSInt EltResult{Info.Ctx.getIntWidth(EltTy), in handleVectorVectorBinOp() 7650 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit() 9897 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument() 11404 APSInt EltResult{Ctx.getIntWidth(ResultTy), in handleVectorUnaryOperator() 11511 APSInt(APInt(Info.Ctx.getIntWidth(DestEltTy), Elt.popcount()), in VisitCallExpr() 12049 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 12061 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 12220 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TargetInfo.h | 530 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | ASTContext.h | 3247 unsigned getIntWidth(QualType T) const; 3290 unsigned Width = getIntWidth(Type); in MakeIntValue()
|