Home | History | Annotate | Download | only in MCParser

Lines Matching defs:IDVal

357   bool ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
363 bool ParseDirectiveSet(StringRef IDVal, bool allow_redef);
408 bool ParseDirectiveSpace(StringRef IDVal);
806 StringRef IDVal = getTok().getString();
807 if (IDVal == "f" || IDVal == "b"){
809 IDVal == "f" ? 1 : 0);
812 if (IDVal == "b" && Sym->isUndefined())
1112 StringRef IDVal;
1124 IDVal = "";
1126 IDVal = getTok().getString();
1136 IDVal = ".";
1137 } else if (parseIdentifier(IDVal)) {
1140 IDVal = "";
1147 DirectiveKindMap.find(IDVal);
1195 if (IDVal == ".")
1205 Sym = getContext().GetOrCreateSymbol(IDVal);
1236 return ParseAssignment(IDVal, true);
1244 if (const MCAsmMacro *M = LookupMacro(IDVal)) {
1251 if (IDVal[0] == '.' && IDVal != ".") {
1271 ExtensionDirectiveMap.lookup(IDVal);
1273 return (*Handler.second)(Handler.first, IDVal, IDLoc);
1282 return ParseDirectiveSet(IDVal, true);
1284 return ParseDirectiveSet(IDVal, false);
1286 return ParseDirectiveAscii(IDVal, false);
1289 return ParseDirectiveAscii(IDVal, true);
1371 return TokError(Twine(IDVal) + " not supported yet");
1392 return ParseDirectiveSpace(IDVal);
1441 return ParseDirectiveMacrosOnOff(IDVal);
1446 return ParseDirectiveEndMacro(IDVal);
1455 if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit" ||
1456 IDVal == "_EMIT" || IDVal == "__EMIT"))
1457 return ParseDirectiveMSEmit(IDLoc, Info, IDVal.size());
1460 if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
1466 std::string OpcodeStr = IDVal.lower();
2105 bool AsmParser::ParseDirectiveSet(StringRef IDVal, bool allow_redef) {
2109 return TokError("expected identifier after '" + Twine(IDVal) + "'");
2112 return TokError("unexpected token in '" + Twine(IDVal) + "'");
2178 bool AsmParser::ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2184 return TokError("expected string in '" + Twine(IDVal) + "' directive");
2200 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
2268 StringRef IDVal = getTok().getString();
2270 if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
2272 else if (!IDVal.compare_lower("nan"))
2276 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
3279 bool AsmParser::ParseDirectiveSpace(StringRef IDVal) {
3289 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3296 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3303 Twine(IDVal) + "' directive");