Lines Matching defs:RPI
904 RegPairInfo RPI;
905 RPI.Reg1 = CSI[i].getReg();
907 assert(AArch64::GPR64RegClass.contains(RPI.Reg1) ||
908 AArch64::FPR64RegClass.contains(RPI.Reg1));
909 RPI.IsGPR = AArch64::GPR64RegClass.contains(RPI.Reg1);
914 if ((RPI.IsGPR && AArch64::GPR64RegClass.contains(NextReg)) ||
915 (!RPI.IsGPR && AArch64::FPR64RegClass.contains(NextReg)))
916 RPI.Reg2 = NextReg;
925 assert((!RPI.isPaired() ||
933 (RPI.isPaired() &&
934 ((RPI.Reg1 == AArch64::LR && RPI.Reg2 == AArch64::FP) ||
935 RPI.Reg1 + 1 == RPI.Reg2))) &&
938 RPI.FrameIdx = CSI[i].getFrameIdx();
940 if (Count * 8 != AFI->getCalleeSavedStackSize() && !RPI.isPaired()) {
944 assert(MFI->getObjectAlignment(RPI.FrameIdx) <= 16);
945 MFI->setObjectAlignment(RPI.FrameIdx, 16);
948 Offset -= RPI.isPaired() ? 16 : 8;
950 RPI.Offset = Offset / 8;
951 assert((RPI.Offset >= -64 && RPI.Offset <= 63) &&
954 RegPairs.push_back(RPI);
955 if (RPI.isPaired())
973 RegPairInfo RPI = *RPII;
974 unsigned Reg1 = RPI.Reg1;
975 unsigned Reg2 = RPI.Reg2;
988 if (RPI.IsGPR)
989 StrOpc = RPI.isPaired() ? AArch64::STPXi : AArch64::STRXui;
991 StrOpc = RPI.isPaired() ? AArch64::STPDi : AArch64::STRDui;
993 if (RPI.isPaired())
995 dbgs() << ") -> fi#(" << RPI.FrameIdx;
996 if (RPI.isPaired())
997 dbgs() << ", " << RPI.FrameIdx+1;
1002 if (RPI.isPaired()) {
1006 MachinePointerInfo::getFixedStack(MF, RPI.FrameIdx + 1),
1011 .addImm(RPI.Offset) // [sp, #offset*8], where factor*8 is implicit
1014 MachinePointerInfo::getFixedStack(MF, RPI.FrameIdx),
1036 RegPairInfo RPI = *RPII;
1037 unsigned Reg1 = RPI.Reg1;
1038 unsigned Reg2 = RPI.Reg2;
1049 if (RPI.IsGPR)
1050 LdrOpc = RPI.isPaired() ? AArch64::LDPXi : AArch64::LDRXui;
1052 LdrOpc = RPI.isPaired() ? AArch64::LDPDi : AArch64::LDRDui;
1054 if (RPI.isPaired())
1056 dbgs() << ") -> fi#(" << RPI.FrameIdx;
1057 if (RPI.isPaired())
1058 dbgs() << ", " << RPI.FrameIdx+1;
1062 if (RPI.isPaired()) {
1065 MachinePointerInfo::getFixedStack(MF, RPI.FrameIdx + 1),
1070 .addImm(RPI.Offset) // [sp, #offset*8] where the factor*8 is implicit
1073 MachinePointerInfo::getFixedStack(MF, RPI.FrameIdx),