Lines Matching refs:IDLoc

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