Lines Matching defs:IDLoc
2108 SMLoc IDLoc = ID.getLoc();
2111 return parseCppHashLineFilenameComment(IDLoc);
2121 return Error(IDLoc, "unexpected token at start of statement");
2125 return Error(IDLoc, "unexpected token at start of statement");
2143 return parseDirectiveIf(IDLoc, DirKind);
2145 return parseDirectiveIfb(IDLoc, true);
2147 return parseDirectiveIfb(IDLoc, false);
2149 return parseDirectiveIfdef(IDLoc, true);
2151 return parseDirectiveIfdef(IDLoc, false);
2153 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false,
2156 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false,
2159 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true,
2162 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true,
2166 return parseDirectiveElseIf(IDLoc, DirKind);
2168 return parseDirectiveElseIfb(IDLoc, true);
2170 return parseDirectiveElseIfb(IDLoc, false);
2172 return parseDirectiveElseIfdef(IDLoc, true);
2174 return parseDirectiveElseIfdef(IDLoc, false);
2176 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false,
2179 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false,
2182 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true,
2185 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true,
2188 return parseDirectiveElse(IDLoc);
2190 return parseDirectiveEndIf(IDLoc);
2214 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label");
2224 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true);
2227 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(),
2254 getTargetParser().doBeforeLabelEmit(Sym, IDLoc);
2258 Out.emitLabel(Sym, IDLoc);
2264 IDLoc);
2273 return handleMacroEntry(M, IDLoc);
2304 return (*Handler.second)(Handler.first, IDVal, IDLoc);
2371 return parseDirectiveComment(IDLoc);
2375 return parseDirectiveRepeat(IDLoc, IDVal);
2377 return parseDirectiveWhile(IDLoc);
2379 return parseDirectiveFor(IDLoc, IDVal);
2381 return parseDirectiveForc(IDLoc, IDVal);
2383 return parseDirectiveFile(IDLoc);
2421 return parseDirectiveCFIDefCfa(IDLoc);
2423 return parseDirectiveCFIDefCfaOffset(IDLoc);
2425 return parseDirectiveCFIAdjustCfaOffset(IDLoc);
2427 return parseDirectiveCFIDefCfaRegister(IDLoc);
2429 return parseDirectiveCFIOffset(IDLoc);
2431 return parseDirectiveCFIRelOffset(IDLoc);
2437 return parseDirectiveCFIRememberState(IDLoc);
2439 return parseDirectiveCFIRestoreState(IDLoc);
2441 return parseDirectiveCFISameValue(IDLoc);
2443 return parseDirectiveCFIRestore(IDLoc);
2445 return parseDirectiveCFIEscape(IDLoc);
2447 return parseDirectiveCFIReturnColumn(IDLoc);
2451 return parseDirectiveCFIUndefined(IDLoc);
2453 return parseDirectiveCFIRegister(IDLoc);
2455 return parseDirectiveCFIWindowSave(IDLoc);
2458 return parseDirectiveExitMacro(IDLoc, IDVal, *Info.ExitValue);
2463 return parseDirectivePurgeMacro(IDLoc);
2465 return parseDirectiveEnd(IDLoc);
2467 return parseDirectiveError(IDLoc);
2469 return parseDirectiveErrorIfb(IDLoc, true);
2471 return parseDirectiveErrorIfb(IDLoc, false);
2473 return parseDirectiveErrorIfdef(IDLoc, true);
2475 return parseDirectiveErrorIfdef(IDLoc, false);
2477 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false,
2480 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false,
2483 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true,
2486 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true,
2489 return parseDirectiveErrorIfe(IDLoc, true);
2491 return parseDirectiveErrorIfe(IDLoc, false);
2493 return parseDirectiveRadix(IDLoc);
2495 return parseDirectiveEcho(IDLoc);
2498 return Error(IDLoc, "unknown directive");
2505 IDLoc);
2529 return parseDirectiveEnds(IDVal, IDLoc);
2555 return parseDirectiveEquate(nextVal, IDVal, DirKind, IDLoc);
2566 return parseDirectiveNamedValue(nextVal, 1, IDVal, IDLoc);
2577 return parseDirectiveNamedValue(nextVal, 2, IDVal, IDLoc);
2588 return parseDirectiveNamedValue(nextVal, 4, IDVal, IDLoc);
2598 return parseDirectiveNamedValue(nextVal, 6, IDVal, IDLoc);
2609 return parseDirectiveNamedValue(nextVal, 8, IDVal, IDLoc);
2613 IDVal, IDLoc);
2617 IDVal, IDLoc);
2621 10, IDVal, IDLoc);
2625 return parseDirectiveStruct(nextVal, DirKind, IDVal, IDLoc);
2628 return parseDirectiveEnds(IDVal, IDLoc);
2631 return parseDirectiveMacro(IDVal, IDLoc);
2645 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size());
2649 return parseDirectiveMSAlign(IDLoc, Info);
2652 Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4);
2675 printMessage(IDLoc, SourceMgr::DK_Note, OS.str());
2689 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer);
2717 IDLoc, Info.Opcode, Info.ParsedOperands, Out, ErrorInfo,
3109 SMLoc IDLoc = Lexer.getLoc();
3114 return Error(IDLoc, "invalid argument identifier for formal argument");
3125 return Error(IDLoc, "cannot mix positional and keyword arguments");
3136 return Error(IDLoc, "parameter named '" + FA.Name +
6023 SMLoc IDLoc = getLexer().getLoc();
6079 return Error(IDLoc, "invalid symbol redefinition");
7137 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info,
7150 Info.AsmRewrites->emplace_back(AOK_Emit, IDLoc, Len);
7154 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) {
7166 Info.AsmRewrites->emplace_back(AOK_Align, IDLoc, 5, Log2_64(IntValue));