Lines Matching refs:IDLoc
1987 SMLoc IDLoc = ID.getLoc(); in parseStatement() local
1991 return parseCppHashLineFilenameComment(IDLoc); in parseStatement()
1998 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2007 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2034 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2043 return Error(IDLoc, "unexpected token at start of statement"); in parseStatement()
2061 return parseDirectiveIf(IDLoc, DirKind); in parseStatement()
2063 return parseDirectiveIfb(IDLoc, true); in parseStatement()
2065 return parseDirectiveIfb(IDLoc, false); in parseStatement()
2067 return parseDirectiveIfdef(IDLoc, true); in parseStatement()
2069 return parseDirectiveIfdef(IDLoc, false); in parseStatement()
2071 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2074 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2077 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2080 return parseDirectiveIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2084 return parseDirectiveElseIf(IDLoc, DirKind); in parseStatement()
2086 return parseDirectiveElseIfb(IDLoc, true); in parseStatement()
2088 return parseDirectiveElseIfb(IDLoc, false); in parseStatement()
2090 return parseDirectiveElseIfdef(IDLoc, true); in parseStatement()
2092 return parseDirectiveElseIfdef(IDLoc, false); in parseStatement()
2094 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2097 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2100 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2103 return parseDirectiveElseIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2106 return parseDirectiveElse(IDLoc); in parseStatement()
2108 return parseDirectiveEndIf(IDLoc); in parseStatement()
2133 return Error(IDLoc, "invalid use of pseudo-symbol '.' as a label"); in parseStatement()
2144 SI->LookupInlineAsmLabel(IDVal, getSourceManager(), IDLoc, true); in parseStatement()
2147 Info.AsmRewrites->emplace_back(AOK_Label, IDLoc, IDVal.size(), in parseStatement()
2174 Out.emitLabel(Sym, IDLoc); in parseStatement()
2180 IDLoc); in parseStatement()
2193 return handleMacroEntry(M, IDLoc); in parseStatement()
2224 return (*Handler.second)(Handler.first, IDVal, IDLoc); in parseStatement()
2296 return parseDirectiveComment(IDLoc); in parseStatement()
2300 return parseDirectiveRepeat(IDLoc, IDVal); in parseStatement()
2302 return parseDirectiveWhile(IDLoc); in parseStatement()
2304 return parseDirectiveFor(IDLoc, IDVal); in parseStatement()
2306 return parseDirectiveForc(IDLoc, IDVal); in parseStatement()
2308 return parseDirectiveFile(IDLoc); in parseStatement()
2346 return parseDirectiveCFIDefCfa(IDLoc); in parseStatement()
2352 return parseDirectiveCFIDefCfaRegister(IDLoc); in parseStatement()
2354 return parseDirectiveCFIOffset(IDLoc); in parseStatement()
2356 return parseDirectiveCFIRelOffset(IDLoc); in parseStatement()
2366 return parseDirectiveCFISameValue(IDLoc); in parseStatement()
2368 return parseDirectiveCFIRestore(IDLoc); in parseStatement()
2372 return parseDirectiveCFIReturnColumn(IDLoc); in parseStatement()
2376 return parseDirectiveCFIUndefined(IDLoc); in parseStatement()
2378 return parseDirectiveCFIRegister(IDLoc); in parseStatement()
2383 return parseDirectiveExitMacro(IDLoc, IDVal, *Info.ExitValue); in parseStatement()
2388 return parseDirectivePurgeMacro(IDLoc); in parseStatement()
2390 return parseDirectiveEnd(IDLoc); in parseStatement()
2392 return parseDirectiveError(IDLoc); in parseStatement()
2394 return parseDirectiveErrorIfb(IDLoc, true); in parseStatement()
2396 return parseDirectiveErrorIfb(IDLoc, false); in parseStatement()
2398 return parseDirectiveErrorIfdef(IDLoc, true); in parseStatement()
2400 return parseDirectiveErrorIfdef(IDLoc, false); in parseStatement()
2402 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2405 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/false, in parseStatement()
2408 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2411 return parseDirectiveErrorIfidn(IDLoc, /*ExpectEqual=*/true, in parseStatement()
2414 return parseDirectiveErrorIfe(IDLoc, true); in parseStatement()
2416 return parseDirectiveErrorIfe(IDLoc, false); in parseStatement()
2418 return parseDirectiveRadix(IDLoc); in parseStatement()
2421 return Error(IDLoc, "unknown directive"); in parseStatement()
2428 IDLoc); in parseStatement()
2450 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2481 return parseDirectiveNamedValue(nextVal, 1, IDVal, IDLoc); in parseStatement()
2486 return parseDirectiveNamedValue(nextVal, 2, IDVal, IDLoc); in parseStatement()
2491 return parseDirectiveNamedValue(nextVal, 4, IDVal, IDLoc); in parseStatement()
2495 return parseDirectiveNamedValue(nextVal, 6, IDVal, IDLoc); in parseStatement()
2500 return parseDirectiveNamedValue(nextVal, 8, IDVal, IDLoc); in parseStatement()
2504 IDVal, IDLoc); in parseStatement()
2508 IDVal, IDLoc); in parseStatement()
2512 10, IDVal, IDLoc); in parseStatement()
2516 return parseDirectiveStruct(nextVal, DirKind, IDVal, IDLoc); in parseStatement()
2519 return parseDirectiveEnds(IDVal, IDLoc); in parseStatement()
2522 return parseDirectiveMacro(IDVal, IDLoc); in parseStatement()
2536 return parseDirectiveMSEmit(IDLoc, Info, IDVal.size()); in parseStatement()
2540 return parseDirectiveMSAlign(IDLoc, Info); in parseStatement()
2543 Info.AsmRewrites->emplace_back(AOK_EVEN, IDLoc, 4); in parseStatement()
2566 printMessage(IDLoc, SourceMgr::DK_Note, OS.str()); in parseStatement()
2580 Line = SrcMgr.FindLineNumber(IDLoc, CurBuffer); in parseStatement()
2608 IDLoc, Info.Opcode, Info.ParsedOperands, Out, ErrorInfo, in parseStatement()
2999 SMLoc IDLoc = Lexer.getLoc(); in parseMacroArguments() local
3004 return Error(IDLoc, "invalid argument identifier for formal argument"); in parseMacroArguments()
3015 return Error(IDLoc, "cannot mix positional and keyword arguments"); in parseMacroArguments()
3026 return Error(IDLoc, "parameter named '" + FA.Name + in parseMacroArguments()
5722 SMLoc IDLoc = getLexer().getLoc(); in parseDirectiveComm() local
5779 return Error(IDLoc, "invalid symbol redefinition"); in parseDirectiveComm()
6818 bool MasmParser::parseDirectiveMSEmit(SMLoc IDLoc, ParseStatementInfo &Info, in parseDirectiveMSEmit() argument
6831 Info.AsmRewrites->emplace_back(AOK_Emit, IDLoc, Len); in parseDirectiveMSEmit()
6835 bool MasmParser::parseDirectiveMSAlign(SMLoc IDLoc, ParseStatementInfo &Info) { in parseDirectiveMSAlign() argument
6847 Info.AsmRewrites->emplace_back(AOK_Align, IDLoc, 5, Log2_64(IntValue)); in parseDirectiveMSAlign()