Lines Matching refs:TargetInfo

194 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty,  in DefineTypeSize()
195 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSize()
200 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
201 const TargetInfo &TI, MacroBuilder &Builder) { in DefineFmt()
210 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
212 Builder.defineMacro(MacroName, TargetInfo::getTypeName(Ty)); in DefineType()
215 static void DefineTypeWidth(StringRef MacroName, TargetInfo::IntType Ty, in DefineTypeWidth()
216 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeWidth()
221 const TargetInfo &TI, MacroBuilder &Builder) { in DefineTypeSizeof()
226 static void DefineExactWidthIntType(TargetInfo::IntType Ty, in DefineExactWidthIntType()
227 const TargetInfo &TI, in DefineExactWidthIntType()
246 static void DefineExactWidthIntTypeSize(TargetInfo::IntType Ty, in DefineExactWidthIntTypeSize()
247 const TargetInfo &TI, in DefineExactWidthIntTypeSize()
262 const TargetInfo &TI, in DefineLeastWidthIntType()
264 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineLeastWidthIntType()
265 if (Ty == TargetInfo::NoInt) in DefineLeastWidthIntType()
275 const TargetInfo &TI, MacroBuilder &Builder) { in DefineFastIntType()
278 TargetInfo::IntType Ty = TI.getLeastIntTypeByWidth(TypeWidth, IsSigned); in DefineFastIntType()
279 if (Ty == TargetInfo::NoInt) in DefineFastIntType()
361 static void InitializeStandardPredefinedMacros(const TargetInfo &TI, in InitializeStandardPredefinedMacros()
503 static void InitializePredefinedMacros(const TargetInfo &TI, in InitializePredefinedMacros()
682 DefineTypeSize("__SCHAR_MAX__", TargetInfo::SignedChar, TI, Builder); in InitializePredefinedMacros()
683 DefineTypeSize("__SHRT_MAX__", TargetInfo::SignedShort, TI, Builder); in InitializePredefinedMacros()
684 DefineTypeSize("__INT_MAX__", TargetInfo::SignedInt, TI, Builder); in InitializePredefinedMacros()
685 DefineTypeSize("__LONG_MAX__", TargetInfo::SignedLong, TI, Builder); in InitializePredefinedMacros()
686 DefineTypeSize("__LONG_LONG_MAX__", TargetInfo::SignedLongLong, TI, Builder); in InitializePredefinedMacros()
762 if (!TargetInfo::isTypeSigned(TI.getWCharType())) in InitializePredefinedMacros()
765 if (!TargetInfo::isTypeSigned(TI.getWIntType())) in InitializePredefinedMacros()
769 DefineExactWidthIntType(TargetInfo::SignedChar, TI, Builder); in InitializePredefinedMacros()
772 DefineExactWidthIntType(TargetInfo::SignedShort, TI, Builder); in InitializePredefinedMacros()
775 DefineExactWidthIntType(TargetInfo::SignedInt, TI, Builder); in InitializePredefinedMacros()
778 DefineExactWidthIntType(TargetInfo::SignedLong, TI, Builder); in InitializePredefinedMacros()
781 DefineExactWidthIntType(TargetInfo::SignedLongLong, TI, Builder); in InitializePredefinedMacros()
783 DefineExactWidthIntType(TargetInfo::UnsignedChar, TI, Builder); in InitializePredefinedMacros()
784 DefineExactWidthIntTypeSize(TargetInfo::UnsignedChar, TI, Builder); in InitializePredefinedMacros()
785 DefineExactWidthIntTypeSize(TargetInfo::SignedChar, TI, Builder); in InitializePredefinedMacros()
788 DefineExactWidthIntType(TargetInfo::UnsignedShort, TI, Builder); in InitializePredefinedMacros()
789 DefineExactWidthIntTypeSize(TargetInfo::UnsignedShort, TI, Builder); in InitializePredefinedMacros()
790 DefineExactWidthIntTypeSize(TargetInfo::SignedShort, TI, Builder); in InitializePredefinedMacros()
794 DefineExactWidthIntType(TargetInfo::UnsignedInt, TI, Builder); in InitializePredefinedMacros()
795 DefineExactWidthIntTypeSize(TargetInfo::UnsignedInt, TI, Builder); in InitializePredefinedMacros()
796 DefineExactWidthIntTypeSize(TargetInfo::SignedInt, TI, Builder); in InitializePredefinedMacros()
800 DefineExactWidthIntType(TargetInfo::UnsignedLong, TI, Builder); in InitializePredefinedMacros()
801 DefineExactWidthIntTypeSize(TargetInfo::UnsignedLong, TI, Builder); in InitializePredefinedMacros()
802 DefineExactWidthIntTypeSize(TargetInfo::SignedLong, TI, Builder); in InitializePredefinedMacros()
806 DefineExactWidthIntType(TargetInfo::UnsignedLongLong, TI, Builder); in InitializePredefinedMacros()
807 DefineExactWidthIntTypeSize(TargetInfo::UnsignedLongLong, TI, Builder); in InitializePredefinedMacros()
808 DefineExactWidthIntTypeSize(TargetInfo::SignedLongLong, TI, Builder); in InitializePredefinedMacros()