Lines Matching refs:IDLoc
2100 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
2103 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
2127 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2131 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2149 return parseDirectiveIf(IDLoc, DirKind); in parseStatement()
2151 return parseDirectiveIfb(IDLoc, true); in parseStatement()
2153 return parseDirectiveIfb(IDLoc, false); in parseStatement()
2155 return parseDirectiveIfdef(IDLoc, true); in parseStatement()
2157 return parseDirectiveIfdef(IDLoc, false); in parseStatement()
2159 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2162 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2165 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2168 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2172 return parseDirectiveElseIf(IDLoc, DirKind); in parseStatement()
2174 return parseDirectiveElseIfb(IDLoc, true); in parseStatement()
2176 return parseDirectiveElseIfb(IDLoc, false); in parseStatement()
2178 return parseDirectiveElseIfdef(IDLoc, true); in parseStatement()
2180 return parseDirectiveElseIfdef(IDLoc, false); in parseStatement()
2182 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2185 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2188 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2191 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2194 return parseDirectiveElse(IDLoc); in parseStatement()
2196 return parseDirectiveEndIf(IDLoc); in parseStatement()
2221 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label"); in parseStatement()
2231 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true); in parseStatement()
2234 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(), in parseStatement()
2265 Out.emitLabel(Sym, IDLoc); in parseStatement()
2271 IDLoc); in parseStatement()
2284 return handleMacroEntry(M, IDLoc); in parseStatement()
2315 return (*Handler.second)(Handler.first, IDVal, IDLoc); in parseStatement()
2388 return parseDirectiveComment(IDLoc); in parseStatement()
2392 return parseDirectiveRepeat(IDLoc, IDVal); in parseStatement()
2394 return parseDirectiveWhile(IDLoc); in parseStatement()
2396 return parseDirectiveFor(IDLoc, IDVal); in parseStatement()
2398 return parseDirectiveForc(IDLoc, IDVal); in parseStatement()
2400 return parseDirectiveFile(IDLoc); in parseStatement()
2438 return parseDirectiveCFIDefCfa(IDLoc); in parseStatement()
2444 return parseDirectiveCFIDefCfaRegister(IDLoc); in parseStatement()
2446 return parseDirectiveCFIOffset(IDLoc); in parseStatement()
2448 return parseDirectiveCFIRelOffset(IDLoc); in parseStatement()
2458 return parseDirectiveCFISameValue(IDLoc); in parseStatement()
2460 return parseDirectiveCFIRestore(IDLoc); in parseStatement()
2464 return parseDirectiveCFIReturnColumn(IDLoc); in parseStatement()
2468 return parseDirectiveCFIUndefined(IDLoc); in parseStatement()
2470 return parseDirectiveCFIRegister(IDLoc); in parseStatement()
2475 return parseDirectiveExitMacro(IDLoc, IDVal, *Info.ExitValue); in parseStatement()
2480 return parseDirectivePurgeMacro(IDLoc); in parseStatement()
2482 return parseDirectiveEnd(IDLoc); in parseStatement()
2484 return parseDirectiveError(IDLoc); in parseStatement()
2486 return parseDirectiveErrorIfb(IDLoc, true); in parseStatement()
2488 return parseDirectiveErrorIfb(IDLoc, false); in parseStatement()
2490 return parseDirectiveErrorIfdef(IDLoc, true); in parseStatement()
2492 return parseDirectiveErrorIfdef(IDLoc, false); in parseStatement()
2494 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2497 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2500 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2503 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2506 return parseDirectiveErrorIfe(IDLoc, true); in parseStatement()
2508 return parseDirectiveErrorIfe(IDLoc, false); in parseStatement()
2510 return parseDirectiveRadix(IDLoc); in parseStatement()
2512 return parseDirectiveEcho(IDLoc); in parseStatement()
2515 return Error(IDLoc, "unknown directive"); in parseStatement()
2522 IDLoc); in parseStatement()
2546 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2572 return parseDirectiveEquate(nextVal, IDVal, DirKind, IDLoc); in parseStatement()
2583 return parseDirectiveNamedValue(nextVal, 1, IDVal, IDLoc); in parseStatement()
2594 return parseDirectiveNamedValue(nextVal, 2, IDVal, IDLoc); in parseStatement()
2605 return parseDirectiveNamedValue(nextVal, 4, IDVal, IDLoc); in parseStatement()
2615 return parseDirectiveNamedValue(nextVal, 6, IDVal, IDLoc); in parseStatement()
2626 return parseDirectiveNamedValue(nextVal, 8, IDVal, IDLoc); in parseStatement()
2630 IDVal, IDLoc); in parseStatement()
2634 IDVal, IDLoc); in parseStatement()
2638 10, IDVal, IDLoc); in parseStatement()
2642 return parseDirectiveStruct(nextVal, DirKind, IDVal, IDLoc); in parseStatement()
2645 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2648 return parseDirectiveMacro(IDVal, IDLoc); in parseStatement()
2662 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size()); in parseStatement()
2666 return parseDirectiveMSAlign(IDLoc, Info); in parseStatement()
2669 Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4); in parseStatement()
2692 printMessage(IDLoc, SourceMgr::DK_Note, OS.str()); in parseStatement()
2706 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); in parseStatement()
2734 IDLoc, Info.Opcode, Info.ParsedOperands, Out, ErrorInfo, in parseStatement()
3126 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local
3131 return Error(IDLoc, "invalid argument identifier for formal argument"); in parseMacroArguments()
3142 return Error(IDLoc, "cannot mix positional and keyword arguments"); in parseMacroArguments()
3153 return Error(IDLoc, "parameter named '" + FA.Name + in parseMacroArguments()
6041 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() local
6097 return Error(IDLoc, "invalid symbol redefinition"); in parseDirectiveComm()
7151 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit() argument
7164 Info.AsmRewrites->emplace_back(AOK_Emit, IDLoc, Len); in parseDirectiveMSEmit()
7168 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign() argument
7180 Info.AsmRewrites->emplace_back(AOK_Align, IDLoc, 5, Log2_64(IntValue)); in parseDirectiveMSAlign()