Lines Matching defs:VReg
2373 // Get an existing live-in vreg, or add a new one.
2374 unsigned VReg = MF.getRegInfo().getLiveInVirtReg(GPArgRegs[GPRIndex]);
2375 if (!VReg)
2376 VReg = MF.addLiveIn(GPArgRegs[GPRIndex], &PPC::GPRCRegClass);
2378 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
2392 // Get an existing live-in vreg, or add a new one.
2393 unsigned VReg = MF.getRegInfo().getLiveInVirtReg(FPArgRegs[FPRIndex]);
2394 if (!VReg)
2395 VReg = MF.addLiveIn(FPArgRegs[FPRIndex], &PPC::F8RCRegClass);
2397 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, MVT::f64);
2533 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2534 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
2570 unsigned VReg;
2571 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2574 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
2595 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2596 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64);
2612 unsigned VReg;
2615 VReg = MF.addLiveIn(FPR[FPR_idx], &PPC::F4RCRegClass);
2617 VReg = MF.addLiveIn(FPR[FPR_idx], Subtarget.hasVSX() ?
2621 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT);
2637 unsigned VReg = (ObjectVT == MVT::v2f64 || ObjectVT == MVT::v2i64) ?
2640 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT);
2688 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2689 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
2857 unsigned VReg;
2859 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2861 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass);
2862 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
2880 unsigned VReg;
2882 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2884 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass);
2887 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
2908 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass);
2909 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i32);
2926 unsigned VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
2927 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, MVT::i64);
2953 unsigned VReg;
2956 VReg = MF.addLiveIn(FPR[FPR_idx], &PPC::F4RCRegClass);
2958 VReg = MF.addLiveIn(FPR[FPR_idx], &PPC::F8RCRegClass);
2960 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT);
2976 unsigned VReg = MF.addLiveIn(VR[VR_idx], &PPC::VRRCRegClass);
2977 ArgVal = DAG.getCopyFromReg(Chain, dl, VReg, ObjectVT);
3048 unsigned VReg;
3051 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::G8RCRegClass);
3053 VReg = MF.addLiveIn(GPR[GPR_idx], &PPC::GPRCRegClass);
3055 SDValue Val = DAG.getCopyFromReg(Chain, dl, VReg, PtrVT);
4277 unsigned VReg = (Arg.getSimpleValueType() == MVT::v2f64 ||
4282 RegsToPass.push_back(std::make_pair(VReg, Load));
4300 unsigned VReg = (Arg.getSimpleValueType() == MVT::v2f64 ||
4305 RegsToPass.push_back(std::make_pair(VReg, Arg));
6743 // The incoming instruction knows the destination vreg to set, the