reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
397 MachineBasicBlock *BB = I.getParent(); 400 const DebugLoc &DL = I.getDebugLoc(); 401 Register Dst0Reg = I.getOperand(0).getReg(); 402 Register Dst1Reg = I.getOperand(1).getReg(); 403 const bool IsAdd = I.getOpcode() == AMDGPU::G_UADDO; 410 I.setDesc(TII.get(NewOpc)); 411 I.addOperand(*MF, MachineOperand::CreateReg(AMDGPU::EXEC, false, true)); 412 I.addOperand(*MF, MachineOperand::CreateImm(0)); 413 return constrainSelectedInstRegOperands(I, TII, TRI, RBI); 416 Register Src0Reg = I.getOperand(2).getReg(); 417 Register Src1Reg = I.getOperand(3).getReg(); 419 BuildMI(*BB, &I, DL, TII.get(NewOpc), Dst0Reg) 420 .add(I.getOperand(2)) 421 .add(I.getOperand(3)); 422 BuildMI(*BB, &I, DL, TII.get(AMDGPU::COPY), Dst1Reg) 433 I.eraseFromParent();