Lines Matching refs:IDLoc

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