/freebsd/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/contrib/llvm-project/clang/lib/Basic/ |
H A D | TargetInfo.cpp | 236 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix() 240 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix() 278 case UnsignedInt: return getIntWidth(); in getTypeWidth() 292 if (getIntWidth() == BitWidth) in getIntTypeByWidth() 307 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
|
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/ |
H A D | Context.cpp | 136 switch (Ctx.getIntWidth(T)) { in classify() 151 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 | 40 unsigned IntWidth = TI.getIntWidth(); in getIntPrimType() 1001 unsigned SrcWidth = S.getCtx().getIntWidth(Call->getArg(0)->getType()); in interp__builtin_is_aligned_up_down()
|
/freebsd/contrib/llvm-project/clang/lib/Frontend/ |
H A D | InitPreprocessor.cpp | 1091 TI.getIntWidth() == 32) { in InitializePredefinedMacros() 1097 TI.getIntWidth() == 32) { in InitializePredefinedMacros() 1108 Builder.defineMacro("__INT_WIDTH__", Twine(TI.getIntWidth())); in InitializePredefinedMacros() 1137 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros() 1261 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros() 1264 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros() 1280 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros() 1286 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
|
/freebsd/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 | 110 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
|
H A D | SPIR.h | 116 IntWidth = HostTarget->getIntWidth(); in BaseSPIRTargetInfo()
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | HLSLExternalSemaSource.cpp | 151 llvm::APInt(AST.getIntWidth(AST.UnsignedCharTy), in emitResourceClassExpr() 446 llvm::APInt Val(AST.getIntWidth(AST.IntTy), 4); in defineHLSLVectorAlias()
|
H A D | SemaChecking.cpp | 351 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in BuiltinAlignment() 472 S.getASTContext().getIntWidth(Ty) > 128) in BuiltinOverflow() 665 llvm::APInt BitWidth(S.Context.getIntWidth(SizeT), in dumpRecordValue() 9304 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType() 9324 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType() 9350 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType() 9647 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange() 9683 unsigned opWidth = C.getIntWidth(T); in GetExprRange() 9724 return GetExprRange(C, E, C.getIntWidth(GetExprType(E)), InConstantContext, in GetExprRange() 10204 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison() [all …]
|
H A D | SemaTemplateVariadic.cpp | 1104 llvm::APSInt Value(Context.getIntWidth(Context.getSizeType())); in BuildPackIndexingExpr()
|
H A D | SemaExpr.cpp | 1316 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion() 2139 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral() 2159 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral() 3579 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant() 3757 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant() 3980 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant() 9909 if (Order < 0 && S.Context.getIntWidth(OtherIntTy) < NumBits) in canConvertIntToOtherIntTy() 9916 NumBits > S.Context.getIntWidth(OtherIntTy)); in canConvertIntToOtherIntTy() 9946 llvm::APSInt ConvertBack(S.Context.getIntWidth(IntTy), in canConvertIntTyToFloatTy() 11147 LeftSize = S.Context.getIntWidth(LHSExprType); in DiagnoseBadShiftValues() [all …]
|
H A D | SemaStmt.cpp | 1277 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt() 1285 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt() 1674 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
|
H A D | SemaDecl.cpp | 18193 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField() 19336 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue() 19377 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant() 19522 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 19545 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant() 19859 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody() 19924 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
H A D | Mips.cpp | 359 getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()
|
/freebsd/contrib/llvm-project/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 1752 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser() 1753 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser() 1862 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 | 2043 Width = Target->getIntWidth(); in getTypeInfoImpl() 7504 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank() 7509 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank() 7512 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank() 7515 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank() 7518 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank() 7521 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank() 7524 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank() 7646 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType() 7647 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType() [all …]
|
H A D | ExprConstant.cpp | 2643 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast() 2728 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast() 3071 APSInt EltResult{Info.Ctx.getIntWidth(EltTy), in handleVectorVectorBinOp() 7336 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit() 9474 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument() 10945 APSInt EltResult{Ctx.getIntWidth(ResultTy), in handleVectorUnaryOperator() 11517 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 11529 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 11670 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success() 11772 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl() [all …]
|
/freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | TargetInfo.h | 509 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
/freebsd/contrib/llvm-project/clang/include/clang/AST/ |
H A D | ASTContext.h | 3037 unsigned getIntWidth(QualType T) const; 3080 unsigned Width = getIntWidth(Type); in MakeIntValue()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 1088 unsigned SrcWidth = CGM.getContext().getIntWidth(FromType); in ProduceIntToIntCast() 1089 unsigned DstWidth = CGM.getContext().getIntWidth(DestType); in ProduceIntToIntCast()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/ |
H A D | PDBASTParser.cpp | 1311 unsigned type_width = m_ast.getASTContext().getIntWidth(qual_type); in AddRecordMembers()
|