Home
last modified time | relevance | path

Searched refs:getLongWidth (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clang-tidy/google/
H A DIntegerTypesCheck.cpp104 Width = TargetInfo.getLongWidth(); in check()
116 Width = TargetInfo.getLongWidth(); in check()
/llvm-project-15.0.7/clang/lib/Frontend/
H A DInitPreprocessor.cpp939 if (TI.getPointerWidth(0) == 64 && TI.getLongWidth() == 64 in InitializePredefinedMacros()
945 if (TI.getPointerWidth(0) == 32 && TI.getLongWidth() == 32 in InitializePredefinedMacros()
958 Builder.defineMacro("__LONG_WIDTH__", Twine(TI.getLongWidth())); in InitializePredefinedMacros()
986 DefineTypeSizeof("__SIZEOF_LONG__", TI.getLongWidth(), TI, Builder); in InitializePredefinedMacros()
1066 if (TI.getLongWidth() > TI.getIntWidth()) in InitializePredefinedMacros()
1069 if (TI.getLongLongWidth() > TI.getLongWidth()) in InitializePredefinedMacros()
1088 if (TI.getLongWidth() > TI.getIntWidth()) { in InitializePredefinedMacros()
1094 if (TI.getLongLongWidth() > TI.getLongWidth()) { in InitializePredefinedMacros()
/llvm-project-15.0.7/clang/lib/Basic/
H A DTargetInfo.cpp252 case UnsignedLong: return getLongWidth(); in getTypeWidth()
266 if (getLongWidth() == BitWidth) in getIntTypeByWidth()
281 if (getLongWidth() >= BitWidth) in getLeastIntTypeByWidth()
/llvm-project-15.0.7/clang/lib/Basic/Targets/
H A DNVPTX.cpp125 LongWidth = HostTarget->getLongWidth(); in NVPTXTargetInfo()
H A DMips.cpp187 Builder.defineMacro("_MIPS_SZLONG", Twine(getLongWidth())); in getTargetDefines()
/llvm-project-15.0.7/clang/include/clang/Basic/
H A DTargetInfo.h465 unsigned getLongWidth() const { return LongWidth; } in getLongWidth() function
/llvm-project-15.0.7/clang/lib/AST/
H A DASTContext.cpp2074 Width = Target->getLongWidth(); in getTypeInfoImpl()
7873 return C->getTargetInfo().getLongWidth() == 32 ? 'L' : 'Q'; in getObjCEncodingForPrimitiveType()
7883 return C->getTargetInfo().getLongWidth() == 32 ? 'l' : 'q'; in getObjCEncodingForPrimitiveType()
10974 if (Context.getTargetInfo().getLongWidth() == 32) in DecodeTypeFromStr()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DItaniumCXXABI.cpp4034 if (TI.getTriple().isOSCygMing() && TI.getPointerWidth(0) > TI.getLongWidth()) in BuildVMIClassTypeInfo()
H A DCodeGenModule.cpp5594 Context.getTargetInfo().getLongWidth()); in GetAddrOfConstantCFString()
/llvm-project-15.0.7/clang/lib/Sema/
H A DSemaDecl.cpp19041 BestWidth = Context.getTargetInfo().getLongWidth(); in ActOnEnumBody()
19073 (BestWidth = Context.getTargetInfo().getLongWidth())) { in ActOnEnumBody()
H A DSemaExpr.cpp4084 unsigned LongSize = Context.getTargetInfo().getLongWidth(); in ActOnNumericConstant()
16672 else if (pw == Context.getTargetInfo().getLongWidth()) in ActOnGNUNullExpr()