[NFC] Move getAll{S,V}GPR{32,128} methods to SIFrameLowering
authorvnalamot <VenkataRamanaiah.Nalamothu@amd.com>
Wed, 17 Jun 2020 16:08:09 +0000 (12:08 -0400)
committerScott Linder <Scott.Linder@amd.com>
Wed, 17 Jun 2020 16:08:09 +0000 (12:08 -0400)
commit2e28009981f91acc3d14268f3d9ded84963e972b
tree8c6878f2b0306c5a3f31d6f03fb732c8fff57306
parent7cfd267c518aba226b34b7fbfe8db70000b22053
[NFC] Move getAll{S,V}GPR{32,128} methods to SIFrameLowering

Summary:
Future patch needs some of these in multiple places.

The definitions of these can't be in the header and be eligible for
inlining without making the full declaration of GCNSubtarget visible.
I'm not sure what the right trade-off is, but I opted to not bloat
SIRegisterInfo.h

Reviewers: arsenm, cdevadas

Reviewed By: arsenm

Subscribers: RamNalamothu, qcolombet, jvesely, wdng, nhaehnle, hiraditya, kerbowa, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D79878
llvm/lib/Target/AMDGPU/SIFrameLowering.cpp
llvm/lib/Target/AMDGPU/SILowerSGPRSpills.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.cpp
llvm/lib/Target/AMDGPU/SIRegisterInfo.h