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

Lines Matching refs:MSP430Operand

89 class MSP430Operand : public MCParsedAsmOperand {
115 MSP430Operand(StringRef Tok, SMLoc const &S)
117 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E)
119 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E)
121 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, SMLoc const &E)
193 static std::unique_ptr<MSP430Operand> CreateToken(StringRef Str, SMLoc S) {
194 return std::make_unique<MSP430Operand>(Str, S);
197 static std::unique_ptr<MSP430Operand> CreateReg(unsigned RegNum, SMLoc S,
199 return std::make_unique<MSP430Operand>(k_Reg, RegNum, S, E);
202 static std::unique_ptr<MSP430Operand> CreateImm(const MCExpr *Val, SMLoc S,
204 return std::make_unique<MSP430Operand>(Val, S, E);
207 static std::unique_ptr<MSP430Operand> CreateMem(unsigned RegNum,
210 return std::make_unique<MSP430Operand>(RegNum, Val, S, E);
213 static std::unique_ptr<MSP430Operand> CreateIndReg(unsigned RegNum, SMLoc S,
215 return std::make_unique<MSP430Operand>(k_IndReg, RegNum, S, E);
218 static std::unique_ptr<MSP430Operand> CreatePostIndReg(unsigned RegNum, SMLoc S,
220 return std::make_unique<MSP430Operand>(k_PostIndReg, RegNum, S, E);
274 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc();
339 Operands.push_back(MSP430Operand::CreateToken("jmp", NameLoc));
341 Operands.push_back(MSP430Operand::CreateToken("j", NameLoc));
343 Operands.push_back(MSP430Operand::CreateImm(CCode, SMLoc(), SMLoc()));
360 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc,
384 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc));
443 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc));
468 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc,
481 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc,
496 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc));
501 Operands.push_back(MSP430Operand::CreateMem(RegNo,
504 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc));
514 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc));
565 MSP430Operand &Op = static_cast<MSP430Operand &>(AsmOp);