Home | History | Annotate | Download | only in MC

Lines Matching refs:Name

110 MCSymbol *MCContext::getOrCreateSymbol(const Twine &Name) {
112 StringRef NameRef = Name.toStringRef(NameSV);
128 StringRef Name = Section.getSectionName();
130 MCSymbol *&OldSym = Symbols[Name];
136 auto NameIter = UsedNames.insert(std::make_pair(Name, true)).first;
161 MCSymbol *MCContext::createSymbolImpl(const StringMapEntry<bool> *Name,
166 return new (Name, *this) MCSymbolCOFF(Name, IsTemporary);
168 return new (Name, *this) MCSymbolELF(Name, IsTemporary);
170 return new (Name, *this) MCSymbolMachO(Name, IsTemporary);
173 return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name,
177 MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix,
186 IsTemporary = Name.startswith(MAI->getPrivateGlobalPrefix());
188 SmallString<128> NewName = Name;
190 unsigned &NextUniqueID = NextID[Name];
193 NewName.resize(Name.size());
198 // Ok, we found a name. Have the MCSymbol object itself refer to the copy
208 MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix,
211 raw_svector_ostream(NameSV) << MAI->getPrivateGlobalPrefix() << Name;
260 MCSymbol *MCContext::lookupSymbol(const Twine &Name) const {
262 StringRef NameRef = Name.toStringRef(NameSV);
279 // Form the name to look up.
280 SmallString<64> Name;
281 Name += Segment;
282 Name.push_back(',');
283 Name += Section;
286 MCSectionMachO *&Entry = MachOUniquingMap[Name];
299 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) {
308 ELFSectionKey{Name, GroupName, UniqueID},
315 MCSectionELF *MCContext::createELFRelSection(StringRef Name, unsigned Type,
321 std::tie(I, Inserted) = ELFRelSecNames.insert(std::make_pair(Name, true));
433 // Make an associative section with the same name and kind as the normal
450 /// getDwarfFile - takes a file name an number to place in the dwarf file and
467 return !MCDwarfFiles[FileNumber].Name.empty();