reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
77 auto Opcode = MI.getOpcode(); 78 if (TII->isMIMG(Opcode) && !MI.mayStore()) { 79 MachineOperand *TFE = TII->getNamedOperand(MI, AMDGPU::OpName::tfe); 80 MachineOperand *LWE = TII->getNamedOperand(MI, AMDGPU::OpName::lwe); 81 MachineOperand *D16 = TII->getNamedOperand(MI, AMDGPU::OpName::d16); 96 const DebugLoc &DL = MI.getDebugLoc(); 99 AMDGPU::getNamedOperandIdx(MI.getOpcode(), AMDGPU::OpName::vdata); 103 TII->getNamedOperand(MI, AMDGPU::OpName::dmask); 127 RI->getRegSizeInBits(*TII->getOpRegClass(MI, DstIdx)) / 32; 133 MRI.createVirtualRegister(TII->getOpRegClass(MI, DstIdx)); 144 BuildMI(MBB, MI, DL, TII->get(AMDGPU::V_MOV_B32_e32), PrevDst) 148 BuildMI(MBB, MI, DL, TII->get(AMDGPU::IMPLICIT_DEF), PrevDst); 151 MRI.createVirtualRegister(TII->getOpRegClass(MI, DstIdx)); 155 BuildMI(MBB, MI, DL, TII->get(AMDGPU::V_MOV_B32_e32), SubReg) 168 MachineInstrBuilder(MF, MI).addReg(NewDst, RegState::Implicit); 171 MI.tieOperands(DstIdx, MI.getNumOperands() - 1); 171 MI.tieOperands(DstIdx, MI.getNumOperands() - 1);