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);
468 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument
473 MCB.setLoc(IDLoc); in finishBundle()
512 auto IDLoc = Parser.getTok().getLoc(); in matchBundleOptions() local
524 return getParser().Error(IDLoc, MemNoShuffMsg); in matchBundleOptions()
528 return getParser().Error(IDLoc, llvm::Twine("'") + Option + in matchBundleOptions()
554 bool HexagonAsmParser::matchOneInstruction(MCInst &MCI, SMLoc IDLoc, in matchOneInstruction() argument
562 MCI.setLoc(IDLoc); in matchOneInstruction()
564 result = processInstruction(MCI, InstOperands, IDLoc); in matchOneInstruction()
570 MCI.setLoc(IDLoc); in matchOneInstruction()
583 return Error(IDLoc, "invalid instruction"); in matchOneInstruction()
585 return Error(IDLoc, "unrecognized instruction"); in matchOneInstruction()
589 SMLoc ErrorLoc = IDLoc; in matchOneInstruction()
592 return Error(IDLoc, "too few operands for instruction"); in matchOneInstruction()
597 ErrorLoc = IDLoc; in matchOneInstruction()
613 bool HexagonAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
626 getParser().Error(IDLoc, "Already in a packet"); in MatchAndEmitInstruction()
636 getParser().Error(IDLoc, "Not in a packet"); in MatchAndEmitInstruction()
642 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
645 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction()
655 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
1281 bool HexagonAsmParser::OutOfRange(SMLoc IDLoc, long long Val, long long Max) { in OutOfRange() argument
1289 return Parser.printError(IDLoc, ES.str()); in OutOfRange()
1294 SMLoc IDLoc) { in processInstruction() argument
1325 IDLoc, SourceMgr::DK_Error, in processInstruction()
1337 Error(IDLoc, "trap1 can only have register r0 as operand"); in processInstruction()
1576 OutOfRange(IDLoc, s8, -128); in processInstruction()
1602 OutOfRange(IDLoc, s8, -128); in processInstruction()
1616 OutOfRange(IDLoc, s8, -128); in processInstruction()