Lines Matching defs:CombineTo
313 SDValue CombineTo(SDNode *N, const SDValue *To, unsigned NumTo,
317 SDValue CombineTo(SDNode *N, SDValue Res, bool AddTo = true) {
318 return CombineTo(N, &Res, 1, AddTo);
322 SDValue CombineTo(SDNode *N, SDValue Res0, SDValue Res1,
325 return CombineTo(N, To, 2, AddTo);
910 CombineTo(SDNode *N, ArrayRef<SDValue> To, bool AddTo) {
911 return ((DAGCombiner*)DC)->CombineTo(N, &To[0], To.size(), AddTo);
915 CombineTo(SDNode *N, SDValue Res, bool AddTo) {
916 return ((DAGCombiner*)DC)->CombineTo(N, Res, AddTo);
920 CombineTo(SDNode *N, SDValue Res0, SDValue Res1, bool AddTo) {
921 return ((DAGCombiner*)DC)->CombineTo(N, Res0, Res1, AddTo);
1329 SDValue DAGCombiner::CombineTo(SDNode *N, const SDValue *To, unsigned NumTo,
1331 assert(N->getNumValues() == NumTo && "Broken CombineTo call!");
1542 CombineTo(Op.getNode(), RV);
1794 // CombineTo was used. Since CombineTo takes care of the worklist
3232 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3243 return CombineTo(N, N0, DAG.getNode(ISD::CARRY_FALSE,
3248 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3307 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3317 return CombineTo(N, N0, DAG.getConstant(0, DL, CarryVT));
3321 return CombineTo(N, DAG.getNode(ISD::ADD, DL, VT, N0, N1),
3334 return CombineTo(
3416 return CombineTo(N, DAG.getNode(ISD::AND, DL, VT, CarryExt,
3637 return CombineTo(
4181 return CombineTo(N, DAG.getNode(ISD::SUB, DL, VT, N0, N1),
4186 return CombineTo(N, DAG.getConstant(0, DL, VT),
4191 return CombineTo(N, N0, DAG.getNode(ISD::CARRY_FALSE, DL, MVT::Glue));
4195 return CombineTo(N, DAG.getNode(ISD::XOR, DL, VT, N1, N0),
4212 return CombineTo(N, DAG.getNode(ISD::SUB, DL, VT, N0, N1),
4217 return CombineTo(N, DAG.getConstant(0, DL, VT),
4228 return CombineTo(N, N0, DAG.getConstant(0, DL, CarryVT));
4232 return CombineTo(N, DAG.getNode(ISD::SUB, DL, VT, N0, N1),
4237 return CombineTo(N, DAG.getNode(ISD::XOR, DL, VT, N1, N0),
4651 CombineTo(User, combined);
4653 CombineTo(User, combined.getValue(1));
4752 CombineTo(RemNode, Sub);
4892 CombineTo(RemNode, Sub);
5040 CombineTo(DivNode, OptimizedDiv);
5319 return CombineTo(N, Res, Res);
5327 return CombineTo(N, Res, Res);
5342 return CombineTo(N, LoOpt, LoOpt);
5352 return CombineTo(N, HiOpt, HiOpt);
5392 return CombineTo(N, Lo, Hi);
5420 return CombineTo(N, Zero, Zero);
5426 return CombineTo(N, N0, Zero);
5445 return CombineTo(N, Lo, Hi);
5472 return CombineTo(N, DAG.getConstant(Result, DL, VT),
5483 return CombineTo(N, DAG.getConstant(0, DL, VT),
5498 return CombineTo(N, And, Cmp);
5503 return CombineTo(N, DAG.getNode(ISD::MUL, DL, VT, N0, N1),
6382 // TODO: Rewrite this to return a new 'AND' instead of using CombineTo.
6404 CombineTo(N0.getNode(), NewAdd);
6696 CombineTo(Load, NewLoad, NewLoad.getValue(1));
6996 CombineTo(N, NewLoad);
6998 CombineTo(MLoad, NewLoad.getValue(0), NewLoad.getValue(1));
7156 CombineTo(N, (N0.getNode() == Load) ? NewLoad : N0);
7169 CombineTo(Load, To, 3, true);
7171 CombineTo(Load, NewLoad.getValue(0), NewLoad.getValue(1));
7221 CombineTo(N, ZExtLoad);
7299 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
9477 CombineTo(N, SetCC);
11978 CombineTo(MST1, MST1->getChain());
12143 return CombineTo(N, PassThru, MGT->getChain());
12169 return CombineTo(N, MLD->getPassThru(), MLD->getChain());
12179 return CombineTo(N, NewLd, NewLd.getValue(1));
12200 return CombineTo(N, NewLd, NewLd.getValue(1));
13026 CombineTo(SetCC, DAG.getNode(ISD::SETCC, DL, SetCC->getValueType(0), Ops));
13118 CombineTo(N, NewValue);
13125 CombineTo(N0.getNode(), Trunc, NewChain);
13190 CombineTo(N, And);
13196 CombineTo(Load, Trunc, ExtLoad.getValue(1));
13273 Combiner.CombineTo(N, ExtLoad);
13331 // If the load value is used only by N, replace it via CombineTo N.
13333 Combiner.CombineTo(N, ExtLoad);
13340 Combiner.CombineTo(LN0, Trunc, ExtLoad.getValue(1));
13610 CombineTo(N0.getNode(), NarrowLoad);
13611 // CombineTo deleted the truncate, if needed, but not what's under it.
13704 CombineTo(N, And);
13709 CombineTo(N0.getNode(), TruncAnd);
13716 CombineTo(LN00, Trunc, ExtLoad.getValue(1));
13898 CombineTo(N0.getNode(), NarrowLoad);
13899 // CombineTo deleted the truncate, if needed, but not what's under it.
14032 CombineTo(N, And);
14037 CombineTo(N0.getNode(), TruncAnd);
14044 CombineTo(LN00, Trunc, ExtLoad.getValue(1));
14204 CombineTo(N0.getNode(), NarrowLoad);
14205 // CombineTo deleted the truncate, if needed, but not what's under it.
14251 // If the load value is used only by N, replace it via CombineTo N.
14253 CombineTo(N, ExtLoad);
14260 CombineTo(LN0, Trunc, ExtLoad.getValue(1));
14278 CombineTo(N, ExtLoad);
14780 CombineTo(N, ExtLoad);
14781 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
14797 CombineTo(N, ExtLoad);
14798 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
14812 CombineTo(N, ExtMaskedLoad);
14813 CombineTo(N0.getNode(), ExtMaskedLoad, ExtMaskedLoad.getValue(1));
14830 CombineTo(N, ExtLoad);
14831 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
17302 CombineTo(U, NewNode);
17306 CombineTo(U, Reciprocal);
18004 CombineTo(N, ExtLoad);
18005 CombineTo(
18986 return CombineTo(LD, Ops, 3);
18988 return CombineTo(LD, Val, Chain);
19067 // It's not safe to use the two value CombineTo variant here. e.g.
19163 return CombineTo(N, ReplLoad.getValue(0), Token);
19713 CombineTo(LS.Inst, SliceInst, true);
20376 CombineTo(StoreNodes[i].MemNode, NewStore);
21140 CombineTo(StoreNodes[i].MemNode, NewStore);
21267 return CombineTo(ST, Token, false);
21482 // replaceStoreChain uses CombineTo, which handled all of the worklist
21590 CombineTo(ST1, ST1->getChain());
21603 CombineTo(ST1, ST1->getChain());
21632 // Return N as merge only uses CombineTo and no worklist clean
21703 CombineTo(ST, ST->getChain());
22547 CombineTo(E.Producer, V);
26823 return CombineTo(N, DAG.getUNDEF(N->getValueType(0)), MemSD->getChain());
26880 CombineTo(StNode, Res, false);
27276 CombineTo(TheSelect, Sqrt);
27422 CombineTo(TheSelect, Load);
27426 CombineTo(LHS.getNode(), Load.getValue(0), Load.getValue(1));
27427 CombineTo(RHS.getNode(), Load.getValue(0), Load.getValue(1));
28639 // Improve St's chain. Use a new node to avoid creating a loop from CombineTo.
28663 CombineTo(St, TF);