• Home
  • Raw
  • Download

Lines Matching refs:Reg1

696     unsigned Reg1 = RegInfo->getSEHRegNum(MBBI->getOperand(2).getReg());  in InsertSEH()  local
699 .addImm(Reg1) in InsertSEH()
709 Register Reg1 = MBBI->getOperand(2).getReg(); in InsertSEH() local
710 if (Reg0 == AArch64::FP && Reg1 == AArch64::LR) in InsertSEH()
717 .addImm(RegInfo->getSEHRegNum(Reg1)) in InsertSEH()
747 unsigned Reg1 = RegInfo->getSEHRegNum(MBBI->getOperand(1).getReg()); in InsertSEH() local
750 .addImm(Reg1) in InsertSEH()
758 Register Reg1 = MBBI->getOperand(1).getReg(); in InsertSEH() local
759 if (Reg0 == AArch64::FP && Reg1 == AArch64::LR) in InsertSEH()
766 .addImm(RegInfo->getSEHRegNum(Reg1)) in InsertSEH()
2015 static bool invalidateWindowsRegisterPairing(unsigned Reg1, unsigned Reg2, in invalidateWindowsRegisterPairing() argument
2028 if (Reg2 == Reg1 + 1) in invalidateWindowsRegisterPairing()
2035 if (Reg1 >= AArch64::X19 && Reg1 <= AArch64::X27 && in invalidateWindowsRegisterPairing()
2036 (Reg1 - AArch64::X19) % 2 == 0 && Reg2 == AArch64::LR && !IsFirst) in invalidateWindowsRegisterPairing()
2045 static bool invalidateRegisterPairing(unsigned Reg1, unsigned Reg2, in invalidateRegisterPairing() argument
2049 return invalidateWindowsRegisterPairing(Reg1, Reg2, NeedsWinCFI, IsFirst); in invalidateRegisterPairing()
2062 unsigned Reg1 = AArch64::NoRegister; member
2130 RPI.Reg1 = CSI[i].getReg(); in computeCalleeSaveRegisterPairs()
2132 if (AArch64::GPR64RegClass.contains(RPI.Reg1)) in computeCalleeSaveRegisterPairs()
2134 else if (AArch64::FPR64RegClass.contains(RPI.Reg1)) in computeCalleeSaveRegisterPairs()
2136 else if (AArch64::FPR128RegClass.contains(RPI.Reg1)) in computeCalleeSaveRegisterPairs()
2138 else if (AArch64::ZPRRegClass.contains(RPI.Reg1)) in computeCalleeSaveRegisterPairs()
2140 else if (AArch64::PPRRegClass.contains(RPI.Reg1)) in computeCalleeSaveRegisterPairs()
2152 !invalidateRegisterPairing(RPI.Reg1, NextReg, IsWindows, in computeCalleeSaveRegisterPairs()
2158 !invalidateWindowsRegisterPairing(RPI.Reg1, NextReg, NeedsWinCFI, in computeCalleeSaveRegisterPairs()
2174 if ((RPI.Reg1 == AArch64::LR || RPI.Reg2 == AArch64::LR) && in computeCalleeSaveRegisterPairs()
2192 RPI.Reg1 == AArch64::LR) && in computeCalleeSaveRegisterPairs()
2196 assert((!RPI.isPaired() || !NeedsFrameRecord || RPI.Reg1 != AArch64::FP || in computeCalleeSaveRegisterPairs()
2205 ((RPI.Reg1 == AArch64::LR && RPI.Reg2 == AArch64::FP) || in computeCalleeSaveRegisterPairs()
2206 RPI.Reg1 + 1 == RPI.Reg2))) && in computeCalleeSaveRegisterPairs()
2255 if (NeedsFrameRecord && ((!IsWindows && RPI.Reg1 == AArch64::LR && in computeCalleeSaveRegisterPairs()
2257 (IsWindows && RPI.Reg1 == AArch64::FP && in computeCalleeSaveRegisterPairs()
2330 unsigned Reg1 = RPI.Reg1; in spillCalleeSavedRegisters() local
2373 LLVM_DEBUG(dbgs() << "CSR spill: (" << printReg(Reg1, TRI); in spillCalleeSavedRegisters()
2379 assert((!NeedsWinCFI || !(Reg1 == AArch64::LR && Reg2 == AArch64::FP)) && in spillCalleeSavedRegisters()
2387 std::swap(Reg1, Reg2); in spillCalleeSavedRegisters()
2391 if (!MRI.isReserved(Reg1)) in spillCalleeSavedRegisters()
2392 MBB.addLiveIn(Reg1); in spillCalleeSavedRegisters()
2401 MIB.addReg(Reg1, getPrologueDeath(MF, Reg1)) in spillCalleeSavedRegisters()
2438 unsigned Reg1 = RPI.Reg1; in restoreCalleeSavedRegisters() local
2479 LLVM_DEBUG(dbgs() << "CSR restore: (" << printReg(Reg1, TRI); in restoreCalleeSavedRegisters()
2491 std::swap(Reg1, Reg2); in restoreCalleeSavedRegisters()
2501 MIB.addReg(Reg1, getDefRegState(true)) in restoreCalleeSavedRegisters()