Lines Matching refs:CurOp
718 unsigned CurOp = 0;
720 ++CurOp;
769 CurOp = NumOps;
774 if (CurOp == NumOps)
777 const MachineOperand &MO = MI.getOperand(CurOp++);
779 DEBUG(dbgs() << "RawFrm CurOp " << CurOp << "\n");
821 X86_MC::getX86RegNum(MI.getOperand(CurOp++).getReg()));
823 if (CurOp == NumOps)
826 const MachineOperand &MO1 = MI.getOperand(CurOp++);
855 emitRegModRMByte(MI.getOperand(CurOp).getReg(),
856 X86_MC::getX86RegNum(MI.getOperand(CurOp+1).getReg()));
857 CurOp += 2;
858 if (CurOp != NumOps)
859 emitConstant(MI.getOperand(CurOp++).getImm(),
865 emitMemModRMByte(MI, CurOp,
866 X86_MC::getX86RegNum(MI.getOperand(CurOp + X86::AddrNumOperands)
868 CurOp += X86::AddrNumOperands + 1;
869 if (CurOp != NumOps)
870 emitConstant(MI.getOperand(CurOp++).getImm(),
877 emitRegModRMByte(MI.getOperand(CurOp+1).getReg(),
878 X86_MC::getX86RegNum(MI.getOperand(CurOp).getReg()));
879 CurOp += 2;
880 if (CurOp != NumOps)
881 emitConstant(MI.getOperand(CurOp++).getImm(),
888 intptr_t PCAdj = (CurOp + AddrOperands + 1 != NumOps) ?
892 emitMemModRMByte(MI, CurOp+1,
893 X86_MC::getX86RegNum(MI.getOperand(CurOp).getReg()),PCAdj);
894 CurOp += AddrOperands + 1;
895 if (CurOp != NumOps)
896 CurOp++).getImm(),
906 emitRegModRMByte(MI.getOperand(CurOp++).getReg(),
909 if (CurOp == NumOps)
912 const MachineOperand &MO1 = MI.getOperand(CurOp++);
940 intptr_t PCAdj = (CurOp + X86::AddrNumOperands != NumOps) ?
941 (MI.getOperand(CurOp+X86::AddrNumOperands).isImm() ?
945 emitMemModRMByte(MI, CurOp, (Desc->TSFlags & X86II::FormMask)-X86II::MRM0m,
947 CurOp += X86::AddrNumOperands;
949 if (CurOp == NumOps)
952 const MachineOperand &MO = MI.getOperand(CurOp++);
979 emitRegModRMByte(MI.getOperand(CurOp).getReg(),
980 X86_MC::getX86RegNum(MI.getOperand(CurOp).getReg()));
981 ++CurOp;
1006 if (!Desc->isVariadic() && CurOp != NumOps) {