Lines Matching refs:Operands

44                                OperandVector &Operands, MCStreamer &Out,
53 SMLoc NameLoc, OperandVector &Operands) override;
62 SMLoc NameLoc, OperandVector &Operands);
64 bool ParseOperand(OperandVector &Operands);
256 OperandVector &Operands, in MatchAndEmitInstruction() argument
262 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
274 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
277 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
329 OperandVector &Operands) { in parseJccInstruction() argument
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()
390 OperandVector &Operands) { in ParseInstruction() argument
395 if (!parseJccInstruction(Info, Name, NameLoc, Operands)) in ParseInstruction()
399 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
406 if (ParseOperand(Operands)) in ParseInstruction()
410 if (parseOptionalToken(AsmToken::Comma) && ParseOperand(Operands)) in ParseInstruction()
446 bool MSP430AsmParser::ParseOperand(OperandVector &Operands) { in ParseOperand() argument
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()
508 if (Operands.size() > 1) // Emulate @rd in destination position as 0(rd) 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()