Lines Matching refs:ExtLoad

205     void ReplaceLoadWithPromotedLoad(SDNode *Load, SDNode *ExtLoad);
215 SDValue Trunc, SDValue ExtLoad, SDLoc DL,
945 void DAGCombiner::ReplaceLoadWithPromotedLoad(SDNode *Load, SDNode *ExtLoad) { in ReplaceLoadWithPromotedLoad() argument
948 SDValue Trunc = DAG.getNode(ISD::TRUNCATE, dl, VT, SDValue(ExtLoad, 0)); in ReplaceLoadWithPromotedLoad()
957 DAG.ReplaceAllUsesOfValueWith(SDValue(Load, 1), SDValue(ExtLoad, 1)); in ReplaceLoadWithPromotedLoad()
3277 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N0), VT, in visitAND() local
3281 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1)); in visitAND()
3297 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N0), VT, in visitAND() local
3301 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1)); in visitAND()
5843 SDValue Trunc, SDValue ExtLoad, SDLoc DL, in ExtendSetCCUses() argument
5853 Ops.push_back(ExtLoad); in ExtendSetCCUses()
5855 Ops.push_back(DAG.getNode(ExtType, DL, ExtLoad->getValueType(0), SOp)); in ExtendSetCCUses()
6038 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT, in visitSIGN_EXTEND() local
6042 CombineTo(N, ExtLoad); in visitSIGN_EXTEND()
6044 N0.getValueType(), ExtLoad); in visitSIGN_EXTEND()
6045 CombineTo(N0.getNode(), Trunc, ExtLoad.getValue(1)); in visitSIGN_EXTEND()
6046 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, SDLoc(N), in visitSIGN_EXTEND()
6054 if (SDValue ExtLoad = CombineExtLoad(N)) in visitSIGN_EXTEND() local
6055 return ExtLoad; in visitSIGN_EXTEND()
6065 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT, in visitSIGN_EXTEND() local
6069 CombineTo(N, ExtLoad); in visitSIGN_EXTEND()
6072 N0.getValueType(), ExtLoad), in visitSIGN_EXTEND()
6073 ExtLoad.getValue(1)); in visitSIGN_EXTEND()
6094 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(LN0), VT, in visitSIGN_EXTEND() local
6102 ExtLoad, DAG.getConstant(Mask, DL, VT)); in visitSIGN_EXTEND()
6105 N0.getOperand(0).getValueType(), ExtLoad); in visitSIGN_EXTEND()
6107 CombineTo(N0.getOperand(0).getNode(), Trunc, ExtLoad.getValue(1)); in visitSIGN_EXTEND()
6108 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, DL, in visitSIGN_EXTEND()
6348 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N), VT, in visitZERO_EXTEND() local
6352 CombineTo(N, ExtLoad); in visitZERO_EXTEND()
6354 N0.getValueType(), ExtLoad); in visitZERO_EXTEND()
6355 CombineTo(N0.getNode(), Trunc, ExtLoad.getValue(1)); in visitZERO_EXTEND()
6357 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, SDLoc(N), in visitZERO_EXTEND()
6365 if (SDValue ExtLoad = CombineExtLoad(N)) in visitZERO_EXTEND() local
6366 return ExtLoad; in visitZERO_EXTEND()
6397 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), VT, in visitZERO_EXTEND() local
6405 ExtLoad, DAG.getConstant(Mask, DL, VT)); in visitZERO_EXTEND()
6408 N0.getOperand(0).getValueType(), ExtLoad); in visitZERO_EXTEND()
6410 CombineTo(N0.getOperand(0).getNode(), Trunc, ExtLoad.getValue(1)); in visitZERO_EXTEND()
6411 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, DL, in visitZERO_EXTEND()
6426 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N), VT, in visitZERO_EXTEND() local
6430 CombineTo(N, ExtLoad); in visitZERO_EXTEND()
6433 ExtLoad), in visitZERO_EXTEND()
6434 ExtLoad.getValue(1)); in visitZERO_EXTEND()
6596 SDValue ExtLoad = DAG.getExtLoad(ISD::EXTLOAD, SDLoc(N), VT, in visitANY_EXTEND() local
6600 CombineTo(N, ExtLoad); in visitANY_EXTEND()
6602 N0.getValueType(), ExtLoad); in visitANY_EXTEND()
6603 CombineTo(N0.getNode(), Trunc, ExtLoad.getValue(1)); in visitANY_EXTEND()
6604 ExtendSetCCUses(SetCCs, Trunc, ExtLoad, SDLoc(N), in visitANY_EXTEND()
6620 SDValue ExtLoad = DAG.getExtLoad(ExtType, SDLoc(N), in visitANY_EXTEND() local
6623 CombineTo(N, ExtLoad); in visitANY_EXTEND()
6626 N0.getValueType(), ExtLoad), in visitANY_EXTEND()
6627 ExtLoad.getValue(1)); in visitANY_EXTEND()
6961 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT, in visitSIGN_EXTEND_INREG() local
6965 CombineTo(N, ExtLoad); in visitSIGN_EXTEND_INREG()
6966 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1)); in visitSIGN_EXTEND_INREG()
6967 AddToWorklist(ExtLoad.getNode()); in visitSIGN_EXTEND_INREG()
6977 SDValue ExtLoad = DAG.getExtLoad(ISD::SEXTLOAD, SDLoc(N), VT, in visitSIGN_EXTEND_INREG() local
6981 CombineTo(N, ExtLoad); in visitSIGN_EXTEND_INREG()
6982 CombineTo(N0.getNode(), ExtLoad, ExtLoad.getValue(1)); in visitSIGN_EXTEND_INREG()
9123 SDValue ExtLoad = DAG.getExtLoad(ISD::EXTLOAD, SDLoc(N), VT, in visitFP_EXTEND() local
9127 CombineTo(N, ExtLoad); in visitFP_EXTEND()
9130 N0.getValueType(), ExtLoad, in visitFP_EXTEND()
9132 ExtLoad.getValue(1)); in visitFP_EXTEND()