Lines Matching refs:ResultReg
157 bool PPCEmitLoad(MVT VT, unsigned &ResultReg, Address &Addr,
443 unsigned ResultReg = createResultReg(&PPC::G8RC_and_G8RC_NOX0RegClass); in PPCSimplifyAddress() local
445 ResultReg).addFrameIndex(Addr.Base.FI).addImm(0); in PPCSimplifyAddress()
446 Addr.Base.Reg = ResultReg; in PPCSimplifyAddress()
462 bool PPCFastISel::PPCEmitLoad(MVT VT, unsigned &ResultReg, Address &Addr, in PPCEmitLoad() argument
476 (ResultReg ? MRI.getRegClass(ResultReg) : in PPCEmitLoad()
524 bool IsVSSRC = (ResultReg != 0) && isVSSRCRegister(ResultReg); in PPCEmitLoad()
525 bool IsVSFRC = (ResultReg != 0) && isVSFRCRegister(ResultReg); in PPCEmitLoad()
534 if (ResultReg == 0) in PPCEmitLoad()
535 ResultReg = createResultReg(UseRC); in PPCEmitLoad()
550 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
558 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
582 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in PPCEmitLoad()
612 unsigned ResultReg = 0; in SelectLoad() local
613 if (!PPCEmitLoad(VT, ResultReg, Addr, RC)) in SelectLoad()
615 updateValueMap(I, ResultReg); in SelectLoad()
989 unsigned ResultReg = 0; in PPCMoveToFPReg() local
990 if (!PPCEmitLoad(MVT::f64, ResultReg, Addr, RC, !IsSigned, LoadOpc)) in PPCMoveToFPReg()
993 return ResultReg; in PPCMoveToFPReg()
1098 unsigned ResultReg = 0; in PPCMoveToIntReg() local
1099 if (!PPCEmitLoad(VT, ResultReg, Addr, RC, !IsSigned)) in PPCMoveToIntReg()
1102 return ResultReg; in PPCMoveToIntReg()
1203 unsigned ResultReg = createResultReg(RC ? RC : &PPC::G8RCRegClass); in SelectBinaryIntOp() local
1252 ResultReg) in SelectBinaryIntOp()
1255 updateValueMap(I, ResultReg); in SelectBinaryIntOp()
1269 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, TII.get(Opc), ResultReg) in SelectBinaryIntOp()
1271 updateValueMap(I, ResultReg); in SelectBinaryIntOp()
1421 unsigned ResultReg = 0; in finishCall() local
1425 ResultReg = createResultReg(CpyRC); in finishCall()
1428 TII.get(TargetOpcode::COPY), ResultReg) in finishCall()
1433 ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in finishCall()
1435 ResultReg).addReg(SourcePhysReg); in finishCall()
1442 ResultReg = createResultReg(&PPC::GPRCRegClass); in finishCall()
1446 TII.get(TargetOpcode::COPY), ResultReg) in finishCall()
1450 assert(ResultReg && "ResultReg unset!"); in finishCall()
1452 CLI.ResultReg = ResultReg; in finishCall()
1800 unsigned ResultReg = createResultReg(&PPC::GPRCRegClass); in SelectTrunc() local
1803 ResultReg).addReg(SrcReg, 0, PPC::sub_32); in SelectTrunc()
1804 SrcReg = ResultReg; in SelectTrunc()
1841 unsigned ResultReg = createResultReg(RC); in SelectIntExt() local
1843 if (!PPCEmitIntExt(SrcVT, SrcReg, DestVT, ResultReg, IsZExt)) in SelectIntExt()
1846 updateValueMap(I, ResultReg); in SelectIntExt()
2011 unsigned ResultReg = createResultReg(RC); in PPCMaterialize32BitInt() local
2016 TII.get(IsGPRC ? PPC::LI : PPC::LI8), ResultReg) in PPCMaterialize32BitInt()
2025 TII.get(IsGPRC ? PPC::ORI : PPC::ORI8), ResultReg) in PPCMaterialize32BitInt()
2030 TII.get(IsGPRC ? PPC::LIS : PPC::LIS8), ResultReg) in PPCMaterialize32BitInt()
2033 return ResultReg; in PPCMaterialize32BitInt()
2083 unsigned ResultReg = createResultReg(RC); in PPCMaterialize64BitInt() local
2085 ResultReg).addReg(TmpReg3).addImm(Lo); in PPCMaterialize64BitInt()
2086 return ResultReg; in PPCMaterialize64BitInt()
2166 unsigned ResultReg = createResultReg(&PPC::G8RC_and_G8RC_NOX0RegClass); in fastMaterializeAlloca() local
2168 ResultReg).addFrameIndex(SI->second).addImm(0); in fastMaterializeAlloca()
2169 return ResultReg; in fastMaterializeAlloca()
2244 unsigned ResultReg = MI->getOperand(0).getReg(); in tryToFoldLoadIntoMI() local
2246 if (!PPCEmitLoad(VT, ResultReg, Addr, nullptr, IsZExt)) in tryToFoldLoadIntoMI()