Lines Matching refs:IDLoc
107 bool finishBundle(SMLoc IDLoc, MCStreamer &Out);
109 bool matchOneInstruction(MCInst &MCB, SMLoc IDLoc,
113 bool MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode,
118 void OutOfRange(SMLoc IDLoc, long long Val, long long Max);
120 SMLoc IDLoc, bool &MustExtend);
622 bool HexagonAsmParser::finishBundle(SMLoc IDLoc, MCStreamer &Out) { in finishBundle() argument
642 Error(IDLoc, in finishBundle()
647 Error(IDLoc, "register `" + R + in finishBundle()
652 Error(IDLoc, "register `" + R + "' modified more than once"); in finishBundle()
655 Error(IDLoc, "cannot write to read-only register `" + R + "'"); in finishBundle()
658 Error(IDLoc, "loop-setup and some branch instructions " in finishBundle()
663 Error(IDLoc, "packet marked with `:endloop" + N + "' " + in finishBundle()
669 Error(IDLoc, in finishBundle()
673 Error(IDLoc, "too many slots used in packet"); in finishBundle()
679 Error(IDLoc, "invalid instruction packet"); in finishBundle()
681 Error(IDLoc, "invalid instruction packet: too many stores"); in finishBundle()
683 Error(IDLoc, "invalid instruction packet: too many loads"); in finishBundle()
685 Error(IDLoc, "too many branches in packet"); in finishBundle()
687 Error(IDLoc, "invalid instruction packet: out of slots"); in finishBundle()
689 Error(IDLoc, "invalid instruction packet: slot error"); in finishBundle()
691 Error(IDLoc, "v60 packet violation"); in finishBundle()
693 Error(IDLoc, "slot 0 instruction does not allow slot 1 store"); in finishBundle()
695 Error(IDLoc, "unknown error in instruction packet"); in finishBundle()
702 Warning(IDLoc, "register `" + R + "' used with `.cur' " in finishBundle()
705 Warning(IDLoc, "register `" + R + "' used with `.tmp' " in finishBundle()
711 MCB.setLoc(IDLoc); in finishBundle()
723 Error(IDLoc, "invalid instruction packet: out of slots"); in finishBundle()
776 bool HexagonAsmParser::matchOneInstruction(MCInst &MCI, SMLoc IDLoc, in matchOneInstruction() argument
785 MCI.setLoc(IDLoc); in matchOneInstruction()
788 result = processInstruction(MCI, InstOperands, IDLoc, MustExtend); in matchOneInstruction()
794 MCI.setLoc(IDLoc); in matchOneInstruction()
807 return Error(IDLoc, "invalid instruction"); in matchOneInstruction()
809 return Error(IDLoc, "unrecognized instruction"); in matchOneInstruction()
811 SMLoc ErrorLoc = IDLoc; in matchOneInstruction()
814 return Error(IDLoc, "too few operands for instruction"); in matchOneInstruction()
819 ErrorLoc = IDLoc; in matchOneInstruction()
837 bool HexagonAsmParser::MatchAndEmitInstruction(SMLoc IDLoc, unsigned &Opcode, in MatchAndEmitInstruction() argument
850 getParser().Error(IDLoc, "Already in a packet"); in MatchAndEmitInstruction()
859 getParser().Error(IDLoc, "Not in a packet"); in MatchAndEmitInstruction()
865 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
869 if (matchOneInstruction(*SubInst, IDLoc, Operands, ErrorInfo, in MatchAndEmitInstruction()
877 return finishBundle(IDLoc, Out); in MatchAndEmitInstruction()
1514 void HexagonAsmParser::OutOfRange(SMLoc IDLoc, long long Val, long long Max) { in OutOfRange() argument
1522 Error(IDLoc, ES.str().c_str()); in OutOfRange()
1527 SMLoc IDLoc, bool &MustExtend) { in processInstruction() argument
1790 OutOfRange(IDLoc, s8, -128); in processInstruction()
1813 OutOfRange(IDLoc, s8, -128); in processInstruction()
1827 OutOfRange(IDLoc, s8, -128); in processInstruction()