Home
last modified time | relevance | path

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

123

/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/
DMisplacedWideningCastCheck.cpp87 return T->isIntegerType() ? Context.getIntWidth(T) : 1024U; in getMaxCalculationWidth()
92 return Context.getIntWidth(E->getType()); in getMaxCalculationWidth()
203 if (Context.getIntWidth(CastType) < Context.getIntWidth(CalcType)) in check()
209 if (Context.getIntWidth(CastType) == Context.getIntWidth(CalcType)) { in check()
222 if (Context.getIntWidth(CalcType) >= getMaxCalculationWidth(Context, Calc)) in check()
DTooSmallLoopVariableCheck.cpp104 ? Context.getIntWidth(IntExprType) in calcMagnitudeBits()
105 : Context.getIntWidth(IntExprType) - 1; in calcMagnitudeBits()
/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()
/external/llvm-project/clang/lib/AST/Interp/
DContext.cpp71 switch (Ctx.getIntWidth(T)) { in classify()
86 switch (Ctx.getIntWidth(T)) { in classify()
DByteCodeExprGen.h91 unsigned getIntWidth(QualType Ty) { in getIntWidth() function
93 return ASTContext.getIntWidth(Ty); in getIntWidth()
200 unsigned NumBits = getIntWidth(Ty); in emitConst()
DByteCodeExprGen.cpp136 return emitConst(*T, getIntWidth(LitTy), LE->getValue(), LE); in VisitIntegerLiteral()
/external/llvm-project/clang/lib/Basic/
DTargetInfo.cpp191 if (getCharWidth() < getIntWidth()) in getTypeConstantSuffix()
195 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix()
233 case UnsignedInt: return getIntWidth(); in getTypeWidth()
247 if (getIntWidth() == BitWidth) in getIntTypeByWidth()
262 if (getIntWidth() >= BitWidth) in getLeastIntTypeByWidth()
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/
DConversionChecker.cpp152 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision()
166 unsigned CorrectedSrcWidth = AC.getIntWidth(SubType); in isLossOfPrecision()
DUndefResultChecker.cpp63 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType())); in isShiftOverflow()
/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/llvm-project/clang/lib/Frontend/
DInitPreprocessor.cpp805 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
811 && TI.getIntWidth() == 32) { in InitializePredefinedMacros()
837 DefineTypeSizeof("__SIZEOF_INT__", TI.getIntWidth(), TI, Builder); in InitializePredefinedMacros()
915 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
918 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
934 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
940 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
/external/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
DBasicValueFactory.h143 return APSIntType(Ctx.getIntWidth(T), in getAPSIntType()
225 return getValue(b ? 1 : 0, Ctx.getIntWidth(T), in getTruthValue()
/external/llvm-project/clang-tools-extra/clangd/refactor/tweaks/
DPopulateSwitch.cpp137 unsigned EnumIntWidth = Ctx.getIntWidth(QualType(EnumT, 0)); in REGISTER_TWEAK()
/external/llvm-project/clang/lib/AST/
DMicrosoftCXXABI.cpp241 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
DASTContext.cpp2003 Width = Target->getIntWidth(); in getTypeInfoImpl()
6242 return 1 + (getIntWidth(BoolTy) << 3); in getIntegerRank()
6247 return 2 + (getIntWidth(CharTy) << 3); in getIntegerRank()
6250 return 3 + (getIntWidth(ShortTy) << 3); in getIntegerRank()
6253 return 4 + (getIntWidth(IntTy) << 3); in getIntegerRank()
6256 return 5 + (getIntWidth(LongTy) << 3); in getIntegerRank()
6259 return 6 + (getIntWidth(LongLongTy) << 3); in getIntegerRank()
6262 return 7 + (getIntWidth(Int128Ty) << 3); in getIntegerRank()
6362 uint64_t PromotableSize = getIntWidth(Promotable); in getPromotedIntegerType()
6363 uint64_t IntSize = getIntWidth(IntTy); in getPromotedIntegerType()
[all …]
/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 …]
/external/llvm-project/clang/lib/Basic/Targets/
DNVPTX.cpp114 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
DMips.cpp186 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
/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()
/external/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/
DUdtRecordCompleter.cpp152 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
/external/llvm-project/clang/lib/Lex/
DLiteralSupport.cpp1277 assert(PP.getTargetInfo().getIntWidth() <= 64 && in CharLiteralParser()
1278 (PP.getTargetInfo().getIntWidth() & 7) == 0 && in CharLiteralParser()
1386 llvm::APInt LitVal(PP.getTargetInfo().getIntWidth(), 0); in CharLiteralParser()
/external/clang/include/clang/Basic/
DTargetInfo.h316 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/
DNarrowingConversionsCheck.cpp306 unsigned DestWidth = Context.getIntWidth(DestType); in handleFloatingToIntegral()
/external/llvm-project/clang/lib/StaticAnalyzer/Core/
DSimpleSValBuilder.cpp83 unsigned castSize = Context.getIntWidth(castTy); in evalCastFromNonLoc()
175 unsigned BitWidth = Context.getIntWidth(castTy); in evalCastFromLoc()

123