Lines Matching defs:IDLoc

2109   SMLoc IDLoc = ID.getLoc();
2112 return parseCppHashLineFilenameComment(IDLoc);
2122 return Error(IDLoc, "unexpected token at start of statement");
2126 return Error(IDLoc, "unexpected token at start of statement");
2144 return parseDirectiveIf(IDLoc, DirKind);
2146 return parseDirectiveIfb(IDLoc, true);
2148 return parseDirectiveIfb(IDLoc, false);
2150 return parseDirectiveIfdef(IDLoc, true);
2152 return parseDirectiveIfdef(IDLoc, false);
2154 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false,
2157 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false,
2160 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true,
2163 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true,
2167 return parseDirectiveElseIf(IDLoc, DirKind);
2169 return parseDirectiveElseIfb(IDLoc, true);
2171 return parseDirectiveElseIfb(IDLoc, false);
2173 return parseDirectiveElseIfdef(IDLoc, true);
2175 return parseDirectiveElseIfdef(IDLoc, false);
2177 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false,
2180 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false,
2183 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true,
2186 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true,
2189 return parseDirectiveElse(IDLoc);
2191 return parseDirectiveEndIf(IDLoc);
2215 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label");
2225 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true);
2228 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(),
2255 getTargetParser().doBeforeLabelEmit(Sym, IDLoc);
2259 Out.emitLabel(Sym, IDLoc);
2265 IDLoc);
2274 return handleMacroEntry(M, IDLoc);
2305 return (*Handler.second)(Handler.first, IDVal, IDLoc);
2372 return parseDirectiveComment(IDLoc);
2376 return parseDirectiveRepeat(IDLoc, IDVal);
2378 return parseDirectiveWhile(IDLoc);
2380 return parseDirectiveFor(IDLoc, IDVal);
2382 return parseDirectiveForc(IDLoc, IDVal);
2384 return parseDirectiveFile(IDLoc);
2422 return parseDirectiveCFIDefCfa(IDLoc);
2424 return parseDirectiveCFIDefCfaOffset(IDLoc);
2426 return parseDirectiveCFIAdjustCfaOffset(IDLoc);
2428 return parseDirectiveCFIDefCfaRegister(IDLoc);
2430 return parseDirectiveCFIOffset(IDLoc);
2432 return parseDirectiveCFIRelOffset(IDLoc);
2438 return parseDirectiveCFIRememberState(IDLoc);
2440 return parseDirectiveCFIRestoreState(IDLoc);
2442 return parseDirectiveCFISameValue(IDLoc);
2444 return parseDirectiveCFIRestore(IDLoc);
2446 return parseDirectiveCFIEscape(IDLoc);
2448 return parseDirectiveCFIReturnColumn(IDLoc);
2452 return parseDirectiveCFIUndefined(IDLoc);
2454 return parseDirectiveCFIRegister(IDLoc);
2456 return parseDirectiveCFIWindowSave(IDLoc);
2459 return parseDirectiveExitMacro(IDLoc, IDVal, *Info.ExitValue);
2464 return parseDirectivePurgeMacro(IDLoc);
2466 return parseDirectiveEnd(IDLoc);
2468 return parseDirectiveError(IDLoc);
2470 return parseDirectiveErrorIfb(IDLoc, true);
2472 return parseDirectiveErrorIfb(IDLoc, false);
2474 return parseDirectiveErrorIfdef(IDLoc, true);
2476 return parseDirectiveErrorIfdef(IDLoc, false);
2478 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false,
2481 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false,
2484 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true,
2487 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true,
2490 return parseDirectiveErrorIfe(IDLoc, true);
2492 return parseDirectiveErrorIfe(IDLoc, false);
2494 return parseDirectiveRadix(IDLoc);
2496 return parseDirectiveEcho(IDLoc);
2499 return Error(IDLoc, "unknown directive");
2506 IDLoc);
2530 return parseDirectiveEnds(IDVal, IDLoc);
2556 return parseDirectiveEquate(nextVal, IDVal, DirKind, IDLoc);
2567 return parseDirectiveNamedValue(nextVal, 1, IDVal, IDLoc);
2578 return parseDirectiveNamedValue(nextVal, 2, IDVal, IDLoc);
2589 return parseDirectiveNamedValue(nextVal, 4, IDVal, IDLoc);
2599 return parseDirectiveNamedValue(nextVal, 6, IDVal, IDLoc);
2610 return parseDirectiveNamedValue(nextVal, 8, IDVal, IDLoc);
2614 IDVal, IDLoc);
2618 IDVal, IDLoc);
2622 10, IDVal, IDLoc);
2626 return parseDirectiveStruct(nextVal, DirKind, IDVal, IDLoc);
2629 return parseDirectiveEnds(IDVal, IDLoc);
2632 return parseDirectiveMacro(IDVal, IDLoc);
2646 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size());
2650 return parseDirectiveMSAlign(IDLoc, Info);
2653 Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4);
2676 printMessage(IDLoc, SourceMgr::DK_Note, OS.str());
2690 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer);
2718 IDLoc, Info.Opcode, Info.ParsedOperands, Out, ErrorInfo,
3110 SMLoc IDLoc = Lexer.getLoc();
3115 return Error(IDLoc, "invalid argument identifier for formal argument");
3126 return Error(IDLoc, "cannot mix positional and keyword arguments");
3137 return Error(IDLoc, "parameter named '" + FA.Name +
6024 SMLoc IDLoc = getLexer().getLoc();
6080 return Error(IDLoc, "invalid symbol redefinition");
7139 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
7152 Info.AsmRewrites->emplace_back(AOK_Emit, IDLoc, Len);
7156 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
7168 Info.AsmRewrites->emplace_back(AOK_Align, IDLoc, 5, Log2_64(IntValue));