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