Lines Matching refs:ResultReg
156 bool PPCEmitLoad(MVT VT, unsigned &ResultReg, Address &Addr,
429 unsigned ResultReg = createResultReg(&PPC::G8RC_and_G8RC_NOX0RegClass); in PPCSimplifyAddress() local
431 ResultReg).addFrameIndex(Addr.Base.FI).addImm(0); in PPCSimplifyAddress()
432 Addr.Base.Reg = ResultReg; in PPCSimplifyAddress()
449 bool PPCFastISel::PPCEmitLoad(MVT VT, unsigned &ResultReg, Address &Addr, in PPCEmitLoad() argument
463 (ResultReg ? MRI.getRegClass(ResultReg) : in PPCEmitLoad()
511 bool IsVSSRC = (ResultReg != 0) && isVSSRCRegister(ResultReg); in PPCEmitLoad()
512 bool IsVSFRC = (ResultReg != 0) && isVSFRCRegister(ResultReg); in PPCEmitLoad()
521 if (ResultReg == 0) in PPCEmitLoad()
522 ResultReg = createResultReg(UseRC); in PPCEmitLoad()
537 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
545 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
569 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
599 unsigned ResultReg = 0; in SelectLoad() local
600 if (!PPCEmitLoad(VT, ResultReg, Addr, RC)) in SelectLoad()
602 updateValueMap(I, ResultReg); in SelectLoad()
976 unsigned ResultReg = 0; in PPCMoveToFPReg() local
977 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc)) in PPCMoveToFPReg()
980 return ResultReg; in PPCMoveToFPReg()
1085 unsigned ResultReg = 0; in PPCMoveToIntReg() local
1086 if (!PPCEmitLoad(VT, ResultReg, Addr, RC, !IsSigned)) in PPCMoveToIntReg()
1089 return ResultReg; in PPCMoveToIntReg()
1191 unsigned ResultReg = createResultReg(RC ? RC : &PPC::G8RCRegClass); in SelectBinaryIntOp() local
1240 ResultReg) in SelectBinaryIntOp()
1243 updateValueMap(I, ResultReg); in SelectBinaryIntOp()
1257 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in SelectBinaryIntOp()
1259 updateValueMap(I, ResultReg); in SelectBinaryIntOp()
1409 unsigned ResultReg = 0; in finishCall() local
1413 ResultReg = createResultReg(CpyRC); in finishCall()
1416 TII.get(TargetOpcode::COPY), ResultReg) in finishCall()
1421 ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in finishCall()
1423 ResultReg).addReg(SourcePhysReg); in finishCall()
1430 ResultReg = createResultReg(&PPC::GPRCRegClass); in finishCall()
1434 TII.get(TargetOpcode::COPY), ResultReg) in finishCall()
1438 assert(ResultReg && "ResultReg unset!"); in finishCall()
1440 CLI.ResultReg = ResultReg; in finishCall()
1785 unsigned ResultReg = createResultReg(&PPC::GPRCRegClass); in SelectTrunc() local
1788 ResultReg).addReg(SrcReg, 0, PPC::sub_32); in SelectTrunc()
1789 SrcReg = ResultReg; in SelectTrunc()
1826 unsigned ResultReg = createResultReg(RC); in SelectIntExt() local
1828 if (!PPCEmitIntExt(SrcVT, SrcReg, DestVT, ResultReg, IsZExt)) in SelectIntExt()
1831 updateValueMap(I, ResultReg); in SelectIntExt()
1996 unsigned ResultReg = createResultReg(RC); in PPCMaterialize32BitInt() local
2001 TII.get(IsGPRC ? PPC::LI : PPC::LI8), ResultReg) in PPCMaterialize32BitInt()
2010 TII.get(IsGPRC ? PPC::ORI : PPC::ORI8), ResultReg) in PPCMaterialize32BitInt()
2015 TII.get(IsGPRC ? PPC::LIS : PPC::LIS8), ResultReg) in PPCMaterialize32BitInt()
2018 return ResultReg; in PPCMaterialize32BitInt()
2068 unsigned ResultReg = createResultReg(RC); in PPCMaterialize64BitInt() local
2070 ResultReg).addReg(TmpReg3).addImm(Lo); in PPCMaterialize64BitInt()
2071 return ResultReg; in PPCMaterialize64BitInt()
2156 unsigned ResultReg = createResultReg(&PPC::G8RC_and_G8RC_NOX0RegClass); in fastMaterializeAlloca() local
2158 ResultReg).addFrameIndex(SI->second).addImm(0); in fastMaterializeAlloca()
2159 return ResultReg; in fastMaterializeAlloca()
2234 unsigned ResultReg = MI->getOperand(0).getReg(); in tryToFoldLoadIntoMI() local
2236 if (!PPCEmitLoad(VT, ResultReg, Addr, nullptr, IsZExt)) in tryToFoldLoadIntoMI()