Lines Matching refs:NewOpc
3282 SmallVector<std::pair<MachineInstr*, unsigned /*NewOpc*/>, 4> OpsToUpdate;
3333 unsigned NewOpc;
3335 NewOpc = GetCondBranchFromCond(NewCC);
3337 NewOpc = getSETFromCond(NewCC, HasMemoryOperand);
3340 NewOpc = getCMovFromCond(NewCC, MRI->getRegClass(DstReg)->getSize(),
3347 OpsToUpdate.push_back(std::make_pair(&*I, NewOpc));
3807 unsigned NewOpc = 0;
3811 case X86::TEST8rr: NewOpc = X86::CMP8ri; RCSize = 1; break;
3812 case X86::TEST16rr: NewOpc = X86::CMP16ri8; RCSize = 2; break;
3813 case X86::TEST32rr: NewOpc = X86::CMP32ri8; RCSize = 4; break;
3814 case X86::TEST64rr: NewOpc = X86::CMP64ri8; RCSize = 8; break;
3821 MI->setDesc(get(NewOpc));
3868 unsigned NewOpc = 0;
3871 case X86::TEST8rr: NewOpc = X86::CMP8ri; break;
3872 case X86::TEST16rr: NewOpc = X86::CMP16ri8; break;
3873 case X86::TEST32rr: NewOpc = X86::CMP32ri8; break;
3874 case X86::TEST64rr: NewOpc = X86::CMP64ri8; break;
3877 MI->setDesc(get(NewOpc));
4107 unsigned NewOpc;
4111 case X86::CMP64ri32: NewOpc = X86::TEST64rr; break;
4113 case X86::CMP32ri: NewOpc = X86::TEST32rr; break;
4115 case X86::CMP16ri: NewOpc = X86::TEST16rr; break;
4116 case X86::CMP8ri: NewOpc = X86::TEST8rr; break;
4118 DataMI->setDesc(get(NewOpc));