Lines Matching refs:ResultReg
411 unsigned ResultReg = in selectBinaryOp() local
414 if (!ResultReg) in selectBinaryOp()
418 updateValueMap(I, ResultReg); in selectBinaryOp()
445 unsigned ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in selectBinaryOp() local
447 if (!ResultReg) in selectBinaryOp()
451 updateValueMap(I, ResultReg); in selectBinaryOp()
457 unsigned ResultReg = fastEmit_rf(VT.getSimpleVT(), VT.getSimpleVT(), in selectBinaryOp() local
459 if (ResultReg) { in selectBinaryOp()
461 updateValueMap(I, ResultReg); in selectBinaryOp()
472 unsigned ResultReg = fastEmit_rr(VT.getSimpleVT(), VT.getSimpleVT(), in selectBinaryOp() local
474 if (!ResultReg) in selectBinaryOp()
480 updateValueMap(I, ResultReg); in selectBinaryOp()
756 CLI.ResultReg = createResultReg(TLI.getRegClassFor(MVT::i64)); in selectPatchpoint()
758 Ops.push_back(MachineOperand::CreateReg(CLI.ResultReg, /*IsDef=*/true)); in selectPatchpoint()
851 updateValueMap(I, CLI.ResultReg, CLI.NumResultRegs); in selectPatchpoint()
1005 updateValueMap(CLI.CS->getInstruction(), CLI.ResultReg, CLI.NumResultRegs); in lowerCallTo()
1220 unsigned ResultReg = getRegForValue(ResCI); in selectIntrinsicCall() local
1221 if (!ResultReg) in selectIntrinsicCall()
1223 updateValueMap(II, ResultReg); in selectIntrinsicCall()
1227 unsigned ResultReg = getRegForValue(II->getArgOperand(0)); in selectIntrinsicCall() local
1228 if (!ResultReg) in selectIntrinsicCall()
1230 updateValueMap(II, ResultReg); in selectIntrinsicCall()
1267 unsigned ResultReg = fastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), in selectCast() local
1269 if (!ResultReg) in selectCast()
1272 updateValueMap(I, ResultReg); in selectCast()
1302 unsigned ResultReg = 0; in selectBitCast() local
1308 ResultReg = createResultReg(DstClass); in selectBitCast()
1310 TII.get(TargetOpcode::COPY), ResultReg).addReg(Op0); in selectBitCast()
1315 if (!ResultReg) in selectBitCast()
1316 ResultReg = fastEmit_r(SrcVT, DstVT, ISD::BITCAST, Op0, Op0IsKill); in selectBitCast()
1318 if (!ResultReg) in selectBitCast()
1321 updateValueMap(I, ResultReg); in selectBitCast()
1462 unsigned ResultReg = fastEmit_r(VT.getSimpleVT(), VT.getSimpleVT(), ISD::FNEG, in selectFNeg() local
1464 if (ResultReg) { in selectFNeg()
1465 updateValueMap(I, ResultReg); in selectFNeg()
1488 ResultReg = fastEmit_r(IntVT.getSimpleVT(), VT.getSimpleVT(), ISD::BITCAST, in selectFNeg()
1490 if (!ResultReg) in selectFNeg()
1493 updateValueMap(I, ResultReg); in selectFNeg()
1515 unsigned ResultReg; in selectExtractValue() local
1518 ResultReg = I->second; in selectExtractValue()
1520 ResultReg = FuncInfo.InitializeRegForValue(Op0); in selectExtractValue()
1531 ResultReg += TLI.getNumRegisters(FuncInfo.Fn->getContext(), AggValueVTs[i]); in selectExtractValue()
1533 updateValueMap(EVI, ResultReg); in selectExtractValue()
1738 unsigned ResultReg = fastEmit_ri(VT, VT, Opcode, Op0, Op0IsKill, Imm); in fastEmit_ri_() local
1739 if (ResultReg) in fastEmit_ri_()
1740 return ResultReg; in fastEmit_ri_()
1785 unsigned ResultReg = createResultReg(RC); in fastEmitInst_() local
1788 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg); in fastEmitInst_()
1789 return ResultReg; in fastEmitInst_()
1797 unsigned ResultReg = createResultReg(RC); in fastEmitInst_r() local
1801 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_r()
1807 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_r()
1810 return ResultReg; in fastEmitInst_r()
1819 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rr() local
1824 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rr()
1832 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rr()
1834 return ResultReg; in fastEmitInst_rr()
1844 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rrr() local
1850 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rrr()
1860 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rrr()
1862 return ResultReg; in fastEmitInst_rrr()
1870 unsigned ResultReg = createResultReg(RC); in fastEmitInst_ri() local
1874 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_ri()
1882 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_ri()
1884 return ResultReg; in fastEmitInst_ri()
1893 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rii() local
1897 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rii()
1907 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rii()
1909 return ResultReg; in fastEmitInst_rii()
1917 unsigned ResultReg = createResultReg(RC); in fastEmitInst_f() local
1920 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_f()
1926 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_f()
1928 return ResultReg; in fastEmitInst_f()
1937 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rri() local
1942 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rri()
1952 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rri()
1954 return ResultReg; in fastEmitInst_rri()
1959 unsigned ResultReg = createResultReg(RC); in fastEmitInst_i() local
1963 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_i()
1968 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_i()
1970 return ResultReg; in fastEmitInst_i()
1975 unsigned ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg() local
1981 ResultReg).addReg(Op0, getKillRegState(Op0IsKill), Idx); in fastEmitInst_extractsubreg()
1982 return ResultReg; in fastEmitInst_extractsubreg()