Lines Matching refs:OutName
26 /// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
29 void Mangler::getNameWithPrefix(SmallVectorImpl<char> &OutName,
44 OutName.append(Prefix, Prefix+strlen(Prefix));
47 OutName.append(Prefix, Prefix+strlen(Prefix));
55 OutName.push_back(Prefix[0]); // Common, one character prefix.
58 OutName.append(Prefix, Prefix+strlen(Prefix));
63 OutName.append(Name.begin(), Name.end());
69 static void AddFastCallStdCallSuffix(SmallVectorImpl<char> &OutName,
83 raw_svector_ostream(OutName) << '@' << ArgWords;
87 /// getNameWithPrefix - Fill OutName with the name of the appropriate prefix
90 void Mangler::getNameWithPrefix(SmallVectorImpl<char> &OutName,
102 getNameWithPrefix(OutName, Name, PrefixTy, UseGlobalPrefix);
114 getNameWithPrefix(OutName, "__unnamed_" + Twine(ID), PrefixTy,
127 if (OutName[0] == '_')
128 OutName[0] = '@';
130 OutName.insert(OutName.begin(), '@');
140 AddFastCallStdCallSuffix(OutName, F, *TM->getDataLayout());