Home
last modified time | relevance | path

Searched refs:getIntWidth (Results 1 – 25 of 39) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/clang/lib/AST/Interp/
H A DContext.cpp71 switch (Ctx.getIntWidth(T)) { in classify()
86 switch (Ctx.getIntWidth(T)) { in classify()
H A DByteCodeExprGen.h91 unsigned getIntWidth(QualType Ty) { in getIntWidth() function
93 return ASTContext.getIntWidth(Ty); in getIntWidth()
200 unsigned NumBits = getIntWidth(Ty); in emitConst()
H A DByteCodeExprGen.cpp136 return emitConst(*T, getIntWidth(LitTy), LE->getValue(), LE); in VisitIntegerLiteral()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DTargetInfo.cpp199 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix()
203 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix()
241 case UnsignedInt: return getIntWidth(); in getTypeWidth()
255 if (getIntWidth() == BitWidth) in getIntTypeByWidth()
270 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp152 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision()
166 unsigned CorrectedSrcWidth = AC.getIntWidth(SubType); in isLossOfPrecision()
H A DUndefResultChecker.cpp63 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType())); in isShiftOverflow()
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp855 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
861 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
887 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
965 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
968 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
984 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
990 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h151 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType()
233 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/
H A DNVPTX.cpp116 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
H A DMips.cpp186 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp684 const unsigned BitWidth = Context.getIntWidth(CastTy); in evalCastSubKind()
763 const unsigned BitWidth = Context.getIntWidth(CastTy); in evalCastSubKind()
941 const unsigned CastSize = Context.getIntWidth(CastTy); in evalCastSubKind()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DMicrosoftCXXABI.cpp271 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
H A DASTContext.cpp2049 Width = Target->getIntWidth(); in getTypeInfoImpl()
6330 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
6335 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
6338 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
6341 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
6344 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
6347 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
6350 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
6450 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType()
6451 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType()
[all …]
H A DExprConstant.cpp2526 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
2611 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast()
2983 APSInt EltResult{Info.Ctx.getIntWidth(EltTy), in handleVectorVectorBinOp()
7023 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit()
8931 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument()
10801 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
10899 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
10909 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
12455 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp()
13263 Info.Ctx.getIntWidth(DestType), in VisitCastExpr()
[all …]
H A DExpr.cpp885 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
2249 llvm::APSInt IntVal(Ctx.getIntWidth(Ctx.UnsignedIntTy), in EvaluateInContext()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp152 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1297 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1298 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1406 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
H A DPPExpressions.cpp386 NumBits = TI.getIntWidth(); in EvaluateValue()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DTargetInfo.h451 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2798 unsigned getIntWidth(QualType T) const;
2837 unsigned Width = getIntWidth(Type); in MakeIntValue()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaChecking.cpp242 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in SemaBuiltinAlignment()
336 S.getASTContext().getIntWidth(Ty) > 128) in SemaBuiltinOverflow()
3384 unsigned Width = Context.getIntWidth(EltTy); in CheckPPCBuiltinFunctionCall()
10974 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType()
10994 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
11020 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
11318 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange()
11354 unsigned opWidth = C.getIntWidth(T); in GetExprRange()
11872 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison()
12123 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingImpCast()
[all …]
H A DSemaExpr.cpp1283 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion()
1916 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral()
3617 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant()
3787 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant()
3962 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant()
9882 if (Order < 0 && S.Context.getIntWidth(OtherIntTy) < NumBits) in canConvertIntToOtherIntTy()
9889 NumBits > S.Context.getIntWidth(OtherIntTy)); in canConvertIntToOtherIntTy()
9919 llvm::APSInt ConvertBack(S.Context.getIntWidth(IntTy), in canConvertIntTyToFloatTy()
10943 LeftSize = S.Context.getIntWidth(LHSExprType); in DiagnoseBadShiftValues()
14762 return Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType()
[all …]
H A DSemaStmt.cpp1209 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
1217 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt()
1602 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
H A DSemaDecl.cpp16672 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField()
17694 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue()
17735 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant()
17879 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
17901 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
18212 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
18274 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1293 unsigned type_width = m_ast.getASTContext().getIntWidth(qual_type); in AddRecordMembers()

12