Lines Matching refs:Operands
43 OperandVector &Operands, MCStreamer &Out,
52 SMLoc NameLoc, OperandVector &Operands) override;
61 SMLoc NameLoc, OperandVector &Operands);
63 bool ParseOperand(OperandVector &Operands);
254 OperandVector &Operands, in MatchAndEmitInstruction() argument
260 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
272 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
275 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()
376 Operands.push_back(MSP430Operand::CreateImm(Val, ExprLoc, in parseJccInstruction()
391 OperandVector &Operands) { in ParseInstruction() argument
396 if (!parseJccInstruction(Info, Name, NameLoc, Operands)) in ParseInstruction()
400 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
407 if (ParseOperand(Operands)) in ParseInstruction()
413 if (ParseOperand(Operands)) in ParseInstruction()
451 bool MSP430AsmParser::ParseOperand(OperandVector &Operands) { in ParseOperand() argument
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()
516 if (Operands.size() > 1) // Emulate @rd in destination position as 0(rd) 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()