• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/SystemZ/AsmParser/

Lines Matching defs:StartLoc

86   SMLoc StartLoc, EndLoc;
151 : Kind(kind), StartLoc(startLoc), EndLoc(endLoc) {}
154 static std::unique_ptr<SystemZOperand> createInvalid(SMLoc StartLoc,
156 return std::make_unique<SystemZOperand>(KindInvalid, StartLoc, EndLoc);
167 createReg(RegisterKind Kind, unsigned Num, SMLoc StartLoc, SMLoc EndLoc) {
168 auto Op = std::make_unique<SystemZOperand>(KindReg, StartLoc, EndLoc);
175 createImm(const MCExpr *Expr, SMLoc StartLoc, SMLoc EndLoc) {
176 auto Op = std::make_unique<SystemZOperand>(KindImm, StartLoc, EndLoc);
184 unsigned LengthReg, SMLoc StartLoc, SMLoc EndLoc) {
185 auto Op = std::make_unique<SystemZOperand>(KindMem, StartLoc, EndLoc);
200 SMLoc StartLoc, SMLoc EndLoc) {
201 auto Op = std::make_unique<SystemZOperand>(KindImmTLS, StartLoc, EndLoc);
283 SMLoc getStartLoc() const override { return StartLoc; }
289 SMRange getLocRange() const { return SMRange(StartLoc, EndLoc); }
403 SMLoc StartLoc, EndLoc;
447 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc) override;
448 bool ParseRegister(unsigned &RegNo, SMLoc &StartLoc, SMLoc &EndLoc,
450 OperandMatchResultTy tryParseRegister(unsigned &RegNo, SMLoc &StartLoc,
697 Reg.StartLoc = Parser.getTok().getLoc();
709 return Error(Reg.StartLoc, "invalid register");
717 return Error(Reg.StartLoc, "invalid register");
725 return Error(Reg.StartLoc, "invalid register");
742 return Error(Reg.StartLoc, "invalid register");
793 Error(Reg.StartLoc, "invalid operand for instruction");
799 Error(Reg.StartLoc, "invalid operand for instruction");
829 Error(Reg.StartLoc, "invalid register pair");
834 SystemZOperand::createReg(Kind, Regs[Reg.Num], Reg.StartLoc, Reg.EndLoc));
844 SMLoc StartLoc = Parser.getTok().getLoc();
851 Error(StartLoc, "invalid register");
859 Operands.push_back(SystemZOperand::createImm(Register, StartLoc, EndLoc));
894 Reg.StartLoc, Reg.EndLoc));
901 Reg.StartLoc = Parser.getTok().getLoc();
1024 Error(Reg.StartLoc, "invalid use of vector addressing");
1027 Error(Reg.StartLoc, "invalid address register");
1038 SMLoc StartLoc = Parser.getTok().getLoc();
1068 Error(StartLoc, "invalid use of indexed addressing");
1100 Error(StartLoc, "invalid use of indexed addressing");
1105 Error(StartLoc, "missing length in address");
1112 Error(StartLoc, "invalid operand for instruction");
1126 Error(StartLoc, "vector index required in address");
1143 StartLoc, EndLoc));
1187 SMLoc StartLoc = Parser.getTok().getLoc();
1191 return Error(StartLoc, "unexpected token in directive");
1209 SMLoc StartLoc = Parser.getTok().getLoc();
1213 return Error(StartLoc, "unexpected token in directive");
1218 Operands.push_back(SystemZOperand::createImm(Expr, StartLoc, EndLoc));
1258 bool SystemZAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
1273 StartLoc = Reg.StartLoc;
1278 bool SystemZAsmParser::ParseRegister(unsigned &RegNo, SMLoc &StartLoc,
1280 return ParseRegister(RegNo, StartLoc, EndLoc, /*RestoreOnFailure=*/false);
1284 SMLoc &StartLoc,
1287 ParseRegister(RegNo, StartLoc, EndLoc, /*RestoreOnFailure=*/true);
1357 Operands.push_back(SystemZOperand::createInvalid(Reg.StartLoc, Reg.EndLoc));
1364 SMLoc StartLoc = Parser.getTok().getLoc();
1383 Operands.push_back(SystemZOperand::createInvalid(StartLoc, EndLoc));
1385 Operands.push_back(SystemZOperand::createImm(Expr, StartLoc, EndLoc));
1455 SMLoc StartLoc = Parser.getTok().getLoc();
1472 Error(StartLoc, "offset out of range");
1488 Error(StartLoc, "offset out of range");
1536 StartLoc, EndLoc));
1538 Operands.push_back(SystemZOperand::createImm(Expr, StartLoc, EndLoc));