Lines Matching refs:StringRef
25 template<bool (ELFAsmParser::*Handler)(StringRef, SMLoc)>
26 void AddDirectiveHandler(StringRef Directive) {
31 bool ParseSectionSwitch(StringRef Section, unsigned Type,
80 bool ParseSectionDirectiveData(StringRef, SMLoc) {
85 bool ParseSectionDirectiveText(StringRef, SMLoc) {
90 bool ParseSectionDirectiveBSS(StringRef, SMLoc) {
95 bool ParseSectionDirectiveRoData(StringRef, SMLoc) {
100 bool ParseSectionDirectiveTData(StringRef, SMLoc) {
106 bool ParseSectionDirectiveTBSS(StringRef, SMLoc) {
112 bool ParseSectionDirectiveDataRel(StringRef, SMLoc) {
118 bool ParseSectionDirectiveDataRelRo(StringRef, SMLoc) {
124 bool ParseSectionDirectiveDataRelRoLocal(StringRef, SMLoc) {
130 bool ParseSectionDirectiveEhFrame(StringRef, SMLoc) {
136 bool ParseDirectivePushSection(StringRef, SMLoc);
137 bool ParseDirectivePopSection(StringRef, SMLoc);
138 bool ParseDirectiveSection(StringRef, SMLoc);
139 bool ParseDirectiveSize(StringRef, SMLoc);
140 bool ParseDirectivePrevious(StringRef, SMLoc);
141 bool ParseDirectiveType(StringRef, SMLoc);
142 bool ParseDirectiveIdent(StringRef, SMLoc);
143 bool ParseDirectiveSymver(StringRef, SMLoc);
144 bool ParseDirectiveWeakref(StringRef, SMLoc);
145 bool ParseDirectiveSymbolAttribute(StringRef, SMLoc);
148 bool ParseSectionName(StringRef &SectionName);
155 bool ELFAsmParser::ParseDirectiveSymbolAttribute(StringRef Directive, SMLoc) {
166 StringRef Name;
188 bool ELFAsmParser::ParseSectionSwitch(StringRef Section, unsigned Type,
200 bool ELFAsmParser::ParseDirectiveSize(StringRef, SMLoc) {
201 StringRef Name;
221 bool ELFAsmParser::ParseSectionName(StringRef &SectionName) {
234 StringRef Tmp;
252 SectionName = StringRef(FirstLoc.getPointer(), Size);
272 static int parseSectionFlags(StringRef flagsStr) {
312 bool ELFAsmParser::ParseDirectivePushSection(StringRef s, SMLoc loc) {
323 bool ELFAsmParser::ParseDirectivePopSection(StringRef, SMLoc) {
330 bool ELFAsmParser::ParseDirectiveSection(StringRef, SMLoc) {
331 StringRef SectionName;
336 StringRef TypeName;
338 StringRef GroupName;
354 StringRef FlagsStr = getTok().getStringContents();
397 StringRef Linkage;
438 bool ELFAsmParser::ParseDirectivePrevious(StringRef DirName, SMLoc) {
449 bool ELFAsmParser::ParseDirectiveType(StringRef, SMLoc) {
450 StringRef Name;
465 StringRef Type;
497 bool ELFAsmParser::ParseDirectiveIdent(StringRef, SMLoc) {
501 StringRef Data = getTok().getIdentifier();
526 bool ELFAsmParser::ParseDirectiveSymver(StringRef, SMLoc) {
527 StringRef Name;
536 StringRef AliasName;
540 if (AliasName.find('@') == StringRef::npos)
553 bool ELFAsmParser::ParseDirectiveWeakref(StringRef, SMLoc) {
556 StringRef AliasName;
565 StringRef Name;