Home | History | Annotate | Download | only in MCParser

Lines Matching refs:IDVal

368   bool ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
374 bool ParseDirectiveSet(StringRef IDVal, bool allow_redef);
419 bool ParseDirectiveSpace(StringRef IDVal);
816 StringRef IDVal = getTok().getString();
818 std::pair<StringRef, StringRef> Split = IDVal.split('@');
820 if (Split.first.size() != IDVal.size()) {
826 IDVal = Split.first;
828 if (IDVal == "f" || IDVal == "b"){
830 IDVal == "f" ? 1 : 0);
832 if (IDVal == "b" && Sym->isUndefined())
1136 StringRef IDVal;
1148 IDVal = "";
1150 IDVal = getTok().getString();
1160 IDVal = ".";
1161 } else if (parseIdentifier(IDVal)) {
1164 IDVal = "";
1171 DirectiveKindMap.find(IDVal);
1219 if (IDVal == ".")
1229 Sym = getContext().GetOrCreateSymbol(IDVal);
1260 return ParseAssignment(IDVal, true);
1268 if (const MCAsmMacro *M = LookupMacro(IDVal)) {
1275 if (IDVal[0] == '.' && IDVal != ".") {
1295 ExtensionDirectiveMap.lookup(IDVal);
1297 return (*Handler.second)(Handler.first, IDVal, IDLoc);
1306 return ParseDirectiveSet(IDVal, true);
1308 return ParseDirectiveSet(IDVal, false);
1310 return ParseDirectiveAscii(IDVal, false);
1313 return ParseDirectiveAscii(IDVal, true);
1395 return TokError(Twine(IDVal) + " not supported yet");
1416 return ParseDirectiveSpace(IDVal);
1465 return ParseDirectiveMacrosOnOff(IDVal);
1470 return ParseDirectiveEndMacro(IDVal);
1479 if (ParsingInlineAsm && (IDVal == "_emit" || IDVal == "__emit" ||
1480 IDVal == "_EMIT" || IDVal == "__EMIT"))
1481 return ParseDirectiveMSEmit(IDLoc, Info, IDVal.size());
1484 if (ParsingInlineAsm && (IDVal == "align" || IDVal == "ALIGN"))
1490 std::string OpcodeStr = IDVal.lower();
2140 bool AsmParser::ParseDirectiveSet(StringRef IDVal, bool allow_redef) {
2144 return TokError("expected identifier after '" + Twine(IDVal) + "'");
2147 return TokError("unexpected token in '" + Twine(IDVal) + "'");
2213 bool AsmParser::ParseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) {
2219 return TokError("expected string in '" + Twine(IDVal) + "' directive");
2235 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
2303 StringRef IDVal = getTok().getString();
2305 if (!IDVal.compare_lower("infinity") || !IDVal.compare_lower("inf"))
2307 else if (!IDVal.compare_lower("nan"))
2311 } else if (Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) ==
3309 bool AsmParser::ParseDirectiveSpace(StringRef IDVal) {
3319 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3326 return TokError("unexpected token in '" + Twine(IDVal) + "' directive");
3333 Twine(IDVal) + "' directive");