Lines Matching refs:IDLoc
131 bool finishBundle(SMLoc IDLoc, MCStreamer &Out);
133 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc,
137 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
144 bool OutOfRange(SMLoc IDLoc, long long Val, long long Max);
146 SMLoc IDLoc);
472 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument
477 MCB.setLoc(IDLoc); in finishBundle()
516 auto IDLoc = Parser.getTok().getLoc(); in matchBundleOptions() local
528 return getParser().Error(IDLoc, MemNoShuffMsg); in matchBundleOptions()
532 return getParser().Error(IDLoc, llvm::Twine("'") + Option + in matchBundleOptions()
558 bool HexagonAsmParser::matchOneInstruction(MCInst &MCI, SMLoc IDLoc, in matchOneInstruction() argument
566 MCI.setLoc(IDLoc); in matchOneInstruction()
568 result = processInstruction(MCI, InstOperands, IDLoc); in matchOneInstruction()
574 MCI.setLoc(IDLoc); in matchOneInstruction()
587 return Error(IDLoc, "invalid instruction"); in matchOneInstruction()
589 return Error(IDLoc, "unrecognized instruction"); in matchOneInstruction()
593 SMLoc ErrorLoc = IDLoc; in matchOneInstruction()
596 return Error(IDLoc, "too few operands for instruction"); in matchOneInstruction()
601 ErrorLoc = IDLoc; in matchOneInstruction()
617 bool HexagonAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
630 getParser().Error(IDLoc, "Already in a packet"); in MatchAndEmitInstruction()
640 getParser().Error(IDLoc, "Not in a packet"); in MatchAndEmitInstruction()
646 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
649 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction()
659 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
1335 bool HexagonAsmParser::OutOfRange(SMLoc IDLoc, long long Val, long long Max) { in OutOfRange() argument
1343 return Parser.printError(IDLoc, ES.str()); in OutOfRange()
1348 SMLoc IDLoc) { in processInstruction() argument
1379 IDLoc, SourceMgr::DK_Error, in processInstruction()
1391 Error(IDLoc, "trap1 can only have register r0 as operand"); in processInstruction()
1630 OutOfRange(IDLoc, s8, -128); in processInstruction()
1656 OutOfRange(IDLoc, s8, -128); in processInstruction()
1670 OutOfRange(IDLoc, s8, -128); in processInstruction()