Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/clang/lib/AST/Interp/
H A DContext.cpp84 switch (Ctx.getIntWidth(T)) { in classify()
99 switch (Ctx.getIntWidth(T)) { in classify()
/openbsd-src/gnu/llvm/clang/lib/Basic/
H A DTargetInfo.cpp233 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix()
237 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix()
275 case UnsignedInt: return getIntWidth(); in getTypeWidth()
289 if (getIntWidth() == BitWidth) in getIntTypeByWidth()
304 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
/openbsd-src/gnu/llvm/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h156 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()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/
H A DConversionChecker.cpp163 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision()
177 unsigned CorrectedSrcWidth = AC.getIntWidth(SubType); in isLossOfPrecision()
H A DUndefResultChecker.cpp63 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType())); in isShiftOverflow()
/openbsd-src/gnu/llvm/clang/lib/Frontend/
H A DInitPreprocessor.cpp952 TI.getIntWidth() == 32) { in InitializePredefinedMacros()
958 TI.getIntWidth() == 32) { in InitializePredefinedMacros()
969 Builder.defineMacro("__INT_WIDTH__", Twine(TI.getIntWidth())); in InitializePredefinedMacros()
998 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
1078 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
1081 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
1097 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
1103 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
/openbsd-src/gnu/llvm/clang/lib/Sema/
H A DHLSLExternalSemaSource.cpp148 llvm::APInt(AST.getIntWidth(AST.UnsignedCharTy), in emitResourceClassExpr()
431 IntegerLiteral::Create(AST, llvm::APInt(AST.getIntWidth(AST.IntTy), 4), in defineHLSLVectorAlias()
H A DSemaChecking.cpp319 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in SemaBuiltinAlignment()
413 S.getASTContext().getIntWidth(Ty) > 128) in SemaBuiltinOverflow()
606 llvm::APInt BitWidth(S.Context.getIntWidth(SizeT), in dumpRecordValue()
12336 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType()
12356 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
12382 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
12680 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange()
12716 unsigned opWidth = C.getIntWidth(T); in GetExprRange()
12757 return GetExprRange(C, E, C.getIntWidth(GetExprType(E)), InConstantContext, in GetExprRange()
13236 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison()
[all …]
H A DSemaExpr.cpp1312 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion()
1954 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral()
1974 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral()
3683 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant()
3854 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant()
4063 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant()
10501 if (Order < 0 && S.Context.getIntWidth(OtherIntTy) < NumBits) in canConvertIntToOtherIntTy()
10508 NumBits > S.Context.getIntWidth(OtherIntTy)); in canConvertIntToOtherIntTy()
10538 llvm::APSInt ConvertBack(S.Context.getIntWidth(IntTy), in canConvertIntTyToFloatTy()
11694 LeftSize = S.Context.getIntWidth(LHSExprType); in DiagnoseBadShiftValues()
[all …]
H A DSemaStmt.cpp1246 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
1254 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt()
1639 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
H A DSemaDecl.cpp17784 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField()
19053 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue()
19094 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant()
19239 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
19261 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
19572 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
19637 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
/openbsd-src/gnu/llvm/clang/lib/Basic/Targets/
H A DNVPTX.cpp104 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
H A DMips.cpp186 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
/openbsd-src/gnu/llvm/clang/lib/AST/
H A DMicrosoftCXXABI.cpp307 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
H A DASTContext.cpp2080 Width = Target->getIntWidth(); in getTypeInfoImpl()
7049 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
7054 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
7057 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
7060 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
7063 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
7066 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
7069 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
7183 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType()
7184 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType()
[all …]
H A DExprConstant.cpp2549 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
2630 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast()
3002 APSInt EltResult{Info.Ctx.getIntWidth(EltTy), in handleVectorVectorBinOp()
7109 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit()
9081 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument()
10577 APSInt EltResult{Ctx.getIntWidth(ResultTy), in handleVectorUnaryOperator()
10979 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
10991 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
11132 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
11230 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
[all …]
H A DExpr.cpp976 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
2298 llvm::APSInt IntVal(Ctx.getIntWidth(Ctx.UnsignedIntTy), in EvaluateInContext()
2334 llvm::APSInt IntVal(Ctx.getIntWidth(Ty), in EvaluateInContext()
2340 llvm::APSInt IntVal(Ctx.getIntWidth(Ty), in EvaluateInContext()
H A DDeclCXX.cpp3382 Ctx.getIntWidth(T) == N; in isValidStructGUID()
/openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp694 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitLocGotoLabel()
761 const unsigned BitWidth = Context.getIntWidth(CastTy); in VisitLocMemRegionVal()
938 const unsigned CastSize = Context.getIntWidth(CastTy); in VisitNonLocLocAsInteger()
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DLiteralSupport.cpp1642 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1643 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1751 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
H A DPPExpressions.cpp396 NumBits = TI.getIntWidth(); in EvaluateValue()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/NativePDB/
H A DUdtRecordCompleter.cpp181 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DTargetInfo.h478 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/openbsd-src/gnu/llvm/clang/include/clang/AST/
H A DASTContext.h2917 unsigned getIntWidth(QualType T) const;
2956 unsigned Width = getIntWidth(Type); in MakeIntValue()
/openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/PDB/
H A DPDBASTParser.cpp1304 unsigned type_width = m_ast.getASTContext().getIntWidth(qual_type); in AddRecordMembers()

12