Lines Matching refs:CurOp
496 unsigned CurOp = 0;
510 CurOp = X86::AddrNumOperands;
512 VEX_4V = getVEXRegisterEncoding(MI, CurOp++);
514 const MCOperand &MO = MI.getOperand(CurOp);
560 if (X86II::isX86_64ExtendedReg(MI.getOperand(CurOp).getReg()))
562 CurOp++;
565 VEX_4V = getVEXRegisterEncoding(MI, CurOp++);
566 if (X86II::isX86_64ExtendedReg(MI.getOperand(CurOp).getReg()))
851 unsigned CurOp = 0;
853 ++CurOp;
874 if (MemoryOperand != -1) MemoryOperand += CurOp;
899 EmitImmediate(MI.getOperand(CurOp++),
902 EmitImmediate(MI.getOperand(CurOp++), 1, FK_Data_1, CurByte, OS, Fixups);
906 EmitImmediate(MI.getOperand(CurOp++),
909 EmitImmediate(MI.getOperand(CurOp++), 2, FK_Data_2, CurByte, OS, Fixups);
913 EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS);
918 EmitRegModRMByte(MI.getOperand(CurOp),
919 GetX86RegNum(MI.getOperand(CurOp+1)), CurByte, OS);
920 CurOp += 2;
925 SrcRegNum = CurOp + X86::AddrNumOperands;
930 EmitMemModRMByte(MI, CurOp,
933 CurOp = SrcRegNum + 1;
938 SrcRegNum = CurOp + 1;
944 GetX86RegNum(MI.getOperand(CurOp)), CurByte, OS);
945 CurOp = SrcRegNum + 1;
950 unsigned FirstMemOp = CurOp+1;
958 EmitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
960 CurOp += AddrOperands + 1;
969 CurOp++;
971 EmitRegModRMByte(MI.getOperand(CurOp++),
980 EmitMemModRMByte(MI, CurOp, (TSFlags & X86II::FormMask)-X86II::MRM0m,
982 CurOp += X86::AddrNumOperands;
1036 if (CurOp != NumOps) {
1040 const MCOperand &MO = MI.getOperand(CurOp++);
1056 EmitImmediate(MI.getOperand(CurOp++),
1067 if (/*!Desc.isVariadic() &&*/ CurOp != NumOps) {