Lines Matching defs:Prefix
114 static void DefineFloatMacros(MacroBuilder &Builder, StringRef Prefix,
147 DefPrefix += Prefix;
189 static void DefineFmt(const LangOptions &LangOpts, const Twine &Prefix,
194 Builder.defineMacro(Prefix + "_FMT" + Twine(Fmt) + "__",
225 static void DefineTypeSizeAndWidth(const Twine &Prefix, TargetInfo::IntType Ty,
228 DefineTypeSize(Prefix + "_MAX__", Ty, TI, Builder);
229 DefineTypeWidth(Prefix + "_WIDTH__", Ty, TI, Builder);
249 const char *Prefix = IsSigned ? "__INT" : "__UINT";
251 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
252 DefineFmt(LangOpts, Prefix + Twine(TypeWidth), Ty, TI, Builder);
255 Builder.defineMacro(Prefix + Twine(TypeWidth) + "_C_SUFFIX__", ConstSuffix);
271 const char *Prefix = IsSigned ? "__INT" : "__UINT";
272 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder);
283 const char *Prefix = IsSigned ? "__INT_LEAST" : "__UINT_LEAST";
284 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
288 DefineTypeSizeAndWidth(Prefix + Twine(TypeWidth), Ty, TI, Builder);
290 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder);
291 DefineFmt(LangOpts, Prefix + Twine(TypeWidth), Ty, TI, Builder);
303 const char *Prefix = IsSigned ? "__INT_FAST" : "__UINT_FAST";
304 DefineType(Prefix + Twine(TypeWidth) + "_TYPE__", Ty, Builder);
308 DefineTypeSizeAndWidth(Prefix + Twine(TypeWidth), Ty, TI, Builder);
310 DefineTypeSize(Prefix + Twine(TypeWidth) + "_MAX__", Ty, TI, Builder);
311 DefineFmt(LangOpts, Prefix + Twine(TypeWidth), Ty, TI, Builder);
1348 auto addLockFreeMacros = [&](const llvm::Twine &Prefix) {
1351 Builder.defineMacro(Prefix + #TYPE "_LOCK_FREE", \
1367 Prefix + "POINTER_LOCK_FREE",