Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIRegisterInfo.cpp675 unsigned M0CopyReg = AMDGPU::NoRegister; in spillSGPR() local
679 M0CopyReg = MRI.createVirtualRegister(&AMDGPU::SReg_32_XM0RegClass); in spillSGPR()
680 BuildMI(*MBB, MI, DL, TII->get(AMDGPU::COPY), M0CopyReg) in spillSGPR()
807 if (M0CopyReg != AMDGPU::NoRegister) { in spillSGPR()
809 .addReg(M0CopyReg, RegState::Kill); in spillSGPR()
845 unsigned M0CopyReg = AMDGPU::NoRegister; in restoreSGPR() local
849 M0CopyReg = MRI.createVirtualRegister(&AMDGPU::SReg_32_XM0RegClass); in restoreSGPR()
850 BuildMI(*MBB, MI, DL, TII->get(AMDGPU::COPY), M0CopyReg) in restoreSGPR()
951 if (M0CopyReg != AMDGPU::NoRegister) { in restoreSGPR()
953 .addReg(M0CopyReg, RegState::Kill); in restoreSGPR()