Lines Matching defs:CombineTo
317 SDValue CombineTo(SDNode *N, const SDValue *To, unsigned NumTo,
321 SDValue CombineTo(SDNode *N, SDValue Res, bool AddTo = true) {
322 return CombineTo(N, &Res, 1, AddTo);
326 SDValue CombineTo(SDNode *N, SDValue Res0, SDValue Res1,
329 return CombineTo(N, To, 2, AddTo);
921 CombineTo(SDNode *N, ArrayRef<SDValue> To, bool AddTo) {
922 return ((DAGCombiner*)DC)->CombineTo(N, &To[0], To.size(), AddTo);
926 CombineTo(SDNode *N, SDValue Res, bool AddTo) {
927 return ((DAGCombiner*)DC)->CombineTo(N, Res, AddTo);
931 CombineTo(SDNode *N, SDValue Res0, SDValue Res1, bool AddTo) {
932 return ((DAGCombiner*)DC)->CombineTo(N, Res0, Res1, AddTo);
1343 SDValue DAGCombiner::CombineTo(SDNode *N, const SDValue *To, unsigned NumTo,
1345 assert(N->getNumValues() == NumTo && "Broken CombineTo call!");
1556 CombineTo(Op.getNode(), RV);
1808 // CombineTo was used. Since CombineTo takes care of the worklist
3259 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3270 return CombineTo(N, N0, DAG.getNode(ISD::CARRY_FALSE,
3275 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3315 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3325 return CombineTo(N, N0, DAG.getConstant(0, DL, CarryVT));
3329 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3342 return CombineTo(
3424 return CombineTo(N, DAG.getNode(ISD::AND, DL, VT, CarryExt,
3645 return CombineTo(
4294 return CombineTo(N, DAG.getNode(ISD::SUB, DL, VT, N0, N1),
4299 return CombineTo(N, DAG.getConstant(0, DL, VT),
4304 return CombineTo(N, N0, DAG.getNode(ISD::CARRY_FALSE, DL, MVT::Glue));
4308 return CombineTo(N, DAG.getNode(ISD::XOR, DL, VT, N1, N0),
4325 return CombineTo(N, DAG.getNode(ISD::SUB, DL, VT, N0, N1),
4330 return CombineTo(N, DAG.getConstant(0, DL, VT),
4341 return CombineTo(N, N0, DAG.getConstant(0, DL, CarryVT));
4345 return CombineTo(N, DAG.getNode(ISD::SUB, DL, VT, N0, N1),
4350 return CombineTo(N, DAG.getNode(ISD::XOR, DL, VT, N1, N0),
4764 CombineTo(User, combined);
4766 CombineTo(User, combined.getValue(1));
4865 CombineTo(RemNode, Sub);
5005 CombineTo(RemNode, Sub);
5159 CombineTo(DivNode, OptimizedDiv);
5463 return CombineTo(N, Res, Res);
5471 return CombineTo(N, Res, Res);
5486 return CombineTo(N, LoOpt, LoOpt);
5496 return CombineTo(N, HiOpt, HiOpt);
5536 return CombineTo(N, Lo, Hi);
5564 return CombineTo(N, Zero, Zero);
5570 return CombineTo(N, N0, Zero);
5589 return CombineTo(N, Lo, Hi);
5616 return CombineTo(N, DAG.getConstant(Result, DL, VT),
5627 return CombineTo(N, DAG.getConstant(0, DL, VT),
5642 return CombineTo(N, And, Cmp);
5647 return CombineTo(N, DAG.getNode(ISD::MUL, DL, VT, N0, N1),
6527 // TODO: Rewrite this to return a new 'AND' instead of using CombineTo.
6549 CombineTo(N0.getNode(), NewAdd);
6841 CombineTo(Load, NewLoad, NewLoad.getValue(1));
7140 CombineTo(N, NewLoad);
7142 CombineTo(MLoad, NewLoad.getValue(0), NewLoad.getValue(1));
7301 CombineTo(N, (N0.getNode() == Load) ? NewLoad : N0);
7314 CombineTo(Load, To, 3, true);
7316 CombineTo(Load, NewLoad.getValue(0), NewLoad.getValue(1));
7366 CombineTo(N, ZExtLoad);
7471 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
9646 CombineTo(N, SetCC);
12272 CombineTo(MST1, MST1->getChain());
12437 return CombineTo(N, PassThru, MGT->getChain());
12463 return CombineTo(N, MLD->getPassThru(), MLD->getChain());
12473 return CombineTo(N, NewLd, NewLd.getValue(1));
12523 return CombineTo(N, NewLd, NewLd.getValue(1));
13317 CombineTo(SetCC, DAG.getNode(ISD::SETCC, DL, SetCC->getValueType(0), Ops));
13409 CombineTo(N, NewValue);
13416 CombineTo(N0.getNode(), Trunc, NewChain);
13481 CombineTo(N, And);
13487 CombineTo(Load, Trunc, ExtLoad.getValue(1));
13564 Combiner.CombineTo(N, ExtLoad);
13622 // If the load value is used only by N, replace it via CombineTo N.
13624 Combiner.CombineTo(N, ExtLoad);
13631 Combiner.CombineTo(LN0, Trunc, ExtLoad.getValue(1));
13900 CombineTo(N0.getNode(), NarrowLoad);
13901 // CombineTo deleted the truncate, if needed, but not what's under it.
13998 CombineTo(N, And);
14003 CombineTo(N0.getNode(), TruncAnd);
14010 CombineTo(LN00, Trunc, ExtLoad.getValue(1));
14189 CombineTo(N0.getNode(), NarrowLoad);
14190 // CombineTo deleted the truncate, if needed, but not what's under it.
14327 CombineTo(N, And);
14332 CombineTo(N0.getNode(), TruncAnd);
14339 CombineTo(LN00, Trunc, ExtLoad.getValue(1));
14496 CombineTo(N0.getNode(), NarrowLoad);
14497 // CombineTo deleted the truncate, if needed, but not what's under it.
14543 // If the load value is used only by N, replace it via CombineTo N.
14545 CombineTo(N, ExtLoad);
14552 CombineTo(LN0, Trunc, ExtLoad.getValue(1));
14570 CombineTo(N, ExtLoad);
15070 CombineTo(N, ExtLoad);
15071 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
15085 CombineTo(N, ExtLoad);
15086 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
15100 CombineTo(N, ExtMaskedLoad);
15101 CombineTo(N0.getNode(), ExtMaskedLoad, ExtMaskedLoad.getValue(1));
15117 CombineTo(N, ExtLoad);
15118 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
17729 CombineTo(U, NewNode);
17733 CombineTo(U, Reciprocal);
18425 CombineTo(N, ExtLoad);
18426 CombineTo(
19411 return CombineTo(LD, Ops, 3);
19413 return CombineTo(LD, Val, Chain);
19492 // It's not safe to use the two value CombineTo variant here. e.g.
19588 return CombineTo(N, ReplLoad.getValue(0), Token);
20137 CombineTo(LS.Inst, SliceInst, true);
20819 CombineTo(StoreNodes[i].MemNode, NewStore);
21584 CombineTo(StoreNodes[i].MemNode, NewStore);
21711 return CombineTo(ST, Token, false);
21926 // replaceStoreChain uses CombineTo, which handled all of the worklist
22034 CombineTo(ST1, ST1->getChain());
22047 CombineTo(ST1, ST1->getChain());
22076 // Return N as merge only uses CombineTo and no worklist clean
22147 CombineTo(ST, ST->getChain());
23015 CombineTo(E.Producer, V);
27351 return CombineTo(N, DAG.getUNDEF(N->getValueType(0)), MemSD->getChain());
27407 CombineTo(StNode, Res, false);
27816 CombineTo(TheSelect, Sqrt);
27962 CombineTo(TheSelect, Load);
27966 CombineTo(LHS.getNode(), Load.getValue(0), Load.getValue(1));
27967 CombineTo(RHS.getNode(), Load.getValue(0), Load.getValue(1));
29181 // Improve St's chain. Use a new node to avoid creating a loop from CombineTo.
29205 CombineTo(St, TF);