Lines Matching refs:MSP430Operand
90 class MSP430Operand : public MCParsedAsmOperand { class
116 MSP430Operand(StringRef Tok, SMLoc const &S) in MSP430Operand() function in __anon9c9a31020111::MSP430Operand
118 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand() function in __anon9c9a31020111::MSP430Operand
120 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in MSP430Operand() function in __anon9c9a31020111::MSP430Operand
122 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, SMLoc const &E) in MSP430Operand() function in __anon9c9a31020111::MSP430Operand
194 static std::unique_ptr<MSP430Operand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
195 return std::make_unique<MSP430Operand>(Str, S); in CreateToken()
198 static std::unique_ptr<MSP430Operand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
200 return std::make_unique<MSP430Operand>(k_Reg, RegNum, S, E); in CreateReg()
203 static std::unique_ptr<MSP430Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
205 return std::make_unique<MSP430Operand>(Val, S, E); in CreateImm()
208 static std::unique_ptr<MSP430Operand> CreateMem(unsigned RegNum, in CreateMem()
211 return std::make_unique<MSP430Operand>(RegNum, Val, S, E); in CreateMem()
214 static std::unique_ptr<MSP430Operand> CreateIndReg(unsigned RegNum, SMLoc S, in CreateIndReg()
216 return std::make_unique<MSP430Operand>(k_IndReg, RegNum, S, E); in CreateIndReg()
219 static std::unique_ptr<MSP430Operand> CreatePostIndReg(unsigned RegNum, SMLoc S, in CreatePostIndReg()
221 return std::make_unique<MSP430Operand>(k_PostIndReg, RegNum, S, E); in CreatePostIndReg()
275 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
355 Operands.push_back(MSP430Operand::CreateToken("jmp", NameLoc)); in parseJccInstruction()
357 Operands.push_back(MSP430Operand::CreateToken("j", NameLoc)); in parseJccInstruction()
359 Operands.push_back(MSP430Operand::CreateImm(CCode, SMLoc(), SMLoc())); in parseJccInstruction()
376 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
400 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
459 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
484 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc, in ParseOperand()
497 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand()
512 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
517 Operands.push_back(MSP430Operand::CreateMem(RegNo, in ParseOperand()
520 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
530 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc)); in ParseOperand()
581 MSP430Operand &Op = static_cast<MSP430Operand &>(AsmOp); in validateTargetOperandClass()