Home
last modified time | relevance | path

Searched refs:MovY (Results 1 – 1 of 1) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIShrinkInstructions.cpp479 MachineInstr &MovY = *YTop.getParent(); in matchSwap() local
480 if ((MovY.getOpcode() != AMDGPU::V_MOV_B32_e32 && in matchSwap()
481 MovY.getOpcode() != AMDGPU::COPY) || in matchSwap()
482 MovY.getOperand(1).getSubReg() != Tsub) in matchSwap()
485 Register Y = MovY.getOperand(0).getReg(); in matchSwap()
486 unsigned Ysub = MovY.getOperand(0).getSubReg(); in matchSwap()
488 if (!TRI.isVGPR(MRI, Y) || MovT.getParent() != MovY.getParent()) in matchSwap()
493 for (auto IY = MovY.getIterator(); I != E && I != IY; ++I) { in matchSwap()
522 LLVM_DEBUG(dbgs() << "Matched v_swap_b32:\n" << MovT << *MovX << MovY); in matchSwap()
536 MovY.eraseFromParent(); in matchSwap()