/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | MisplacedWideningCastCheck.cpp | 87 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()
|
D | TooSmallLoopVariableCheck.cpp | 104 ? Context.getIntWidth(IntExprType) in calcMagnitudeBits() 105 : Context.getIntWidth(IntExprType) - 1; in calcMagnitudeBits()
|
/external/clang/lib/Basic/ |
D | TargetInfo.cpp | 137 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/ |
D | Context.cpp | 71 switch (Ctx.getIntWidth(T)) { in classify() 86 switch (Ctx.getIntWidth(T)) { in classify()
|
D | ByteCodeExprGen.h | 91 unsigned getIntWidth(QualType Ty) { in getIntWidth() function 93 return ASTContext.getIntWidth(Ty); in getIntWidth() 200 unsigned NumBits = getIntWidth(Ty); in emitConst()
|
D | ByteCodeExprGen.cpp | 136 return emitConst(*T, getIntWidth(LitTy), LE->getValue(), LE); in VisitIntegerLiteral()
|
/external/llvm-project/clang/lib/Basic/ |
D | TargetInfo.cpp | 191 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/ |
D | ConversionChecker.cpp | 152 RepresentsUntilExp = AC.getIntWidth(DestType); in isLossOfPrecision() 166 unsigned CorrectedSrcWidth = AC.getIntWidth(SubType); in isLossOfPrecision()
|
D | UndefResultChecker.cpp | 63 B->getRHS(), C.getASTContext().getIntWidth(B->getLHS()->getType())); in isShiftOverflow()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 667 && 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/ |
D | InitPreprocessor.cpp | 805 && 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/ |
D | BasicValueFactory.h | 143 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/ |
D | PopulateSwitch.cpp | 137 unsigned EnumIntWidth = Ctx.getIntWidth(QualType(EnumT, 0)); in REGISTER_TWEAK()
|
/external/llvm-project/clang/lib/AST/ |
D | MicrosoftCXXABI.cpp | 241 unsigned IntSize = Target.getIntWidth(); in getMemberPointerInfo()
|
D | ASTContext.cpp | 2003 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/ |
D | MicrosoftCXXABI.cpp | 247 unsigned IntSize = Target.getIntWidth(); in getMemberPointerWidthAndAlign()
|
D | ASTContext.cpp | 1626 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/ |
D | NVPTX.cpp | 114 IntWidth = HostTarget->getIntWidth(); in NVPTXTargetInfo()
|
D | Mips.cpp | 186 Builder.defineMacro("_MIPS_SZINT", Twine(getIntWidth())); in getTargetDefines()
|
/external/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1068 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/ |
D | UdtRecordCompleter.cpp | 152 unsigned type_width = decl->getASTContext().getIntWidth(qual_type); in visitKnownMember()
|
/external/llvm-project/clang/lib/Lex/ |
D | LiteralSupport.cpp | 1277 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/ |
D | TargetInfo.h | 316 unsigned getIntWidth() const { return IntWidth; } in getIntWidth() function
|
/external/llvm-project/clang-tools-extra/clang-tidy/cppcoreguidelines/ |
D | NarrowingConversionsCheck.cpp | 306 unsigned DestWidth = Context.getIntWidth(DestType); in handleFloatingToIntegral()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | SimpleSValBuilder.cpp | 83 unsigned castSize = Context.getIntWidth(castTy); in evalCastFromNonLoc() 175 unsigned BitWidth = Context.getIntWidth(castTy); in evalCastFromLoc()
|