Home
last modified time | relevance | path

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

/external/clang/lib/Frontend/
DInitPreprocessor.cpp461 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
514 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
517 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
/external/clang/lib/Lex/
DLiteralSupport.cpp833 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
834 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
940 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
DPPExpressions.cpp277 NumBits = TI.getIntWidth(); in EvaluateValue()
/external/clang/lib/Basic/
DTargetInfo.cpp137 case UnsignedInt: return getIntWidth(); in getTypeWidth()
DTargets.cpp3486 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getArchDefines()
/external/clang/include/clang/Basic/
DTargetInfo.h209 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/external/clang/lib/AST/
DASTContext.cpp927 Width = Target->getIntWidth(); in getTypeInfoImpl()
3614 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
3619 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
3622 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
3625 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
3628 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
3631 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
3634 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
3946 assert(getIntWidth(IntTy) == 32 && "non-32bit int not supported"); in BuildByRefType()
4312 if (BT->getKind() == BuiltinType::ULong && getIntWidth(PointeeTy) == 32) in getLegacyIntegralTypeEncoding()
[all …]
DExprConstant.cpp1173 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleFloatToIntCast()
1200 unsigned DestWidth = Info.Ctx.getIntWidth(DestType); in HandleIntToIntCast()
3981 assert(SI.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
3993 assert(I.getBitWidth() == Info.Ctx.getIntWidth(E->getType()) && in Success()
4149 == Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
4159 Val = Val.extOrTrunc(Info.Ctx.getIntWidth(E->getType())); in CheckReferencedDecl()
5031 APSInt Result = TrueResult.trunc(Info.Ctx.getIntWidth(E->getType())); in VisitBinaryOperator()
6737 unsigned DestWidth = Ctx.getIntWidth(E->getType()); in CheckICE()
/external/clang/lib/Sema/
DSemaChecking.cpp3448 return IntRange(C.getIntWidth(QualType(T, 0)), false); in forValueOfCanonicalType()
3459 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forValueOfCanonicalType()
3480 return IntRange(C.getIntWidth(QualType(T, 0)), BT->isUnsignedInteger()); in forTargetOfCanonicalType()
3686 unsigned opWidth = C.getIntWidth(E->getType()); in GetExprRange()
3709 unsigned opWidth = C.getIntWidth(E->getType()); in GetExprRange()
3761 return GetExprRange(C, E, C.getIntWidth(E->getType())); in GetExprRange()
3919 unsigned comparisonWidth = S.Context.getIntWidth(T); in AnalyzeComparison()
4040 llvm::APSInt IntegerValue(S.Context.getIntWidth(T), in DiagnoseFloatingLiteralImpCast()
4238 if (TargetRange.Width == 32 && S.Context.getIntWidth(E->getType()) == 64) in CheckImplicitConversion()
DSemaExpr.cpp896 } else if (S.Context.getIntWidth(LHSType) != S.Context.getIntWidth(RHSType)) { in handleIntegerConversion()
1260 llvm::APInt Len(Context.getIntWidth(SizeType), Literal.GetNumStringChars()); in ActOnStringLiteral()
2466 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnIntegerConstant()
2601 unsigned CharBits = Context.getIntWidth(Context.CharTy); in ActOnNumericConstant()
2670 unsigned IntSize = Context.getTargetInfo().getIntWidth(); in ActOnNumericConstant()
9231 if (pw == Context.getTargetInfo().getIntWidth()) in ActOnGNUNullExpr()
DSemaDecl.cpp9879 unsigned BitWidth = Context.getIntWidth(T); in isRepresentableIntegerValue()
9919 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in CheckEnumConstant()
10055 EnumVal = EnumVal.zextOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
10077 EnumVal = EnumVal.extOrTrunc(Context.getIntWidth(EltTy)); in CheckEnumConstant()
10176 unsigned IntWidth = Context.getTargetInfo().getIntWidth(); in ActOnEnumBody()
DSemaOverload.cpp386 const unsigned FromWidth = Ctx.getIntWidth(FromType); in getNarrowingKind()
388 const unsigned ToWidth = Ctx.getIntWidth(ToType); in getNarrowingKind()
6453 unsigned LW = S.Context.getIntWidth(LT), in getUsualArithmeticConversions()
6454 RW = S.Context.getIntWidth(RT); in getUsualArithmeticConversions()
DSemaStmt.cpp611 = HasDependentValue ? 0 : Context.getIntWidth(CondTypeBeforePromotion); in ActOnFinishSwitchStmt()
DTreeTransform.h8923 if (Size->getBitWidth() == SemaRef.Context.getIntWidth(Types[I])) { in RebuildArrayType()
8995 llvm::APInt numElements(SemaRef.Context.getIntWidth(SemaRef.Context.IntTy), in RebuildExtVectorType()
/external/clang/include/clang/AST/
DASTContext.h1664 unsigned getIntWidth(QualType T) const;
1690 llvm::APSInt Res(getIntWidth(Type), in MakeIntValue()
DExpr.h1151 assert(V.getBitWidth() == C.getIntWidth(type) && in IntegerLiteral()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp93 IntTy = llvm::IntegerType::get(LLVMContext, C.getTargetInfo().getIntWidth()); in CodeGenModule()