Lines Matching refs:GPR_idx

3193   unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0;  in LowerFormalArguments_64SVR4()  local
3225 GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerFormalArguments_64SVR4()
3226 GPR_idx = std::min(GPR_idx, Num_GPR_Regs); in LowerFormalArguments_64SVR4()
3279 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_64SVR4()
3280 unsigned VReg = MF.addLiveIn(GPR[GPR_idx++], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3313 if (GPR_idx == Num_GPR_Regs) in LowerFormalArguments_64SVR4()
3316 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3327 ++GPR_idx; in LowerFormalArguments_64SVR4()
3352 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_64SVR4()
3353 unsigned VReg = MF.addLiveIn(GPR[GPR_idx++], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3391 } else if (GPR_idx != Num_GPR_Regs && CallConv != CallingConv::Fast) { in LowerFormalArguments_64SVR4()
3398 unsigned VReg = MF.addLiveIn(GPR[GPR_idx++], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3525 for (GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerFormalArguments_64SVR4()
3526 GPR_idx < Num_GPR_Regs; ++GPR_idx) { in LowerFormalArguments_64SVR4()
3527 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3582 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerFormalArguments_Darwin() local
3690 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3693 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3695 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
3702 ++GPR_idx; in LowerFormalArguments_Darwin()
3713 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3716 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3718 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
3726 ++GPR_idx; in LowerFormalArguments_Darwin()
3741 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3742 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
3748 ++GPR_idx; in LowerFormalArguments_Darwin()
3759 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3760 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3768 ++GPR_idx; in LowerFormalArguments_Darwin()
3781 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3782 ++GPR_idx; in LowerFormalArguments_Darwin()
3783 if (ObjSize == 8 && GPR_idx != Num_GPR_Regs && !isPPC64) in LowerFormalArguments_Darwin()
3784 ++GPR_idx; in LowerFormalArguments_Darwin()
3815 if (GPR_idx != Num_GPR_Regs) in LowerFormalArguments_Darwin()
3816 GPR_idx++; in LowerFormalArguments_Darwin()
3819 GPR_idx = std::min(GPR_idx+4, Num_GPR_Regs); // FIXME correct for ppc64? in LowerFormalArguments_Darwin()
3882 for (; GPR_idx != Num_GPR_Regs; ++GPR_idx) { in LowerFormalArguments_Darwin()
3886 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3888 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
5026 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerCall_64SVR4() local
5194 GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerCall_64SVR4()
5195 GPR_idx = std::min(GPR_idx, NumGPRs); in LowerCall_64SVR4()
5227 if (GPR_idx != NumGPRs) { in LowerCall_64SVR4()
5232 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5239 if (GPR_idx == NumGPRs && Size < 8) { in LowerCall_64SVR4()
5271 if (Size < 8 && GPR_idx != NumGPRs) { in LowerCall_64SVR4()
5294 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5306 if (GPR_idx != NumGPRs) { in LowerCall_64SVR4()
5311 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5336 if (GPR_idx != NumGPRs) { in LowerCall_64SVR4()
5337 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Arg)); in LowerCall_64SVR4()
5372 else if (GPR_idx != NumGPRs && CallConv != CallingConv::Fast) { in LowerCall_64SVR4()
5414 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], ArgVal)); in LowerCall_64SVR4()
5481 if (GPR_idx == NumGPRs) in LowerCall_64SVR4()
5488 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5539 if (GPR_idx == NumGPRs) in LowerCall_64SVR4()
5546 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5730 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerCall_Darwin() local
5782 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5787 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5814 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5819 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5834 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5838 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Arg)); in LowerCall_Darwin()
5857 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5862 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5864 if (GPR_idx != NumGPRs && Arg.getValueType() == MVT::f64 && !isPPC64){ in LowerCall_Darwin()
5871 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5877 if (GPR_idx != NumGPRs) in LowerCall_Darwin()
5878 ++GPR_idx; in LowerCall_Darwin()
5879 if (GPR_idx != NumGPRs && Arg.getValueType() == MVT::f64 && in LowerCall_Darwin()
5881 ++GPR_idx; in LowerCall_Darwin()
5904 if (GPR_idx != NumGPRs) in LowerCall_Darwin()
5905 GPR_idx++; in LowerCall_Darwin()
5923 if (GPR_idx == NumGPRs) in LowerCall_Darwin()
5930 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()