Home | History | Annotate | Download | only in MCParser

Lines Matching full:idval

369   bool parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
376 bool parseDirectiveSet(StringRef IDVal, bool allow_redef);
422 bool parseDirectiveSpace(StringRef IDVal);
884 StringRef IDVal = getTok().getString();
886 std::pair<StringRef, StringRef> Split = IDVal.split('@');
888 if (Split.first.size() != IDVal.size()) {
892 IDVal = Split.first;
894 if (IDVal == "f" || IDVal == "b") {
896 Ctx.GetDirectionalLocalSymbol(IntVal, IDVal == "b");
898 if (IDVal == "b" && Sym->isUndefined())
1201 StringRef IDVal;
1213 IDVal = "";
1215 IDVal = getTok().getString();
1225 IDVal = ".";
1226 } else if (parseIdentifier(IDVal)) {
1229 IDVal = "";
1236 DirectiveKindMap.find(IDVal);
1292 if (IDVal == ".")
1302 Sym = getContext().GetOrCreateSymbol(IDVal);
1335 return parseAssignment(IDVal, true);
1343 if (const MCAsmMacro *M = lookupMacro(IDVal)) {
1350 if (IDVal[0] == '.' && IDVal != ".") {
1370 ExtensionDirectiveMap.lookup(IDVal);
1372 return (*Handler.second)(Handler.first, IDVal, IDLoc);
1381 return parseDirectiveSet(IDVal, true);
1383 return parseDirectiveSet(IDVal, false);
1385 return parseDirectiveAscii(IDVal, false);
1388 return parseDirectiveAscii(IDVal, true);
1470 return TokError(Twine(IDVal) + " not supported yet");
1472 return parseDirectiveRept(IDLoc, IDVal);
1491 return parseDirectiveSpace(IDVal);
1542 return parseDirectiveMacrosOnOff(IDVal);
1547 return parseDirectiveEndMacro(IDVal);
1562 if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit" ||
1563 IDVal == "_EMIT" || IDVal == "__EMIT"))
1564 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size());
1567 if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
1573 std::string OpcodeStr = IDVal.lower();
2272 bool AsmParser::parseDirectiveSet(StringRef IDVal, bool allow_redef) {
2276 return TokError("expected identifier after '" + Twine(IDVal) + "'");
2279 return TokError("unexpected token in '" + Twine(IDVal) + "'");
2345 bool AsmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2351 return TokError("expected string in '" + Twine(IDVal) + "' directive");
2367 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
2485 StringRef IDVal = getTok().getString();
2487 if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
2489 else if (!IDVal.compare_lower("nan"))
2493 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
3581 bool AsmParser::parseDirectiveSpace(StringRef IDVal) {
3591 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3598 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3604 return TokError("invalid number of bytes in '" + Twine(IDVal) +