Home
last modified time | relevance | path

Searched refs:MovT (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.cpp455 static MachineInstr* matchSwap(MachineInstr &MovT, MachineRegisterInfo &MRI, in matchSwap() argument
457 assert(MovT.getOpcode() == AMDGPU::V_MOV_B32_e32 || in matchSwap()
458 MovT.getOpcode() == AMDGPU::COPY); in matchSwap()
460 Register T = MovT.getOperand(0).getReg(); in matchSwap()
461 unsigned Tsub = MovT.getOperand(0).getSubReg(); in matchSwap()
462 MachineOperand &Xop = MovT.getOperand(1); in matchSwap()
469 unsigned Size = TII->getOpSize(MovT, 0) / 4; in matchSwap()
488 if (!TRI.isVGPR(MRI, Y) || MovT.getParent() != MovY.getParent()) in matchSwap()
492 auto I = std::next(MovT.getIterator()), E = MovT.getParent()->instr_end(); in matchSwap()
522 LLVM_DEBUG(dbgs() << "Matched v_swap_b32:\n" << MovT << *MovX << MovY); in matchSwap()
[all …]