Home
last modified time | relevance | path

Searched refs:getShortWidth (Results 1 – 6 of 6) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DIntegerTypesCheck.cpp100 Width = TargetInfo.getShortWidth(); in check()
112 Width = TargetInfo.getShortWidth(); in check()
/llvm-project-15.0.7/clang/lib/Basic/
H A DTargetInfo.cpp212 if (getShortWidth() < getIntWidth()) in getTypeConstantSuffix()
248 case UnsignedShort: return getShortWidth(); in getTypeWidth()
262 if (getShortWidth() == BitWidth) in getIntTypeByWidth()
277 if (getShortWidth() >= BitWidth) in getLeastIntTypeByWidth()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp956 Builder.defineMacro("__SHRT_WIDTH__", Twine(TI.getShortWidth())); in InitializePredefinedMacros()
990 DefineTypeSizeof("__SIZEOF_SHORT__", TI.getShortWidth(), TI, Builder); in InitializePredefinedMacros()
1060 if (TI.getShortWidth() > TI.getCharWidth()) in InitializePredefinedMacros()
1063 if (TI.getIntWidth() > TI.getShortWidth()) in InitializePredefinedMacros()
1076 if (TI.getShortWidth() > TI.getCharWidth()) { in InitializePredefinedMacros()
1082 if (TI.getIntWidth() > TI.getShortWidth()) { in InitializePredefinedMacros()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h452 unsigned getShortWidth() const { return 16; } // FIXME in getShortWidth() function
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp2064 Width = Target->getShortWidth(); in getTypeInfoImpl()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp18961 unsigned ShortWidth = Context.getTargetInfo().getShortWidth(); in ActOnEnumBody()