Lines Matching refs:MSP430Operand

91 class MSP430Operand : public MCParsedAsmOperand {  class
117 MSP430Operand(StringRef Tok, SMLoc const &S) in MSP430Operand() function in __anon2e2431ce0111::MSP430Operand
119 MSP430Operand(KindTy Kind, unsigned Reg, SMLoc const &S, SMLoc const &E) in MSP430Operand() function in __anon2e2431ce0111::MSP430Operand
121 MSP430Operand(MCExpr const *Imm, SMLoc const &S, SMLoc const &E) in MSP430Operand() function in __anon2e2431ce0111::MSP430Operand
123 MSP430Operand(unsigned Reg, MCExpr const *Expr, SMLoc const &S, in MSP430Operand() function in __anon2e2431ce0111::MSP430Operand
196 static std::unique_ptr<MSP430Operand> CreateToken(StringRef Str, SMLoc S) { in CreateToken()
197 return std::make_unique<MSP430Operand>(Str, S); in CreateToken()
200 static std::unique_ptr<MSP430Operand> CreateReg(unsigned RegNum, SMLoc S, in CreateReg()
202 return std::make_unique<MSP430Operand>(k_Reg, RegNum, S, E); in CreateReg()
205 static std::unique_ptr<MSP430Operand> CreateImm(const MCExpr *Val, SMLoc S, in CreateImm()
207 return std::make_unique<MSP430Operand>(Val, S, E); in CreateImm()
210 static std::unique_ptr<MSP430Operand> CreateMem(unsigned RegNum, in CreateMem()
213 return std::make_unique<MSP430Operand>(RegNum, Val, S, E); in CreateMem()
216 static std::unique_ptr<MSP430Operand> CreateIndReg(unsigned RegNum, SMLoc S, in CreateIndReg()
218 return std::make_unique<MSP430Operand>(k_IndReg, RegNum, S, E); in CreateIndReg()
221 static std::unique_ptr<MSP430Operand> CreatePostIndReg(unsigned RegNum, SMLoc S, in CreatePostIndReg()
223 return std::make_unique<MSP430Operand>(k_PostIndReg, RegNum, S, E); in CreatePostIndReg()
277 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()
375 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
399 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
454 Operands.push_back(MSP430Operand::CreateReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
477 Operands.push_back(MSP430Operand::CreateMem(RegNo, Val, StartLoc, in ParseOperand()
490 Operands.push_back(MSP430Operand::CreateMem(MSP430::SR, Val, StartLoc, in ParseOperand()
505 Operands.push_back(MSP430Operand::CreatePostIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
509 Operands.push_back(MSP430Operand::CreateMem(RegNo, in ParseOperand()
512 Operands.push_back(MSP430Operand::CreateIndReg(RegNo, StartLoc, EndLoc)); in ParseOperand()
522 Operands.push_back(MSP430Operand::CreateImm(Val, StartLoc, EndLoc)); in ParseOperand()
573 MSP430Operand &Op = static_cast<MSP430Operand &>(AsmOp); in validateTargetOperandClass()