Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:ZEXTLOAD

724       ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD
948 ? (TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT) ? ISD::ZEXTLOAD
2500 // If we want to change an EXTLOAD to a ZEXTLOAD, ensure a ZEXTLOAD is
2503 bool CanZextLoadProfitably = TLI.isLoadExtLegal(ISD::ZEXTLOAD,
2516 case ISD::ZEXTLOAD:
2521 // If the load type was an EXTLOAD, convert to ZEXTLOAD in order to
2525 NewLoad = DAG.getLoad(Load->getAddressingMode(), ISD::ZEXTLOAD,
2530 // Replace uses of the EXTLOAD with the new ZEXTLOAD.
2597 // fold (zext_inreg (extload x)) -> (zextload x)
2602 // a zextload if we are running before legalize or the operation is legal.
2607 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT))) {
2608 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, N0.getDebugLoc(), VT,
2618 // fold (zext_inreg (sextload x)) -> (zextload x) iff load has one use
2624 // a zextload if we are running before legalize or the operation is legal.
2629 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT))) {
2630 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, N0.getDebugLoc(), VT,
2642 // fold (and (load x), 255) -> (zextload x, i8)
2643 // fold (and (extload x, i16), 255) -> (zextload x, i8)
2644 // fold (and (any_ext (extload x, i16)), 255) -> (zextload x, i8)
2660 (!LegalOperations || TLI.isLoadExtLegal(ISD::ZEXTLOAD, ExtVT))) {
2664 DAG.getExtLoad(ISD::ZEXTLOAD, LN0->getDebugLoc(), LoadResultTy,
2678 (!LegalOperations || TLI.isLoadExtLegal(ISD::ZEXTLOAD, ExtVT))) {
2700 DAG.getExtLoad(ISD::ZEXTLOAD, LN0->getDebugLoc(), LoadResultTy,
4323 if (LN0->getExtensionType() != ISD::ZEXTLOAD) {
4556 // fold (zext (load x)) -> (zext (truncate (zextload x)))
4562 TLI.isLoadExtLegal(ISD::ZEXTLOAD, N0.getValueType()))) {
4569 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, N->getDebugLoc(), VT,
4587 // (and/or/xor (zextload x), (zext cst))
4592 TLI.isLoadExtLegal(ISD::ZEXTLOAD, N0.getValueType()) &&
4602 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, LN0->getDebugLoc(), VT,
4625 // fold (zext (zextload x)) -> (zext (truncate (zextload x)))
4626 // fold (zext ( extload x)) -> (zext (truncate (zextload x)))
4632 TLI.isLoadExtLegal(ISD::ZEXTLOAD, MemVT)) {
4633 SDValue ExtLoad = DAG.getExtLoad(ISD::ZEXTLOAD, N->getDebugLoc(), VT,
4815 // fold (aext (zextload x)) -> (aext (truncate (zextload x)))
4948 ExtType = ISD::ZEXTLOAD;
4981 // accessing any of the loaded bytes. If the load was a zextload/extload
5141 // fold (sext_inreg (zextload x)) -> (sextload x) iff load has one use
7455 ISD::LoadExtType ExtType = TLI.isLoadExtLegal(ISD::ZEXTLOAD, LVT)
7456 ? ISD::ZEXTLOAD : ISD::EXTLOAD;