Lines Matching refs:Twine
57 Builder.defineMacro(MacroName, Twine(MacroBody) + "\\\n"); in DefineBuiltinMacro()
71 Builder.append(Twine("#include \"") + File + "\""); in AddImplicitInclude()
75 Builder.append(Twine("#__include_macros \"") + File + "\""); in AddImplicitIncludeMacros()
160 Builder.defineMacro(DefPrefix + "DENORM_MIN__", Twine(DenormMin)+Ext); in DefineFloatMacros()
162 Builder.defineMacro(DefPrefix + "DIG__", Twine(Digits)); in DefineFloatMacros()
163 Builder.defineMacro(DefPrefix + "DECIMAL_DIG__", Twine(DecimalDigits)); in DefineFloatMacros()
164 Builder.defineMacro(DefPrefix + "EPSILON__", Twine(Epsilon)+Ext); in DefineFloatMacros()
167 Builder.defineMacro(DefPrefix + "MANT_DIG__", Twine(MantissaDigits)); in DefineFloatMacros()
169 Builder.defineMacro(DefPrefix + "MAX_10_EXP__", Twine(Max10Exp)); in DefineFloatMacros()
170 Builder.defineMacro(DefPrefix + "MAX_EXP__", Twine(MaxExp)); in DefineFloatMacros()
171 Builder.defineMacro(DefPrefix + "MAX__", Twine(Max)+Ext); in DefineFloatMacros()
173 Builder.defineMacro(DefPrefix + "MIN_10_EXP__","("+Twine(Min10Exp)+")"); in DefineFloatMacros()
174 Builder.defineMacro(DefPrefix + "MIN_EXP__", "("+Twine(MinExp)+")"); in DefineFloatMacros()
175 Builder.defineMacro(DefPrefix + "MIN__", Twine(Min)+Ext); in DefineFloatMacros()
182 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth, in DefineTypeSize()
192 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
198 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
203 Builder.defineMacro(Prefix + "_FMT" + Twine(*Fmt) + "__", in DefineFmt()
204 Twine("\"") + FmtModifier + Twine(*Fmt) + "\""); in DefineFmt()
208 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
215 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty))); in DefineTypeWidth()
221 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof()
237 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType()
238 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineExactWidthIntType()
241 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix); in DefineExactWidthIntType()
256 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineExactWidthIntTypeSize()
267 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineLeastWidthIntType()
268 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineLeastWidthIntType()
269 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineLeastWidthIntType()
281 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineFastIntType()
282 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineFastIntType()
284 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineFastIntType()
503 Twine(getClangFullCPPVersion()) + "\""); in InitializePredefinedMacros()
540 Twine(tuple.getMajor() * 10000 + minor * 100 + in InitializePredefinedMacros()
708 Twine((int)TI.getPointerWidth(0))); in InitializePredefinedMacros()
712 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros()
829 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
830 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
833 Builder.defineMacro("__PIE__", Twine(PIELevel)); in InitializePredefinedMacros()
834 Builder.defineMacro("__pie__", Twine(PIELevel)); in InitializePredefinedMacros()
838 Builder.defineMacro("__FLT_EVAL_METHOD__", Twine(TI.getFloatEvalMethod())); in InitializePredefinedMacros()