• Home
  • Raw
  • Download

Lines Matching refs:IDVal

787   bool parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated);
799 bool parseDirectiveValue(StringRef IDVal, unsigned Size);
806 bool parseDirectiveRealValue(StringRef IDVal, const fltSemantics &Semantics,
867 bool parseDirectiveEquate(StringRef IDVal, StringRef Name,
1598 StringRef IDVal = getTok().getString(); in parsePrimaryExpr() local
1600 std::pair<StringRef, StringRef> Split = IDVal.split('@'); in parsePrimaryExpr()
1602 if (Split.first.size() != IDVal.size()) { in parsePrimaryExpr()
1606 IDVal = Split.first; in parsePrimaryExpr()
1608 if (IDVal == "f" || IDVal == "b") { in parsePrimaryExpr()
1610 Ctx.getDirectionalLocalSymbol(IntVal, IDVal == "b"); in parsePrimaryExpr()
1612 if (IDVal == "b" && Sym->isUndefined()) in parsePrimaryExpr()
1988 StringRef IDVal; in parseStatement() local
2000 IDVal = ""; in parseStatement()
2002 IDVal = getTok().getString(); in parseStatement()
2014 IDVal = "."; in parseStatement()
2018 IDVal = "{"; in parseStatement()
2023 IDVal = "}"; in parseStatement()
2028 IDVal = "*"; in parseStatement()
2031 IDVal = getTok().getString(); in parseStatement()
2033 if (!IDVal.startswith(".")) in parseStatement()
2040 } else if (parseIdentifier(IDVal)) { in parseStatement()
2045 IDVal = ""; in parseStatement()
2052 DirectiveKindMap.find(IDVal.lower()); in parseStatement()
2132 if (IDVal == ".") in parseStatement()
2144 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true); in parseStatement()
2147 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(), in parseStatement()
2149 IDVal = RewrittenLabel; in parseStatement()
2151 Sym = getContext().getOrCreateSymbol(IDVal); in parseStatement()
2192 if (const MCAsmMacro *M = getContext().lookupMacro(IDVal.lower())) { in parseStatement()
2214 if (IDVal.equals_lower("ends") && StructInProgress.size() > 1 && in parseStatement()
2222 ExtensionDirectiveMap.lookup(IDVal.lower()); in parseStatement()
2224 return (*Handler.second)(Handler.first, IDVal, IDLoc); in parseStatement()
2250 return parseDirectiveAscii(IDVal, false); in parseStatement()
2253 return parseDirectiveAscii(IDVal, true); in parseStatement()
2257 return parseDirectiveValue(IDVal, 1); in parseStatement()
2261 return parseDirectiveValue(IDVal, 2); in parseStatement()
2265 return parseDirectiveValue(IDVal, 4); in parseStatement()
2268 return parseDirectiveValue(IDVal, 6); in parseStatement()
2272 return parseDirectiveValue(IDVal, 8); in parseStatement()
2274 return parseDirectiveRealValue(IDVal, APFloat::IEEEsingle(), 4); in parseStatement()
2276 return parseDirectiveRealValue(IDVal, APFloat::IEEEdouble(), 8); in parseStatement()
2278 return parseDirectiveRealValue(IDVal, APFloat::x87DoubleExtended(), 10); in parseStatement()
2281 return parseDirectiveNestedStruct(IDVal, DirKind); in parseStatement()
2300 return parseDirectiveRepeat(IDLoc, IDVal); in parseStatement()
2304 return parseDirectiveFor(IDLoc, IDVal); in parseStatement()
2306 return parseDirectiveForc(IDLoc, IDVal); in parseStatement()
2383 return parseDirectiveExitMacro(IDLoc, IDVal, *Info.ExitValue); in parseStatement()
2386 return parseDirectiveEndMacro(IDVal); in parseStatement()
2425 auto IDIt = Structs.find(IDVal.lower()); in parseStatement()
2427 return parseDirectiveStructValue(/*Structure=*/IDIt->getValue(), IDVal, in parseStatement()
2450 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2476 return parseDirectiveEquate(nextVal, IDVal, DirKind); in parseStatement()
2481 return parseDirectiveNamedValue(nextVal, 1, IDVal, IDLoc); in parseStatement()
2486 return parseDirectiveNamedValue(nextVal, 2, IDVal, IDLoc); in parseStatement()
2491 return parseDirectiveNamedValue(nextVal, 4, IDVal, IDLoc); in parseStatement()
2495 return parseDirectiveNamedValue(nextVal, 6, IDVal, IDLoc); in parseStatement()
2500 return parseDirectiveNamedValue(nextVal, 8, IDVal, IDLoc); in parseStatement()
2504 IDVal, IDLoc); in parseStatement()
2508 IDVal, IDLoc); in parseStatement()
2512 10, IDVal, IDLoc); in parseStatement()
2516 return parseDirectiveStruct(nextVal, DirKind, IDVal, IDLoc); in parseStatement()
2519 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2522 return parseDirectiveMacro(IDVal, IDLoc); in parseStatement()
2530 nextVal, nextLoc, IDVal); in parseStatement()
2534 if (ParsingMSInlineAsm && (IDVal == "_emit" || IDVal == "__emit" || in parseStatement()
2535 IDVal == "_EMIT" || IDVal == "__EMIT")) in parseStatement()
2536 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size()); in parseStatement()
2539 if (ParsingMSInlineAsm && (IDVal == "align" || IDVal == "ALIGN")) in parseStatement()
2542 if (ParsingMSInlineAsm && (IDVal == "even" || IDVal == "EVEN")) in parseStatement()
2548 std::string OpcodeStr = IDVal.lower(); in parseStatement()
3267 bool MasmParser::parseDirectiveEquate(StringRef IDVal, StringRef Name, in parseDirectiveEquate() argument
3292 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveEquate()
3298 return TokError("expected <text> in '" + Twine(IDVal) + "' directive"); in parseDirectiveEquate()
3304 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveEquate()
3403 bool MasmParser::parseDirectiveAscii(StringRef IDVal, bool ZeroTerminated) { in parseDirectiveAscii() argument
3415 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveAscii()
3536 bool MasmParser::parseDirectiveValue(StringRef IDVal, unsigned Size) { in parseDirectiveValue() argument
3540 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveValue()
3542 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveValue()
3614 StringRef IDVal = getTok().getString(); in parseRealValue() local
3616 if (IDVal.equals_lower("infinity") || IDVal.equals_lower("inf")) in parseRealValue()
3618 else if (IDVal.equals_lower("nan")) in parseRealValue()
3620 else if (IDVal.equals_lower("?")) in parseRealValue()
3624 } else if (IDVal.consume_back("r") || IDVal.consume_back("R")) { in parseRealValue()
3628 if (SizeInBits != (IDVal.size() << 2)) in parseRealValue()
3634 Res = APInt(SizeInBits, IDVal, 16); in parseRealValue()
3639 Value.convertFromString(IDVal, APFloat::rmNearestTiesToEven) in parseRealValue()
3742 bool MasmParser::parseDirectiveRealValue(StringRef IDVal, in parseDirectiveRealValue() argument
3748 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveRealValue()
3750 return addErrorSuffix(" in '" + Twine(IDVal) + "' directive"); in parseDirectiveRealValue()