Lines Matching defs:Name
101 MCSymbol *MCContext::GetOrCreateSymbol(const Twine &Name) {
103 StringRef NameRef = Name.toStringRef(NameSV);
119 StringRef Name = Section.getSectionName();
121 MCSymbol *&OldSym = Symbols[Name];
127 auto NameIter = UsedNames.insert(std::make_pair(Name, true)).first;
147 MCSymbol *MCContext::CreateSymbol(StringRef Name, bool AlwaysAddSuffix) {
151 IsTemporary = Name.startswith(MAI->getPrivateGlobalPrefix());
153 SmallString<128> NewName = Name;
155 unsigned &NextUniqueID = NextID[Name];
158 NewName.resize(Name.size());
163 // Ok, we found a name. Have the MCSymbol object itself refer to the copy
175 MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix) {
177 raw_svector_ostream(NameSV) << MAI->getPrivateGlobalPrefix() << Name;
226 MCSymbol *MCContext::LookupSymbol(const Twine &Name) const {
228 StringRef NameRef = Name.toStringRef(NameSV);
245 // Form the name to look up.
246 SmallString<64> Name;
247 Name += Segment;
248 Name.push_back(',');
249 Name += Section;
252 const MCSectionMachO *&Entry = MachOUniquingMap[Name];
265 void MCContext::renameELFSection(const MCSectionELF *Section, StringRef Name) {
274 ELFSectionKey{Name, GroupName, UniqueID},
281 MCContext::createELFRelSection(StringRef Name, unsigned Type, unsigned Flags,
286 std::tie(I, Inserted) = ELFRelSecNames.insert(std::make_pair(Name, true));
398 // Make an associative section with the same name and kind as the normal
411 /// GetDwarfFile - takes a file name an number to place in the dwarf file and
428 return !MCDwarfFiles[FileNumber].Name.empty();