reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
457 assert(MovT.getOpcode() == AMDGPU::V_MOV_B32_e32 || 458 MovT.getOpcode() == AMDGPU::COPY); 460 Register T = MovT.getOperand(0).getReg(); 461 unsigned Tsub = MovT.getOperand(0).getSubReg(); 462 MachineOperand &Xop = MovT.getOperand(1); 469 unsigned Size = TII->getOpSize(MovT, 0) / 4; 488 if (!TRI.isVGPR(MRI, Y) || MovT.getParent() != MovY.getParent()) 492 auto I = std::next(MovT.getIterator()), E = MovT.getParent()->instr_end(); 492 auto I = std::next(MovT.getIterator()), E = MovT.getParent()->instr_end(); 522 LLVM_DEBUG(dbgs() << "Matched v_swap_b32:\n" << MovT << *MovX << MovY); 528 BuildMI(*MovT.getParent(), MovX->getIterator(), MovT.getDebugLoc(), 528 BuildMI(*MovT.getParent(), MovX->getIterator(), MovT.getDebugLoc(), 537 MachineInstr *Next = &*std::next(MovT.getIterator()); 539 MovT.eraseFromParent();