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