Home
last modified time | relevance | path

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

/external/clang/lib/Basic/
DTargetInfo.cpp137 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix()
140 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix()
177 case UnsignedInt: return getIntWidth(); in getTypeWidth()
191 if (getIntWidth() == BitWidth) in getIntTypeByWidth()
206 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
DTargets.cpp1728 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
7368 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp667 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
673 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
698 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
774 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
777 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
793 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
799 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
/external/clang/lib/AST/
DMicrosoftCXXABI.cpp247 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign()
DASTContext.cpp1626 Width = Target->getIntWidth(); in getTypeInfoImpl()
1676 Width = Target->getIntWidth(); in getTypeInfoImpl()
4695 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
4700 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
4703 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
4706 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
4709 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
4712 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
4715 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
4806 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType()
[all …]
DExprConstant.cpp1660 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
1687 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast()
2952 Ctx.getIntWidth(T) >= Ctx.getIntWidth(Ctx.IntTy); in isOverflowingIntegerType()
6196 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
6208 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
6353 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
6363 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
7406 APSInt Value(Info.Ctx.getIntWidth(E->getType()), in VisitBinOp()
7706 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator()
9637 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
DExpr.cpp714 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
/external/clang/lib/Lex/
DLiteralSupport.cpp1068 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1069 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1177 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
DPPExpressions.cpp346 NumBits = TI.getIntWidth(); in EvaluateValue()
/external/clang/include/clang/Basic/
DTargetInfo.h316 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/external/clang/include/clang/AST/
DASTContext.h2292 unsigned getIntWidth(QualType T) const;
2310 unsigned Width = getIntWidth(Type); in MakeIntValue()
/external/clang/lib/Sema/
DSemaChecking.cpp7007 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType()
7022 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
7045 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
7258 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange()
7281 unsigned opWidth = C.getIntWidth(GetExprType(E)); in GetExprRange()
7332 return GetExprRange(C, E, C.getIntWidth(GetExprType(E))); in GetExprRange()
7509 if (S.Context.getIntWidth(ConstantT) == in DiagnoseOutOfRangeComparison()
7510 S.Context.getIntWidth(CommonT) && in DiagnoseOutOfRangeComparison()
7729 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison()
7870 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingImpCast()
[all …]
DSemaStmt.cpp786 unsigned CondWidth = HasDependentValue ? 0 : Context.getIntWidth(CondType); in ActOnFinishSwitchStmt()
794 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt()
1193 unsigned DstWidth = Context.getIntWidth(DstType); in DiagnoseAssignmentEnum()
DSemaExpr.cpp1237 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion()
1686 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral()
1697 unsigned CharBits = Context.getIntWidth(CharTy); in ActOnStringLiteral()
3178 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant()
3342 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant()
3442 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant()
12324 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
DSemaDecl.cpp13289 uint64_t TypeWidth = Context.getIntWidth(FieldTy); in VerifyBitField()
14270 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue()
14310 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant()
14449 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
14471 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
14801 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
14861 BestWidth = Context.getIntWidth(BestType); in ActOnEnumBody()
DSemaOverload.cpp391 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind()
393 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind()
7289 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions()
7290 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
DSemaExprCXX.cpp1437 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnCXXNew()
1608 assert(Context.getTargetInfo().getIntWidth() && "Builtin type of size 0?"); in BuildCXXNew()
DSemaTemplateDeduction.cpp3258 llvm::APInt Size(S.Context.getIntWidth(NTTP->getType()), in DeduceFromInitializerList()
DTreeTransform.h11520 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType()
11592 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp107 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()
DCGExprScalar.cpp640 unsigned Width = CGF.getContext().getIntWidth(DstType); in EmitFloatConversionCheck()
DTargetInfo.cpp6485 getContext().getIntWidth(Ty) < SlotSizeInBits) || in EmitVAArg()