Lines Matching refs:ResultReg
166 bool PPCEmitLoad(MVT VT, Register &ResultReg, Address &Addr,
436 unsigned ResultReg = createResultReg(&PPC::G8RC_and_G8RC_NOX0RegClass); in PPCSimplifyAddress() local
438 ResultReg).addFrameIndex(Addr.Base.FI).addImm(0); in PPCSimplifyAddress()
439 Addr.Base.Reg = ResultReg; in PPCSimplifyAddress()
455 bool PPCFastISel::PPCEmitLoad(MVT VT, Register &ResultReg, Address &Addr, in PPCEmitLoad() argument
470 (ResultReg ? MRI.getRegClass(ResultReg) : in PPCEmitLoad()
526 if (ResultReg == 0) in PPCEmitLoad()
527 ResultReg = createResultReg(UseRC); in PPCEmitLoad()
542 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
550 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
578 ResultReg); in PPCEmitLoad()
616 Register ResultReg = 0; in SelectLoad() local
617 if (!PPCEmitLoad(VT, ResultReg, Addr, RC, true, in SelectLoad()
620 updateValueMap(I, ResultReg); in SelectLoad()
1056 Register ResultReg = 0; in PPCMoveToFPReg() local
1057 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc)) in PPCMoveToFPReg()
1060 return ResultReg; in PPCMoveToFPReg()
1181 Register ResultReg = 0; in PPCMoveToIntReg() local
1182 if (!PPCEmitLoad(VT, ResultReg, Addr, RC, !IsSigned)) in PPCMoveToIntReg()
1185 return ResultReg; in PPCMoveToIntReg()
1303 unsigned ResultReg = createResultReg(RC ? RC : &PPC::G8RCRegClass); in SelectBinaryIntOp() local
1352 ResultReg) in SelectBinaryIntOp()
1355 updateValueMap(I, ResultReg); in SelectBinaryIntOp()
1369 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in SelectBinaryIntOp()
1371 updateValueMap(I, ResultReg); in SelectBinaryIntOp()
1521 unsigned ResultReg = 0; in finishCall() local
1525 ResultReg = copyRegToRegClass(CpyRC, SourcePhysReg); in finishCall()
1529 ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in finishCall()
1531 ResultReg).addReg(SourcePhysReg); in finishCall()
1540 ResultReg = copyRegToRegClass(&PPC::GPRCRegClass, SourcePhysReg); in finishCall()
1543 assert(ResultReg && "ResultReg unset!"); in finishCall()
1545 CLI.ResultReg = ResultReg; in finishCall()
1933 unsigned ResultReg = createResultReg(RC); in SelectIntExt() local
1935 if (!PPCEmitIntExt(SrcVT, SrcReg, DestVT, ResultReg, IsZExt)) in SelectIntExt()
1938 updateValueMap(I, ResultReg); in SelectIntExt()
2130 unsigned ResultReg = createResultReg(RC); in PPCMaterialize32BitInt() local
2135 TII.get(IsGPRC ? PPC::LI : PPC::LI8), ResultReg) in PPCMaterialize32BitInt()
2144 TII.get(IsGPRC ? PPC::ORI : PPC::ORI8), ResultReg) in PPCMaterialize32BitInt()
2149 TII.get(IsGPRC ? PPC::LIS : PPC::LIS8), ResultReg) in PPCMaterialize32BitInt()
2152 return ResultReg; in PPCMaterialize32BitInt()
2202 unsigned ResultReg = createResultReg(RC); in PPCMaterialize64BitInt() local
2204 ResultReg).addReg(TmpReg3).addImm(Lo); in PPCMaterialize64BitInt()
2205 return ResultReg; in PPCMaterialize64BitInt()
2290 unsigned ResultReg = createResultReg(&PPC::G8RC_and_G8RC_NOX0RegClass); in fastMaterializeAlloca() local
2292 ResultReg).addFrameIndex(SI->second).addImm(0); in fastMaterializeAlloca()
2293 return ResultReg; in fastMaterializeAlloca()
2369 Register ResultReg = MI->getOperand(0).getReg(); in tryToFoldLoadIntoMI() local
2371 if (!PPCEmitLoad(VT, ResultReg, Addr, nullptr, IsZExt, in tryToFoldLoadIntoMI()