Lines Matching defs:StringRef

10 #include "llvm/ADT/StringRef.h"
43 template<bool (DarwinAsmParser::*HandlerMethod)(StringRef, SMLoc)>
44 void addDirectiveHandler(StringRef Directive) {
50 bool parseSectionSwitch(StringRef Segment, StringRef Section,
201 bool parseDirectiveAltEntry(StringRef, SMLoc);
202 bool parseDirectiveDesc(StringRef, SMLoc);
203 bool parseDirectiveIndirectSymbol(StringRef, SMLoc);
204 bool parseDirectiveDumpOrLoad(StringRef, SMLoc);
205 bool parseDirectiveLsym(StringRef, SMLoc);
206 bool parseDirectiveLinkerOption(StringRef, SMLoc);
207 bool parseDirectiveSection(StringRef, SMLoc);
208 bool parseDirectivePushSection(StringRef, SMLoc);
209 bool parseDirectivePopSection(StringRef, SMLoc);
210 bool parseDirectivePrevious(StringRef, SMLoc);
211 bool parseDirectiveSecureLogReset(StringRef, SMLoc);
212 bool parseDirectiveSecureLogUnique(StringRef, SMLoc);
213 bool parseDirectiveSubsectionsViaSymbols(StringRef, SMLoc);
214 bool parseDirectiveTBSS(StringRef, SMLoc);
215 bool parseDirectiveZerofill(StringRef, SMLoc);
216 bool parseDirectiveDataRegion(StringRef, SMLoc);
217 bool parseDirectiveDataRegionEnd(StringRef, SMLoc);
220 bool parseSectionDirectiveBss(StringRef, SMLoc) {
224 bool parseSectionDirectiveConst(StringRef, SMLoc) {
228 bool parseSectionDirectiveStaticConst(StringRef, SMLoc) {
232 bool parseSectionDirectiveCString(StringRef, SMLoc) {
237 bool parseSectionDirectiveLiteral4(StringRef, SMLoc) {
242 bool parseSectionDirectiveLiteral8(StringRef, SMLoc) {
247 bool parseSectionDirectiveLiteral16(StringRef, SMLoc) {
252 bool parseSectionDirectiveConstructor(StringRef, SMLoc) {
256 bool parseSectionDirectiveDestructor(StringRef, SMLoc) {
260 bool parseSectionDirectiveFVMLibInit0(StringRef, SMLoc) {
264 bool parseSectionDirectiveFVMLibInit1(StringRef, SMLoc) {
268 bool parseSectionDirectiveSymbolStub(StringRef, SMLoc) {
276 bool parseSectionDirectivePICSymbolStub(StringRef, SMLoc) {
282 bool parseSectionDirectiveData(StringRef, SMLoc) {
286 bool parseSectionDirectiveStaticData(StringRef, SMLoc) {
290 bool parseSectionDirectiveNonLazySymbolPointers(StringRef, SMLoc) {
295 bool parseSectionDirectiveLazySymbolPointers(StringRef, SMLoc) {
300 bool parseSectionDirectiveThreadLocalVariablePointers(StringRef, SMLoc) {
305 bool parseSectionDirectiveDyld(StringRef, SMLoc) {
309 bool parseSectionDirectiveModInitFunc(StringRef, SMLoc) {
314 bool parseSectionDirectiveModTermFunc(StringRef, SMLoc) {
319 bool parseSectionDirectiveConstData(StringRef, SMLoc) {
323 bool parseSectionDirectiveObjCClass(StringRef, SMLoc) {
328 bool parseSectionDirectiveObjCMetaClass(StringRef, SMLoc) {
333 bool parseSectionDirectiveObjCCatClsMeth(StringRef, SMLoc) {
338 bool parseSectionDirectiveObjCCatInstMeth(StringRef, SMLoc) {
343 bool parseSectionDirectiveObjCProtocol(StringRef, SMLoc) {
348 bool parseSectionDirectiveObjCStringObject(StringRef, SMLoc) {
353 bool parseSectionDirectiveObjCClsMeth(StringRef, SMLoc) {
358 bool parseSectionDirectiveObjCInstMeth(StringRef, SMLoc) {
363 bool parseSectionDirectiveObjCClsRefs(StringRef, SMLoc) {
369 bool parseSectionDirectiveObjCMessageRefs(StringRef, SMLoc) {
375 bool parseSectionDirectiveObjCSymbols(StringRef, SMLoc) {
380 bool parseSectionDirectiveObjCCategory(StringRef, SMLoc) {
385 bool parseSectionDirectiveObjCClassVars(StringRef, SMLoc) {
390 bool parseSectionDirectiveObjCInstanceVars(StringRef, SMLoc) {
395 bool parseSectionDirectiveObjCModuleInfo(StringRef, SMLoc) {
400 bool parseSectionDirectiveObjCClassNames(StringRef, SMLoc) {
405 bool parseSectionDirectiveObjCMethVarTypes(StringRef, SMLoc) {
410 bool parseSectionDirectiveObjCMethVarNames(StringRef, SMLoc) {
415 bool parseSectionDirectiveObjCSelectorStrs(StringRef, SMLoc) {
420 bool parseSectionDirectiveTData(StringRef, SMLoc) {
425 bool parseSectionDirectiveText(StringRef, SMLoc) {
430 bool parseSectionDirectiveTLV(StringRef, SMLoc) {
435 bool parseSectionDirectiveIdent(StringRef, SMLoc) {
441 bool parseSectionDirectiveThreadInitFunc(StringRef, SMLoc) {
446 bool parseWatchOSVersionMin(StringRef Directive, SMLoc Loc) {
449 bool parseTvOSVersionMin(StringRef Directive, SMLoc Loc) {
452 bool parseIOSVersionMin(StringRef Directive, SMLoc Loc) {
455 bool parseMacOSXVersionMin(StringRef Directive, SMLoc Loc) {
459 bool parseBuildVersion(StringRef Directive, SMLoc Loc);
460 bool parseVersionMin(StringRef Directive, SMLoc Loc, MCVersionMinType Type);
467 void checkVersion(StringRef Directive, StringRef Arg, SMLoc Loc,
469 bool parseDirectiveCGProfile(StringRef Directive, SMLoc Loc);
474 bool DarwinAsmParser::parseSectionSwitch(StringRef Segment, StringRef Section,
503 bool DarwinAsmParser::parseDirectiveAltEntry(StringRef, SMLoc) {
504 StringRef Name;
523 bool DarwinAsmParser::parseDirectiveDesc(StringRef, SMLoc) {
524 StringRef Name;
552 bool DarwinAsmParser::parseDirectiveIndirectSymbol(StringRef, SMLoc Loc) {
563 StringRef Name;
586 bool DarwinAsmParser::parseDirectiveDumpOrLoad(StringRef Directive,
609 bool DarwinAsmParser::parseDirectiveLinkerOption(StringRef IDVal, SMLoc) {
635 bool DarwinAsmParser::parseDirectiveLsym(StringRef, SMLoc) {
636 StringRef Name;
665 bool DarwinAsmParser::parseDirectiveSection(StringRef, SMLoc) {
668 StringRef SectionName;
681 StringRef EOL = getLexer().LexUntilEndOfStatement();
689 StringRef Segment, Section;
702 StringRef NonCoalSection = StringSwitch<StringRef>(Section)
709 StringRef SectionVal(Loc.getPointer());
730 bool DarwinAsmParser::parseDirectivePushSection(StringRef S, SMLoc Loc) {
743 bool DarwinAsmParser::parseDirectivePopSection(StringRef, SMLoc) {
751 bool DarwinAsmParser::parseDirectivePrevious(StringRef DirName, SMLoc) {
761 bool DarwinAsmParser::parseDirectiveSecureLogUnique(StringRef, SMLoc IDLoc) {
762 StringRef LogMessage = getParser().parseStringToEndOfStatement();
770 StringRef SecureLogFile = getContext().getSecureLogFile();
801 bool DarwinAsmParser::parseDirectiveSecureLogReset(StringRef, SMLoc IDLoc) {
814 bool DarwinAsmParser::parseDirectiveSubsectionsViaSymbols(StringRef, SMLoc) {
827 bool DarwinAsmParser::parseDirectiveTBSS(StringRef, SMLoc) {
829 StringRef Name;
883 bool DarwinAsmParser::parseDirectiveZerofill(StringRef, SMLoc) {
884 StringRef Segment;
892 StringRef Section;
914 StringRef IDStr;
971 bool DarwinAsmParser::parseDirectiveDataRegion(StringRef, SMLoc) {
977 StringRef RegionType;
996 bool DarwinAsmParser::parseDirectiveDataRegionEnd(StringRef, SMLoc) {
1091 void DarwinAsmParser::checkVersion(StringRef Directive, StringRef Arg,
1121 bool DarwinAsmParser::parseVersionMin(StringRef Directive, SMLoc Loc,
1137 checkVersion(Directive, StringRef(), Loc, ExpectedOS);
1165 bool DarwinAsmParser::parseBuildVersion(StringRef Directive, SMLoc Loc) {
1166 StringRef PlatformName;
1207 bool DarwinAsmParser::parseDirectiveCGProfile(StringRef S, SMLoc Loc) {