Lines Matching refs:Twine

58       Builder.defineMacro(MacroName, Twine(MacroBody) + "\\\n");  in DefineBuiltinMacro()
72 Builder.append(Twine("#include \"") + File + "\""); in AddImplicitInclude()
76 Builder.append(Twine("#__include_macros \"") + File + "\""); in AddImplicitIncludeMacros()
162 Builder.defineMacro(DefPrefix + "DENORM_MIN__", Twine(DenormMin)+Ext); in DefineFloatMacros()
164 Builder.defineMacro(DefPrefix + "DIG__", Twine(Digits)); in DefineFloatMacros()
165 Builder.defineMacro(DefPrefix + "DECIMAL_DIG__", Twine(DecimalDigits)); in DefineFloatMacros()
166 Builder.defineMacro(DefPrefix + "EPSILON__", Twine(Epsilon)+Ext); in DefineFloatMacros()
169 Builder.defineMacro(DefPrefix + "MANT_DIG__", Twine(MantissaDigits)); in DefineFloatMacros()
171 Builder.defineMacro(DefPrefix + "MAX_10_EXP__", Twine(Max10Exp)); in DefineFloatMacros()
172 Builder.defineMacro(DefPrefix + "MAX_EXP__", Twine(MaxExp)); in DefineFloatMacros()
173 Builder.defineMacro(DefPrefix + "MAX__", Twine(Max)+Ext); in DefineFloatMacros()
175 Builder.defineMacro(DefPrefix + "MIN_10_EXP__","("+Twine(Min10Exp)+")"); in DefineFloatMacros()
176 Builder.defineMacro(DefPrefix + "MIN_EXP__", "("+Twine(MinExp)+")"); in DefineFloatMacros()
177 Builder.defineMacro(DefPrefix + "MIN__", Twine(Min)+Ext); in DefineFloatMacros()
184 static void DefineTypeSize(const Twine &MacroName, unsigned TypeWidth, in DefineTypeSize()
194 static void DefineTypeSize(const Twine &MacroName, TargetInfo::IntType Ty, in DefineTypeSize()
200 static void DefineFmt(const Twine &Prefix, TargetInfo::IntType Ty, in DefineFmt()
205 Builder.defineMacro(Prefix + "_FMT" + Twine(*Fmt) + "__", in DefineFmt()
206 Twine("\"") + FmtModifier + Twine(*Fmt) + "\""); in DefineFmt()
210 static void DefineType(const Twine &MacroName, TargetInfo::IntType Ty, in DefineType()
217 Builder.defineMacro(MacroName, Twine(TI.getTypeWidth(Ty))); in DefineTypeWidth()
223 Twine(BitWidth / TI.getCharWidth())); in DefineTypeSizeof()
239 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineExactWidthIntType()
240 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineExactWidthIntType()
243 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix); in DefineExactWidthIntType()
258 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineExactWidthIntTypeSize()
269 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineLeastWidthIntType()
270 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineLeastWidthIntType()
271 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineLeastWidthIntType()
283 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder); in DefineFastIntType()
284 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder); in DefineFastIntType()
286 DefineFmt(Prefix + Twine(TypeWidth), Ty, TI, Builder); in DefineFastIntType()
515 Twine(getClangFullCPPVersion()) + "\""); in InitializePredefinedMacros()
552 Twine(tuple.getMajor() * 10000 + minor * 100 + in InitializePredefinedMacros()
720 Twine((int)TI.getPointerWidth(0))); in InitializePredefinedMacros()
724 Twine(TI.getSuitableAlign() / TI.getCharWidth()) ); in InitializePredefinedMacros()
841 Builder.defineMacro("__PIC__", Twine(PICLevel)); in InitializePredefinedMacros()
842 Builder.defineMacro("__pic__", Twine(PICLevel)); in InitializePredefinedMacros()
845 Builder.defineMacro("__PIE__", Twine(PIELevel)); in InitializePredefinedMacros()
846 Builder.defineMacro("__pie__", Twine(PIELevel)); in InitializePredefinedMacros()
850 Builder.defineMacro("__FLT_EVAL_METHOD__", Twine(TI.getFloatEvalMethod())); in InitializePredefinedMacros()