Lines Matching refs:StringRef
68 MCSymbol *MCContext::GetOrCreateSymbol(StringRef Name) {
84 MCSymbol *MCContext::CreateSymbol(StringRef Name) {
150 MCSymbol *MCContext::LookupSymbol(StringRef Name) const {
159 getMachOSection(StringRef Segment, StringRef Section,
188 getELFSection(StringRef Section, unsigned Type, unsigned Flags,
194 getELFSection(StringRef Section, unsigned Type, unsigned Flags,
195 SectionKind Kind, unsigned EntrySize, StringRef Group) {
226 const MCSection *MCContext::getCOFFSection(StringRef Section,
254 unsigned MCContext::GetDwarfFile(StringRef FileName, unsigned FileNumber) {
273 std::pair<StringRef, StringRef> Slash = FileName.rsplit('/');
276 StringRef Name;
283 StringRef Directory = Slash.first;
292 MCDwarfDirs.push_back(StringRef(Buf, Directory.size()));
305 File = new (*this) MCDwarfFile(StringRef(Buf, Name.size()), DirIndex);