• Home
  • Raw
  • Download

Lines Matching defs:ExtLoad

206     void ReplaceLoadWithPromotedLoad(SDNode *Load, SDNode *ExtLoad);
216 SDValue ExtLoad, const SDLoc &DL,
937 void DAGCombiner::ReplaceLoadWithPromotedLoad(SDNode *Load, SDNode *ExtLoad) {
940 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0));
949 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 1), SDValue(ExtLoad, 1));
3315 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N0), VT,
3319 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
3335 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N0), VT,
3339 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
5898 SDValue Trunc, SDValue ExtLoad,
5908 Ops.push_back(ExtLoad);
5910 Ops.push_back(DAG.getNode(ExtType, DL, ExtLoad->getValueType(0), SOp));
6093 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT,
6097 CombineTo(N, ExtLoad);
6099 N0.getValueType(), ExtLoad);
6100 CombineTo(N0.getNode(), Trunc, ExtLoad.getValue(1));
6101 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, SDLoc(N),
6109 if (SDValue ExtLoad = CombineExtLoad(N))
6110 return ExtLoad;
6120 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT,
6124 CombineTo(N, ExtLoad);
6127 N0.getValueType(), ExtLoad),
6128 ExtLoad.getValue(1));
6149 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(LN0), VT,
6157 ExtLoad, DAG.getConstant(Mask, DL, VT));
6160 N0.getOperand(0).getValueType(), ExtLoad);
6162 CombineTo(N0.getOperand(0).getNode(), Trunc, ExtLoad.getValue(1));
6163 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, DL,
6403 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N), VT,
6407 CombineTo(N, ExtLoad);
6409 N0.getValueType(), ExtLoad);
6410 CombineTo(N0.getNode(), Trunc, ExtLoad.getValue(1));
6412 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, SDLoc(N),
6420 if (SDValue ExtLoad = CombineExtLoad(N))
6421 return ExtLoad;
6452 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), VT,
6460 ExtLoad, DAG.getConstant(Mask, DL, VT));
6463 N0.getOperand(0).getValueType(), ExtLoad);
6465 CombineTo(N0.getOperand(0).getNode(), Trunc, ExtLoad.getValue(1));
6466 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, DL,
6481 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N), VT,
6485 CombineTo(N, ExtLoad);
6488 ExtLoad),
6489 ExtLoad.getValue(1));
6643 SDValue ExtLoad = DAG.getExtLoad(ISD::EXTLOAD, SDLoc(N), VT,
6647 CombineTo(N, ExtLoad);
6649 N0.getValueType(), ExtLoad);
6650 CombineTo(N0.getNode(), Trunc, ExtLoad.getValue(1));
6651 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, SDLoc(N),
6667 SDValue ExtLoad = DAG.getExtLoad(ExtType, SDLoc(N),
6670 CombineTo(N, ExtLoad);
6673 N0.getValueType(), ExtLoad),
6674 ExtLoad.getValue(1));
7011 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT,
7015 CombineTo(N, ExtLoad);
7016 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
7017 AddToWorklist(ExtLoad.getNode());
7027 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT,
7031 CombineTo(N, ExtLoad);
7032 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1));
9240 SDValue ExtLoad = DAG.getExtLoad(ISD::EXTLOAD, SDLoc(N), VT,
9244 CombineTo(N, ExtLoad);
9247 N0.getValueType(), ExtLoad,
9249 ExtLoad.getValue(1));