Lines Matching refs:IDLoc

127   bool finishBundle(SMLoc IDLoc, MCStreamer &Out);
129 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc,
133 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
140 bool OutOfRange(SMLoc IDLoc, long long Val, long long Max);
142 SMLoc IDLoc);
457 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument
462 MCB.setLoc(IDLoc); in finishBundle()
501 auto IDLoc = Parser.getTok().getLoc(); in matchBundleOptions() local
513 return getParser().Error(IDLoc, MemNoShuffMsg); in matchBundleOptions()
517 return getParser().Error(IDLoc, llvm::Twine("'") + Option + in matchBundleOptions()
543 bool HexagonAsmParser::matchOneInstruction(MCInst &MCI, SMLoc IDLoc, in matchOneInstruction() argument
551 MCI.setLoc(IDLoc); in matchOneInstruction()
553 result = processInstruction(MCI, InstOperands, IDLoc); in matchOneInstruction()
559 MCI.setLoc(IDLoc); in matchOneInstruction()
572 return Error(IDLoc, "invalid instruction"); in matchOneInstruction()
574 return Error(IDLoc, "unrecognized instruction"); in matchOneInstruction()
578 SMLoc ErrorLoc = IDLoc; in matchOneInstruction()
581 return Error(IDLoc, "too few operands for instruction"); in matchOneInstruction()
586 ErrorLoc = IDLoc; in matchOneInstruction()
602 bool HexagonAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
615 getParser().Error(IDLoc, "Already in a packet"); in MatchAndEmitInstruction()
625 getParser().Error(IDLoc, "Not in a packet"); in MatchAndEmitInstruction()
631 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
634 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction()
644 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
1271 bool HexagonAsmParser::OutOfRange(SMLoc IDLoc, long long Val, long long Max) { in OutOfRange() argument
1279 return Parser.printError(IDLoc, ES.str()); in OutOfRange()
1284 SMLoc IDLoc) { in processInstruction() argument
1315 IDLoc, SourceMgr::DK_Error, in processInstruction()
1327 Error(IDLoc, "trap1 can only have register r0 as operand"); in processInstruction()
1566 OutOfRange(IDLoc, s8, -128); in processInstruction()
1592 OutOfRange(IDLoc, s8, -128); in processInstruction()
1606 OutOfRange(IDLoc, s8, -128); in processInstruction()