Home | History | Annotate | Download | only in Target

Lines Matching refs:MAI

50 static bool NameNeedsEscaping(StringRef Str, const MCAsmInfo *MAI) {
55 if (!MAI->doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9')
60 bool AllowPeriod = MAI->doesAllowPeriodsInName();
61 bool AllowUTF8 = MAI->doesAllowUTF8();
71 const MCAsmInfo *MAI) {
74 if (!MAI->doesAllowNameToStartWithDigit() && Str[0] >= '0' && Str[0] <= '9') {
79 bool AllowPeriod = MAI->doesAllowPeriodsInName();
80 bool AllowUTF8 = MAI->doesAllowUTF8();
114 const MCAsmInfo *MAI = Context.getAsmInfo();
121 const char *Prefix = MAI->getPrivateGlobalPrefix();
124 const char *Prefix = MAI->getLinkerPrivateGlobalPrefix();
129 const char *Prefix = MAI->getGlobalPrefix();
141 if (!NameNeedsEscaping(Name, MAI) ||
144 (MAI->doesAllowQuotesInName() &&
152 if (!MAI->doesAllowQuotesInName())
153 return appendMangledName(OutName, Name, MAI);