예제 #1
0
static bool isSGPRToVGPRCopy(const TargetRegisterClass *SrcRC,
                             const TargetRegisterClass *DstRC,
                             const SIRegisterInfo &TRI) {
  return TRI.isSGPRClass(SrcRC) && TRI.hasVGPRs(DstRC);
}
예제 #2
0
bool SIFixSGPRCopies::isSGPRToVGPRCopy(const TargetRegisterClass *SrcRC,
                                       const TargetRegisterClass *DstRC,
                                       const SIRegisterInfo &TRI) const {
  return TRI.isSGPRClass(SrcRC) && TRI.hasVGPRs(DstRC);
}