Lines Matching refs:IDVal
422 bool parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
430 bool parseDirectiveSet(StringRef IDVal, bool allow_redef);
487 bool parseDirectiveSpace(StringRef IDVal);
982 StringRef IDVal = getTok().getString();
984 std::pair<StringRef, StringRef> Split = IDVal.split('@');
986 if (Split.first.size() != IDVal.size()) {
990 IDVal = Split.first;
992 if (IDVal == "f" || IDVal == "b") {
994 Ctx.getDirectionalLocalSymbol(IntVal, IDVal == "b");
996 if (IDVal == "b" && Sym->isUndefined())
1421 StringRef IDVal;
1431 IDVal = "";
1433 IDVal = getTok().getString();
1443 IDVal = ".";
1447 IDVal = "{";
1452 IDVal = "}";
1453 } else if (parseIdentifier(IDVal)) {
1456 IDVal = "";
1463 DirectiveKindMap.find(IDVal);
1523 if (IDVal == ".")
1535 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true);
1538 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(),
1540 IDVal = RewrittenLabel;
1542 Sym = getContext().getOrCreateSymbol(IDVal);
1590 return parseAssignment(IDVal, true);
1598 if (const MCAsmMacro *M = lookupMacro(IDVal)) {
1605 if (IDVal[0] == '.' && IDVal != ".") {
1625 ExtensionDirectiveMap.lookup(IDVal);
1627 return (*Handler.second)(Handler.first, IDVal, IDLoc);
1636 return parseDirectiveSet(IDVal, true);
1638 return parseDirectiveSet(IDVal, false);
1640 return parseDirectiveAscii(IDVal, false);
1643 return parseDirectiveAscii(IDVal, true);
1725 return TokError(Twine(IDVal) +
1728 return parseDirectiveRept(IDLoc, IDVal);
1747 return parseDirectiveSpace(IDVal);
1812 return parseDirectiveMacrosOnOff(IDVal);
1816 return parseDirectiveExitMacro(IDVal);
1819 return parseDirectiveEndMacro(IDVal);
1838 if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit" ||
1839 IDVal == "_EMIT" || IDVal == "__EMIT"))
1840 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size());
1843 if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
1846 if (ParsingInlineAsm && (IDVal == "even"))
1851 std::string OpcodeStr = IDVal.lower();
2502 bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) {
2506 return TokError("expected identifier after '" + Twine(IDVal) + "'");
2509 return TokError("unexpected token in '" + Twine(IDVal) + "'");
2575 bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2581 return TokError("expected string in '" + Twine(IDVal) + "' directive");
2597 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
2764 StringRef IDVal = getTok().getString();
2766 if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
2768 else if (!IDVal.compare_lower("nan"))
2772 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
4112 bool AsmParser::parseDirectiveSpace(StringRef IDVal) {
4123 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
4130 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");