Lines Matching refs:MAI
48 static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo &MAI) { in NameNeedsEscaping() argument
53 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') in NameNeedsEscaping()
58 bool AllowPeriod = MAI.doesAllowPeriodsInName(); in NameNeedsEscaping()
68 const MCAsmInfo &MAI) { in appendMangledName() argument
71 if (!MAI.doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') { in appendMangledName()
76 bool AllowPeriod = MAI.doesAllowPeriodsInName(); in appendMangledName()
109 const MCAsmInfo &MAI = Context.getAsmInfo(); in getNameWithPrefix() local
116 const char *Prefix = MAI.getPrivateGlobalPrefix(); in getNameWithPrefix()
119 const char *Prefix = MAI.getLinkerPrivateGlobalPrefix(); in getNameWithPrefix()
123 const char *Prefix = MAI.getGlobalPrefix(); in getNameWithPrefix()
133 if (!NameNeedsEscaping(Name, MAI) || in getNameWithPrefix()
136 (MAI.doesAllowQuotesInName() && in getNameWithPrefix()
144 if (!MAI.doesAllowQuotesInName()) in getNameWithPrefix()
145 return appendMangledName(OutName, Name, MAI); in getNameWithPrefix()