Home
last modified time | relevance | path

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

12

/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/lib/Frontend/
H A DInitPreprocessor.cpp853 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
859 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
885 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
963 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
966 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
982 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
988 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
/netbsd/external/apache2/llvm/dist/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DBasicValueFactory.h149 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType()
231 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
/netbsd/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Core/
H A DSValBuilder.cpp670 const unsigned BitWidth = Context.getIntWidth(CastTy); in evalCastSubKind()
735 const unsigned BitWidth = Context.getIntWidth(CastTy); in evalCastSubKind()
913 const unsigned CastSize = Context.getIntWidth(CastTy); in evalCastSubKind()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/lib/AST/
H A DMicrosoftCXXABI.cpp271 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
H A DASTContext.cpp2034 Width = Target->getIntWidth(); in getTypeInfoImpl()
6311 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
6316 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
6319 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
6322 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
6325 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
6328 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
6331 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
6431 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType()
6432 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()
7020 unsigned IntWidth = Info.Ctx.getIntWidth(QualType(T, 0)); in visit()
8908 unsigned SrcWidth = Info.Ctx.getIntWidth(ForType); in getAlignmentArgument()
10766 assert(V.getWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
10864 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
10874 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
12420 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp()
13228 Info.Ctx.getIntWidth(DestType), in VisitCastExpr()
[all …]
H A DExpr.cpp819 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
2177 llvm::APSInt IntVal(Ctx.getIntWidth(Ctx.UnsignedIntTy), in EvaluateInContext()
H A DDeclCXX.cpp3289 Ctx.getIntWidth(T) == N; in isValidStructGUID()
/netbsd/external/apache2/llvm/dist/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()
/netbsd/external/apache2/llvm/dist/clang/include/clang/Basic/
H A DTargetInfo.h451 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/netbsd/external/apache2/llvm/dist/clang/include/clang/AST/
H A DASTContext.h2747 unsigned getIntWidth(QualType T) const;
2786 unsigned Width = getIntWidth(Type); in MakeIntValue()
/netbsd/external/apache2/llvm/dist/clang/lib/Sema/
H A DSemaChecking.cpp242 unsigned MaxAlignmentBits = S.Context.getIntWidth(SrcTy) - 1; in SemaBuiltinAlignment()
336 S.getASTContext().getIntWidth(Ty) > 128) in SemaBuiltinOverflow()
3322 unsigned Width = Context.getIntWidth(EltTy); in CheckPPCBuiltinFunctionCall()
10701 return IntRange(C.getIntWidth(QualType(T, 0)), in forValueOfCanonicalType()
10721 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
10747 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
11045 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange()
11081 unsigned opWidth = C.getIntWidth(T); in GetExprRange()
11599 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison()
11850 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingImpCast()
[all …]
H A DSemaExpr.cpp1268 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion()
1906 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral()
3584 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant()
3754 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant()
3929 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant()
9818 if (Order < 0 && S.Context.getIntWidth(OtherIntTy) < NumBits) in canConvertIntToOtherIntTy()
9825 NumBits > S.Context.getIntWidth(OtherIntTy)); in canConvertIntToOtherIntTy()
9855 llvm::APSInt ConvertBack(S.Context.getIntWidth(IntTy), in canConvertIntTyToFloatTy()
10854 LeftSize = S.Context.getIntWidth(LHSExprType); in DiagnoseBadShiftValues()
14641 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()
1601 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
H A DSemaDecl.cpp16612 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField()
17637 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue()
17678 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant()
17822 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
17844 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
18155 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
18217 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
/netbsd/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenModule.cpp128 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
6024 F->getReturnType()->isIntegerTy(Context.getTargetInfo().getIntWidth())) in EmitMainVoidAlias()

12