Lines Matching refs:Name
65 MCSymbol *MCContext::GetOrCreateSymbol(StringRef Name) {
66 assert(!Name.empty() && "Normal symbols cannot be unnamed!");
70 StringMapEntry<MCSymbol*> &Entry = Symbols.GetOrCreateValue(Name);
76 Sym = CreateSymbol(Name);
81 MCSymbol *MCContext::CreateSymbol(StringRef Name) {
85 isTemporary = Name.startswith(MAI.getPrivateGlobalPrefix());
87 StringMapEntry<bool> *NameEntry = &UsedNames.GetOrCreateValue(Name);
90 SmallString<128> NewName = Name;
92 NewName.resize(Name.size());
106 MCSymbol *MCContext::GetOrCreateSymbol(const Twine &Name) {
108 Name.toVector(NameSV);
147 MCSymbol *MCContext::LookupSymbol(StringRef Name) const {
148 return Symbols.lookup(Name);
169 // Form the name to look up.
170 SmallString<64> Name;
171 Name += Segment;
172 Name.push_back(',');
173 Name += Section;
176 const MCSectionMachO *&Entry = Map[Name.str()];
247 /// GetDwarfFile - takes a file name an number to place in the dwarf file and
273 StringRef Name;
275 // Capture directory name.
277 Name = Slash.first;
281 Name = Slash.second;
295 // stored at MCDwarfFiles[FileNumber].Name .
301 char *Buf = static_cast<char *>(Allocate(Name.size()));
302 memcpy(Buf, Name.data(), Name.size());
303 File = new (*this) MCDwarfFile(StringRef(Buf, Name.size()), DirIndex);