reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
168 int NewOpcd = AMDGPU::getGlobalSaddrOp(MI.getOpcode()); 173 LLVM_DEBUG(dbgs() << "Global Mem opp " << MI << '\n'); 177 MachineOperand *Op = TII->getNamedOperand(MI, AMDGPU::OpName::vaddr); 183 bool HasVdst = TII->getNamedOperand(MI, AMDGPU::OpName::vdst) != nullptr; 184 MachineOperand *VData = TII->getNamedOperand(MI, AMDGPU::OpName::vdata); 186 NewGlob = BuildMI(MBB, I, MI.getDebugLoc(), TII->get(NewOpcd)); 188 NewGlob->addOperand(MF, MI.getOperand(0)); 193 NewGlob->addOperand(*TII->getNamedOperand(MI, AMDGPU::OpName::offset)); 195 MachineOperand *Glc = TII->getNamedOperand(MI, AMDGPU::OpName::glc); 200 MachineOperand *DLC = TII->getNamedOperand(MI, AMDGPU::OpName::dlc); 204 NewGlob->addOperand(*TII->getNamedOperand(MI, AMDGPU::OpName::slc)); 206 MachineOperand *VDstInOp = TII->getNamedOperand(MI, 210 NewGlob->copyImplicitOps(MF, MI); 211 NewGlob->cloneMemRefs(MF, MI); 213 MI.eraseFromParent();