Lines Matching refs:ResultReg
414 unsigned ResultReg = in selectBinaryOp() local
417 if (!ResultReg) in selectBinaryOp()
421 updateValueMap(I, ResultReg); in selectBinaryOp()
448 unsigned ResultReg = fastEmit_ri_(VT.getSimpleVT(), ISDOpcode, Op0, in selectBinaryOp() local
450 if (!ResultReg) in selectBinaryOp()
454 updateValueMap(I, ResultReg); in selectBinaryOp()
460 unsigned ResultReg = fastEmit_rf(VT.getSimpleVT(), VT.getSimpleVT(), in selectBinaryOp() local
462 if (ResultReg) { in selectBinaryOp()
464 updateValueMap(I, ResultReg); in selectBinaryOp()
475 unsigned ResultReg = fastEmit_rr(VT.getSimpleVT(), VT.getSimpleVT(), in selectBinaryOp() local
477 if (!ResultReg) in selectBinaryOp()
483 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()
1008 updateValueMap(CLI.CS->getInstruction(), CLI.ResultReg, CLI.NumResultRegs); in lowerCallTo()
1222 unsigned ResultReg = getRegForValue(ResCI); in selectIntrinsicCall() local
1223 if (!ResultReg) in selectIntrinsicCall()
1225 updateValueMap(II, ResultReg); in selectIntrinsicCall()
1229 unsigned ResultReg = getRegForValue(II->getArgOperand(0)); in selectIntrinsicCall() local
1230 if (!ResultReg) in selectIntrinsicCall()
1232 updateValueMap(II, ResultReg); in selectIntrinsicCall()
1269 unsigned ResultReg = fastEmit_r(SrcVT.getSimpleVT(), DstVT.getSimpleVT(), in selectCast() local
1271 if (!ResultReg) in selectCast()
1274 updateValueMap(I, ResultReg); in selectCast()
1304 unsigned ResultReg = 0; in selectBitCast() local
1310 ResultReg = createResultReg(DstClass); in selectBitCast()
1312 TII.get(TargetOpcode::COPY), ResultReg).addReg(Op0); in selectBitCast()
1317 if (!ResultReg) in selectBitCast()
1318 ResultReg = fastEmit_r(SrcVT, DstVT, ISD::BITCAST, Op0, Op0IsKill); in selectBitCast()
1320 if (!ResultReg) in selectBitCast()
1323 updateValueMap(I, ResultReg); in selectBitCast()
1485 unsigned ResultReg = fastEmit_r(VT.getSimpleVT(), VT.getSimpleVT(), ISD::FNEG, in selectFNeg() local
1487 if (ResultReg) { in selectFNeg()
1488 updateValueMap(I, ResultReg); in selectFNeg()
1511 ResultReg = fastEmit_r(IntVT.getSimpleVT(), VT.getSimpleVT(), ISD::BITCAST, in selectFNeg()
1513 if (!ResultReg) in selectFNeg()
1516 updateValueMap(I, ResultReg); in selectFNeg()
1538 unsigned ResultReg; in selectExtractValue() local
1541 ResultReg = I->second; in selectExtractValue()
1543 ResultReg = FuncInfo.InitializeRegForValue(Op0); in selectExtractValue()
1554 ResultReg += TLI.getNumRegisters(FuncInfo.Fn->getContext(), AggValueVTs[i]); in selectExtractValue()
1556 updateValueMap(EVI, ResultReg); in selectExtractValue()
1761 unsigned ResultReg = fastEmit_ri(VT, VT, Opcode, Op0, Op0IsKill, Imm); in fastEmit_ri_() local
1762 if (ResultReg) in fastEmit_ri_()
1763 return ResultReg; in fastEmit_ri_()
1808 unsigned ResultReg = createResultReg(RC); in fastEmitInst_() local
1811 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg); in fastEmitInst_()
1812 return ResultReg; in fastEmitInst_()
1820 unsigned ResultReg = createResultReg(RC); in fastEmitInst_r() local
1824 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_r()
1830 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_r()
1833 return ResultReg; in fastEmitInst_r()
1842 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rr() local
1847 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rr()
1855 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rr()
1857 return ResultReg; in fastEmitInst_rr()
1867 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rrr() local
1873 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rrr()
1883 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rrr()
1885 return ResultReg; in fastEmitInst_rrr()
1893 unsigned ResultReg = createResultReg(RC); in fastEmitInst_ri() local
1897 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_ri()
1905 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_ri()
1907 return ResultReg; in fastEmitInst_ri()
1916 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rii() local
1920 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rii()
1930 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rii()
1932 return ResultReg; in fastEmitInst_rii()
1940 unsigned ResultReg = createResultReg(RC); in fastEmitInst_f() local
1943 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_f()
1949 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_f()
1951 return ResultReg; in fastEmitInst_f()
1960 unsigned ResultReg = createResultReg(RC); in fastEmitInst_rri() local
1965 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_rri()
1975 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_rri()
1977 return ResultReg; in fastEmitInst_rri()
1982 unsigned ResultReg = createResultReg(RC); in fastEmitInst_i() local
1986 BuildMI(*FuncInfo.MBB, FuncInfo.InsertPt, DbgLoc, II, ResultReg) in fastEmitInst_i()
1991 TII.get(TargetOpcode::COPY), ResultReg).addReg(II.ImplicitDefs[0]); in fastEmitInst_i()
1993 return ResultReg; in fastEmitInst_i()
1998 unsigned ResultReg = createResultReg(TLI.getRegClassFor(RetVT)); in fastEmitInst_extractsubreg() local
2004 ResultReg).addReg(Op0, getKillRegState(Op0IsKill), Idx); in fastEmitInst_extractsubreg()
2005 return ResultReg; in fastEmitInst_extractsubreg()