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

Lines Matching defs:MipsOperand

794 /// MipsOperand - Instances of this class represent a parsed Mips machine
796 class MipsOperand : public MCParsedAsmOperand {
830 MipsOperand(KindTy K, MipsAsmParser &Parser)
833 ~MipsOperand() override {
869 MipsOperand *Base;
888 static std::unique_ptr<MipsOperand> CreateReg(unsigned Index, StringRef Str,
893 auto Op = std::make_unique<MipsOperand>(k_RegisterIndex, Parser);
1472 MipsOperand *getMemBase() const {
1491 static std::unique_ptr<MipsOperand> CreateToken(StringRef Str, SMLoc S,
1493 auto Op = std::make_unique<MipsOperand>(k_Token, Parser);
1503 static std::unique_ptr<MipsOperand>
1512 static std::unique_ptr<MipsOperand>
1520 static std::unique_ptr<MipsOperand>
1528 static std::unique_ptr<MipsOperand>
1536 static std::unique_ptr<MipsOperand>
1544 static std::unique_ptr<MipsOperand>
1552 static std::unique_ptr<MipsOperand>
1560 static std::unique_ptr<MipsOperand>
1566 static std::unique_ptr<MipsOperand>
1568 auto Op = std::make_unique<MipsOperand>(k_Immediate, Parser);
1575 static std::unique_ptr<MipsOperand>
1576 CreateMem(std::unique_ptr<MipsOperand> Base, const MCExpr *Off, SMLoc S,
1578 auto Op = std::make_unique<MipsOperand>(k_Memory, Parser);
1586 static std::unique_ptr<MipsOperand>
1591 auto Op = std::make_unique<MipsOperand>(k_RegList, Parser);
1729 bool isValidForTie(const MipsOperand &Other) const {
1744 }; // class MipsOperand
5767 if (static_cast<MipsOperand &>(*Operands[1])
5768 .isValidForTie(static_cast<MipsOperand &>(*Operands[2])))
6140 ((MipsOperand &)*Operands[1]).addGPR32ZeroAsmRegOperands(Inst, 1);
6141 int NextReg = nextReg(((MipsOperand &)*Operands[1]).getGPR32Reg());
6143 ((MipsOperand &)*Operands[2]).addMemOperands(Inst, 2);
6375 Operands.push_back(MipsOperand::CreateImm(Res, S, E, *this));
6388 Operands.push_back(MipsOperand::CreateImm(Expr, S, E, *this));
6407 MipsOperand &Operand = static_cast<MipsOperand &>(*Operands.front());
6458 MipsOperand &Mnemonic = static_cast<MipsOperand &>(*Operands[0]);
6462 Operands.push_back(MipsOperand::CreateImm(IdVal, S, E, *this));
6471 auto Base = MipsOperand::createGPRReg(
6474 MipsOperand::CreateMem(std::move(Base), IdVal, S, E, *this));
6553 std::unique_ptr<MipsOperand> op(
6554 static_cast<MipsOperand *>(Operands.back().release()));
6568 Operands.push_back(MipsOperand::CreateMem(std::move(op), IdVal, S, E, *this));
6619 Operands.push_back(MipsOperand::createGPRReg(
6627 Operands.push_back(MipsOperand::createHWRegsReg(
6635 Operands.push_back(MipsOperand::createFGRReg(
6643 Operands.push_back(MipsOperand::createFCCReg(
6651 Operands.push_back(MipsOperand::createACCReg(
6659 Operands.push_back(MipsOperand::createMSA128Reg(
6667 Operands.push_back(MipsOperand::createMSACtrlReg(
6694 Operands.push_back(MipsOperand::createNumericReg(
6758 MipsOperand::CreateImm(Expr, S, getLexer().getLoc(), *this));
6783 Operands.push_back(MipsOperand::CreateImm(
6803 MipsOperand &Reg = static_cast<MipsOperand &>(*TmpOperands.back());
6869 Operands.push_back(MipsOperand::CreateRegList(Regs, S, E, *this));
6883 MipsOperand::CreateToken("(", getLexer().getLoc(), *this));
6894 MipsOperand::CreateToken(")", getLexer().getLoc(), *this));
6911 MipsOperand::CreateToken("[", getLexer().getLoc(), *this));
6922 MipsOperand::CreateToken("]", getLexer().getLoc(), *this));
6946 Operands.push_back(MipsOperand::CreateToken(Name, NameLoc, *this));
7644 MipsOperand &RegOpnd = static_cast<MipsOperand &>(*Reg[0]);
7677 MipsOperand &RegOpnd = static_cast<MipsOperand &>(*Reg[0]);
7706 MipsOperand &RegOpnd = static_cast<MipsOperand &>(*Reg[0]);
7785 MipsOperand &FuncRegOpnd = static_cast<MipsOperand &>(*TmpReg[0]);
7812 MipsOperand &SaveOpnd = static_cast<MipsOperand &>(*TmpReg[0]);
8677 MipsOperand &StackRegOpnd = static_cast<MipsOperand &>(*TmpReg[0]);
8721 MipsOperand &ReturnRegOpnd = static_cast<MipsOperand &>(*TmpReg[0]);