Lines Matching refs:ZEXTLOAD
741 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD
965 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD
2601 // If we want to change an EXTLOAD to a ZEXTLOAD, ensure a ZEXTLOAD is
2604 bool CanZextLoadProfitably = TLI.isLoadExtLegal(ISD::ZEXTLOAD,
2617 case ISD::ZEXTLOAD:
2622 // If the load type was an EXTLOAD, convert to ZEXTLOAD in order to
2626 NewLoad = DAG.getLoad(Load->getAddressingMode(), ISD::ZEXTLOAD,
2631 // Replace uses of the EXTLOAD with the new ZEXTLOAD.
2708 // fold (zext_inreg (extload x)) -> (zextload x)
2713 // a zextload if we are running before legalize or the operation is legal.
2718 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT))) {
2719 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N0), VT,
2729 // fold (zext_inreg (sextload x)) -> (zextload x) iff load has one use
2735 // a zextload if we are running before legalize or the operation is legal.
2740 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT))) {
2741 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N0), VT,
2753 // fold (and (load x), 255) -> (zextload x, i8)
2754 // fold (and (extload x, i16), 255) -> (zextload x, i8)
2755 // fold (and (any_ext (extload x, i16)), 255) -> (zextload x, i8)
2771 (!LegalOperations || TLI.isLoadExtLegal(ISD::ZEXTLOAD, ExtVT))) {
2775 DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), LoadResultTy,
2789 (!LegalOperations || TLI.isLoadExtLegal(ISD::ZEXTLOAD, ExtVT))) {
2811 DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), LoadResultTy,
4518 if (LN0->getExtensionType() != ISD::ZEXTLOAD) {
4750 // fold (zext (load x)) -> (zext (truncate (zextload x)))
4756 TLI.isLoadExtLegal(ISD::ZEXTLOAD, N0.getValueType()))) {
4763 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N), VT,
4781 // (and/or/xor (zextload x), (zext cst))
4786 TLI.isLoadExtLegal(ISD::ZEXTLOAD, N0.getValueType()) &&
4796 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(LN0), VT,
4819 // fold (zext (zextload x)) -> (zext (truncate (zextload x)))
4820 // fold (zext ( extload x)) -> (zext (truncate (zextload x)))
4826 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT)) {
4827 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, SDLoc(N), VT,
5009 // fold (aext (zextload x)) -> (aext (truncate (zextload x)))
5141 ExtType = ISD::ZEXTLOAD;
5174 // (as opposed to anyext the high bits), we can't combine the zextload
5180 // accessing any of the loaded bytes. If the load was a zextload/extload
5365 // fold (sext_inreg (zextload x)) -> (sextload x) iff load has one use
8281 TLI.isLoadExtLegal(ISD::ZEXTLOAD, StoreTy) &&
8820 ISD::LoadExtType ExtType = TLI.isLoadExtLegal(ISD::ZEXTLOAD, LVT)
8821 ? ISD::ZEXTLOAD : ISD::EXTLOAD;