Home
last modified time | relevance | path

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

/external/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp2139 unsigned SGPRReg = findUsedSGPR(MI, VOP3Idx); in legalizeOperandsVOP3() local
2154 if (SGPRReg == AMDGPU::NoRegister || SGPRReg == MO.getReg()) { in legalizeOperandsVOP3()
2155 SGPRReg = MO.getReg(); in legalizeOperandsVOP3()
2985 unsigned SGPRReg = findImplicitSGPRRead(MI); in findUsedSGPR() local
2986 if (SGPRReg != AMDGPU::NoRegister) in findUsedSGPR()
2987 return SGPRReg; in findUsedSGPR()
3030 SGPRReg = UsedSGPRs[0]; in findUsedSGPR()
3033 if (SGPRReg == AMDGPU::NoRegister && UsedSGPRs[1] != AMDGPU::NoRegister) { in findUsedSGPR()
3035 SGPRReg = UsedSGPRs[1]; in findUsedSGPR()
3038 return SGPRReg; in findUsedSGPR()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIInstrInfo.cpp3372 unsigned SGPRReg = findUsedSGPR(MI, VOP3Idx); in legalizeOperandsVOP3() local
3387 if (SGPRReg == AMDGPU::NoRegister || SGPRReg == MO.getReg()) { in legalizeOperandsVOP3()
3388 SGPRReg = MO.getReg(); in legalizeOperandsVOP3()
4597 unsigned SGPRReg = findImplicitSGPRRead(MI); in findUsedSGPR() local
4598 if (SGPRReg != AMDGPU::NoRegister) in findUsedSGPR()
4599 return SGPRReg; in findUsedSGPR()
4642 SGPRReg = UsedSGPRs[0]; in findUsedSGPR()
4645 if (SGPRReg == AMDGPU::NoRegister && UsedSGPRs[1] != AMDGPU::NoRegister) { in findUsedSGPR()
4647 SGPRReg = UsedSGPRs[1]; in findUsedSGPR()
4650 return SGPRReg; in findUsedSGPR()