Lines Matching refs:GPR_idx
2908 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerFormalArguments_64SVR4() local
2940 GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerFormalArguments_64SVR4()
2941 GPR_idx = std::min(GPR_idx, Num_GPR_Regs); in LowerFormalArguments_64SVR4()
2994 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_64SVR4()
2995 unsigned VReg = MF.addLiveIn(GPR[GPR_idx++], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3028 if (GPR_idx == Num_GPR_Regs) in LowerFormalArguments_64SVR4()
3031 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3042 ++GPR_idx; in LowerFormalArguments_64SVR4()
3056 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_64SVR4()
3057 unsigned VReg = MF.addLiveIn(GPR[GPR_idx++], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3092 } else if (GPR_idx != Num_GPR_Regs && CallConv != CallingConv::Fast) { in LowerFormalArguments_64SVR4()
3099 unsigned VReg = MF.addLiveIn(GPR[GPR_idx++], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3225 for (GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerFormalArguments_64SVR4()
3226 GPR_idx < Num_GPR_Regs; ++GPR_idx) { in LowerFormalArguments_64SVR4()
3227 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_64SVR4()
3286 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerFormalArguments_Darwin() local
3394 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3397 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3399 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
3406 ++GPR_idx; in LowerFormalArguments_Darwin()
3417 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3420 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3422 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
3430 ++GPR_idx; in LowerFormalArguments_Darwin()
3445 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3446 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
3452 ++GPR_idx; in LowerFormalArguments_Darwin()
3463 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3464 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3472 ++GPR_idx; in LowerFormalArguments_Darwin()
3485 if (GPR_idx != Num_GPR_Regs) { in LowerFormalArguments_Darwin()
3486 ++GPR_idx; in LowerFormalArguments_Darwin()
3487 if (ObjSize == 8 && GPR_idx != Num_GPR_Regs && !isPPC64) in LowerFormalArguments_Darwin()
3488 ++GPR_idx; in LowerFormalArguments_Darwin()
3519 if (GPR_idx != Num_GPR_Regs) in LowerFormalArguments_Darwin()
3520 GPR_idx++; in LowerFormalArguments_Darwin()
3523 GPR_idx = std::min(GPR_idx+4, Num_GPR_Regs); // FIXME correct for ppc64? in LowerFormalArguments_Darwin()
3586 for (; GPR_idx != Num_GPR_Regs; ++GPR_idx) { in LowerFormalArguments_Darwin()
3590 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass); in LowerFormalArguments_Darwin()
3592 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass); in LowerFormalArguments_Darwin()
4559 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerCall_64SVR4() local
4720 GPR_idx = (ArgOffset - LinkageSize) / PtrByteSize; in LowerCall_64SVR4()
4721 GPR_idx = std::min(GPR_idx, NumGPRs); in LowerCall_64SVR4()
4753 if (GPR_idx != NumGPRs) { in LowerCall_64SVR4()
4758 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
4765 if (GPR_idx == NumGPRs && Size < 8) { in LowerCall_64SVR4()
4797 if (Size < 8 && GPR_idx != NumGPRs) { in LowerCall_64SVR4()
4820 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
4832 if (GPR_idx != NumGPRs) { in LowerCall_64SVR4()
4837 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
4855 if (GPR_idx != NumGPRs) { in LowerCall_64SVR4()
4856 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Arg)); in LowerCall_64SVR4()
4891 else if (GPR_idx != NumGPRs && CallConv != CallingConv::Fast) { in LowerCall_64SVR4()
4933 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], ArgVal)); in LowerCall_64SVR4()
4999 if (GPR_idx == NumGPRs) in LowerCall_64SVR4()
5006 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5057 if (GPR_idx == NumGPRs) in LowerCall_64SVR4()
5064 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_64SVR4()
5250 unsigned GPR_idx = 0, FPR_idx = 0, VR_idx = 0; in LowerCall_Darwin() local
5302 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5307 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5334 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5339 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5354 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5358 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Arg)); in LowerCall_Darwin()
5377 if (GPR_idx != NumGPRs) { in LowerCall_Darwin()
5382 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5384 if (GPR_idx != NumGPRs && Arg.getValueType() == MVT::f64 && !isPPC64){ in LowerCall_Darwin()
5391 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()
5397 if (GPR_idx != NumGPRs) in LowerCall_Darwin()
5398 ++GPR_idx; in LowerCall_Darwin()
5399 if (GPR_idx != NumGPRs && Arg.getValueType() == MVT::f64 && in LowerCall_Darwin()
5401 ++GPR_idx; in LowerCall_Darwin()
5424 if (GPR_idx != NumGPRs) in LowerCall_Darwin()
5425 GPR_idx++; in LowerCall_Darwin()
5443 if (GPR_idx == NumGPRs) in LowerCall_Darwin()
5450 RegsToPass.push_back(std::make_pair(GPR[GPR_idx++], Load)); in LowerCall_Darwin()