Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.cpp273 unsigned LaneVGPR; in allocateSGPRSpillToVGPR() local
277 LaneVGPR = TRI->findUnusedRegister(MRI, &AMDGPU::VGPR_32RegClass, MF); in allocateSGPRSpillToVGPR()
278 if (LaneVGPR == AMDGPU::NoRegister) { in allocateSGPRSpillToVGPR()
288 isCalleeSavedReg(CSRegs, LaneVGPR)) { in allocateSGPRSpillToVGPR()
292 SpillVGPRs.push_back(SGPRSpillVGPRCSR(LaneVGPR, CSRSpillFI)); in allocateSGPRSpillToVGPR()
297 BB.addLiveIn(LaneVGPR); in allocateSGPRSpillToVGPR()
299 LaneVGPR = SpillVGPRs.back().VGPR; in allocateSGPRSpillToVGPR()
302 SpillLanes.push_back(SpilledReg(LaneVGPR, VGPRIndex)); in allocateSGPRSpillToVGPR()
/external/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.cpp206 unsigned LaneVGPR = TRI->findUnusedRegister(MRI, &AMDGPU::VGPR_32RegClass); in getSpilledReg() local
208 if (LaneVGPR == AMDGPU::NoRegister) in getSpilledReg()
212 LaneVGPRs[LaneVGPRIdx] = LaneVGPR; in getSpilledReg()
218 BI->addLiveIn(LaneVGPR); in getSpilledReg()