Lines Matching refs:Operands
44 OperandVector &Operands, MCStreamer &Out,
51 SMLoc NameLoc, OperandVector &Operands) override;
60 SMLoc NameLoc, OperandVector &Operands);
62 bool ParseOperand(OperandVector &Operands);
253 OperandVector &Operands, in MatchAndEmitInstruction() argument
259 MatchInstructionImpl(Operands, Inst, ErrorInfo, MatchingInlineAsm); in MatchAndEmitInstruction()
271 if (ErrorInfo >= Operands.size()) in MatchAndEmitInstruction()
274 ErrorLoc = ((MSP430Operand &)*Operands[ErrorInfo]).getStartLoc(); in MatchAndEmitInstruction()
313 OperandVector &Operands) { in parseJccInstruction() argument
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()
375 OperandVector &Operands) { in ParseInstruction() argument
380 if (!parseJccInstruction(Info, Name, NameLoc, Operands)) in ParseInstruction()
384 Operands.push_back(MSP430Operand::CreateToken(Name, NameLoc)); in ParseInstruction()
391 if (ParseOperand(Operands)) in ParseInstruction()
397 if (ParseOperand(Operands)) in ParseInstruction()
435 bool MSP430AsmParser::ParseOperand(OperandVector &Operands) { in ParseOperand() argument
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()
500 if (Operands.size() > 1) // Emulate @rd in destination position as 0(rd) 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()