Lines Matching refs:IDLoc

2117   SMLoc IDLoc = ID.getLoc();  in parseStatement()  local
2121 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
2128 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2137 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2164 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2168 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2186 return parseDirectiveIf(IDLoc, DirKind); in parseStatement()
2188 return parseDirectiveIfb(IDLoc, true); in parseStatement()
2190 return parseDirectiveIfb(IDLoc, false); in parseStatement()
2192 return parseDirectiveIfdef(IDLoc, true); in parseStatement()
2194 return parseDirectiveIfdef(IDLoc, false); in parseStatement()
2196 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2199 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2202 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2205 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2209 return parseDirectiveElseIf(IDLoc, DirKind); in parseStatement()
2211 return parseDirectiveElseIfb(IDLoc, true); in parseStatement()
2213 return parseDirectiveElseIfb(IDLoc, false); in parseStatement()
2215 return parseDirectiveElseIfdef(IDLoc, true); in parseStatement()
2217 return parseDirectiveElseIfdef(IDLoc, false); in parseStatement()
2219 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2222 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2225 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2228 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2231 return parseDirectiveElse(IDLoc); in parseStatement()
2233 return parseDirectiveEndIf(IDLoc); in parseStatement()
2258 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label"); in parseStatement()
2269 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true); in parseStatement()
2272 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(), in parseStatement()
2299 Out.emitLabel(Sym, IDLoc); in parseStatement()
2305 IDLoc); in parseStatement()
2318 return handleMacroEntry(M, IDLoc); in parseStatement()
2349 return (*Handler.second)(Handler.first, IDVal, IDLoc); in parseStatement()
2423 return parseDirectiveComment(IDLoc); in parseStatement()
2427 return parseDirectiveRepeat(IDLoc, IDVal); in parseStatement()
2429 return parseDirectiveWhile(IDLoc); in parseStatement()
2431 return parseDirectiveFor(IDLoc, IDVal); in parseStatement()
2433 return parseDirectiveForc(IDLoc, IDVal); in parseStatement()
2435 return parseDirectiveFile(IDLoc); in parseStatement()
2473 return parseDirectiveCFIDefCfa(IDLoc); in parseStatement()
2479 return parseDirectiveCFIDefCfaRegister(IDLoc); in parseStatement()
2481 return parseDirectiveCFIOffset(IDLoc); in parseStatement()
2483 return parseDirectiveCFIRelOffset(IDLoc); in parseStatement()
2493 return parseDirectiveCFISameValue(IDLoc); in parseStatement()
2495 return parseDirectiveCFIRestore(IDLoc); in parseStatement()
2499 return parseDirectiveCFIReturnColumn(IDLoc); in parseStatement()
2503 return parseDirectiveCFIUndefined(IDLoc); in parseStatement()
2505 return parseDirectiveCFIRegister(IDLoc); in parseStatement()
2510 return parseDirectiveExitMacro(IDLoc, IDVal, *Info.ExitValue); in parseStatement()
2515 return parseDirectivePurgeMacro(IDLoc); in parseStatement()
2517 return parseDirectiveEnd(IDLoc); in parseStatement()
2519 return parseDirectiveError(IDLoc); in parseStatement()
2521 return parseDirectiveErrorIfb(IDLoc, true); in parseStatement()
2523 return parseDirectiveErrorIfb(IDLoc, false); in parseStatement()
2525 return parseDirectiveErrorIfdef(IDLoc, true); in parseStatement()
2527 return parseDirectiveErrorIfdef(IDLoc, false); in parseStatement()
2529 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2532 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2535 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2538 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2541 return parseDirectiveErrorIfe(IDLoc, true); in parseStatement()
2543 return parseDirectiveErrorIfe(IDLoc, false); in parseStatement()
2545 return parseDirectiveRadix(IDLoc); in parseStatement()
2547 return parseDirectiveEcho(IDLoc); in parseStatement()
2550 return Error(IDLoc, "unknown directive"); in parseStatement()
2557 IDLoc); in parseStatement()
2581 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2607 return parseDirectiveEquate(nextVal, IDVal, DirKind, IDLoc); in parseStatement()
2618 return parseDirectiveNamedValue(nextVal, 1, IDVal, IDLoc); in parseStatement()
2629 return parseDirectiveNamedValue(nextVal, 2, IDVal, IDLoc); in parseStatement()
2640 return parseDirectiveNamedValue(nextVal, 4, IDVal, IDLoc); in parseStatement()
2650 return parseDirectiveNamedValue(nextVal, 6, IDVal, IDLoc); in parseStatement()
2661 return parseDirectiveNamedValue(nextVal, 8, IDVal, IDLoc); in parseStatement()
2665 IDVal, IDLoc); in parseStatement()
2669 IDVal, IDLoc); in parseStatement()
2673 10, IDVal, IDLoc); in parseStatement()
2677 return parseDirectiveStruct(nextVal, DirKind, IDVal, IDLoc); in parseStatement()
2680 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2683 return parseDirectiveMacro(IDVal, IDLoc); in parseStatement()
2697 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size()); in parseStatement()
2701 return parseDirectiveMSAlign(IDLoc, Info); in parseStatement()
2704 Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4); in parseStatement()
2727 printMessage(IDLoc, SourceMgr::DK_Note, OS.str()); in parseStatement()
2741 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); in parseStatement()
2769 IDLoc, Info.Opcode, Info.ParsedOperands, Out, ErrorInfo, in parseStatement()
3161 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local
3166 return Error(IDLoc, "invalid argument identifier for formal argument"); in parseMacroArguments()
3177 return Error(IDLoc, "cannot mix positional and keyword arguments"); in parseMacroArguments()
3188 return Error(IDLoc, "parameter named '" + FA.Name + in parseMacroArguments()
6063 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() local
6120 return Error(IDLoc, "invalid symbol redefinition"); in parseDirectiveComm()
7186 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit() argument
7199 Info.AsmRewrites->emplace_back(AOK_Emit, IDLoc, Len); in parseDirectiveMSEmit()
7203 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign() argument
7215 Info.AsmRewrites->emplace_back(AOK_Align, IDLoc, 5, Log2_64(IntValue)); in parseDirectiveMSAlign()