Lines Matching refs:Name
112 MCSymbol *MCContext::getOrCreateSymbol(const Twine &Name) { in getOrCreateSymbol() argument
114 StringRef NameRef = Name.toStringRef(NameSV); in getOrCreateSymbol()
130 StringRef Name = Section.getSectionName(); in getOrCreateSectionSymbol() local
132 MCSymbol *&OldSym = Symbols[Name]; in getOrCreateSectionSymbol()
138 auto NameIter = UsedNames.insert(std::make_pair(Name, true)).first; in getOrCreateSectionSymbol()
163 MCSymbol *MCContext::createSymbolImpl(const StringMapEntry<bool> *Name, in createSymbolImpl() argument
168 return new (Name, *this) MCSymbolCOFF(Name, IsTemporary); in createSymbolImpl()
170 return new (Name, *this) MCSymbolELF(Name, IsTemporary); in createSymbolImpl()
172 return new (Name, *this) MCSymbolMachO(Name, IsTemporary); in createSymbolImpl()
175 return new (Name, *this) MCSymbol(MCSymbol::SymbolKindUnset, Name, in createSymbolImpl()
179 MCSymbol *MCContext::createSymbol(StringRef Name, bool AlwaysAddSuffix, in createSymbol() argument
188 IsTemporary = Name.startswith(MAI->getPrivateGlobalPrefix()); in createSymbol()
190 SmallString<128> NewName = Name; in createSymbol()
192 unsigned &NextUniqueID = NextID[Name]; in createSymbol()
195 NewName.resize(Name.size()); in createSymbol()
210 MCSymbol *MCContext::createTempSymbol(const Twine &Name, bool AlwaysAddSuffix, in createTempSymbol() argument
213 raw_svector_ostream(NameSV) << MAI->getPrivateGlobalPrefix() << Name; in createTempSymbol()
262 MCSymbol *MCContext::lookupSymbol(const Twine &Name) const { in lookupSymbol()
264 StringRef NameRef = Name.toStringRef(NameSV); in lookupSymbol()
282 SmallString<64> Name; in getMachOSection() local
283 Name += Segment; in getMachOSection()
284 Name.push_back(','); in getMachOSection()
285 Name += Section; in getMachOSection()
288 MCSectionMachO *&Entry = MachOUniquingMap[Name]; in getMachOSection()
301 void MCContext::renameELFSection(MCSectionELF *Section, StringRef Name) { in renameELFSection() argument
310 ELFSectionKey{Name, GroupName, UniqueID}, in renameELFSection()
317 MCSectionELF *MCContext::createELFRelSection(StringRef Name, unsigned Type, in createELFRelSection() argument
323 std::tie(I, Inserted) = ELFRelSecNames.insert(std::make_pair(Name, true)); in createELFRelSection()
465 return !MCDwarfFiles[FileNumber].Name.empty(); in isValidDwarfFileNumber()