Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:Zext

931     // fold (aext (zext x)) -> (zext x)
1541 // add (sext i1), X -> sub X, (zext i1)
1546 SDValue ZExt = DAG.getNode(ISD::ZERO_EXTEND, DL, VT, N0.getOperand(0));
1547 return DAG.getNode(ISD::SUB, DL, VT, N1, ZExt);
2370 // fold (OP (zext x), (zext y)) -> (zext (OP x, y))
2537 SDValue Zext = DAG.getNode(ISD::ZERO_EXTEND, SDLoc(N),
2541 CombineTo(N, Zext);
2546 CombineTo(N0.getNode(), Zext);
3368 // Look for sign/zext/any-extended or truncate cases:
3471 // fold (not (zext (setcc x, y))) -> (zext (not (setcc x, y)))
4328 // Sign bits will be lost after a zext.
4603 zext x) if the sign bit is known zero.
4653 // fold (zext c1) -> c1
4656 // fold (zext (zext x)) -> (zext x)
4657 // fold (zext (aext x)) -> (zext x)
4662 // fold (zext (truncate x)) -> (zext x) or
4663 // (zext (truncate x)) -> (truncate x)
4686 // fold (zext (truncate (load x))) -> (zext (smaller load x))
4687 // fold (zext (truncate (srl (load x), c))) -> (zext (small load (x+c/n)))
4701 // fold (zext (truncate x)) -> (and x, mask)
4705 // fold (zext (truncate (load x))) -> (zext (smaller load x))
4706 // fold (zext (truncate (srl (load x), c))) -> (zext (smaller load (x+c/n)))
4730 // Fold (zext (and (trunc x), cst)) -> (and x, cst),
4745 Mask = Mask.zext(VT.getSizeInBits());
4750 // fold (zext (load x)) -> (zext (truncate (zextload x)))
4780 // fold (zext (and/or/xor (load x), cst)) ->
4781 // (and/or/xor (zextload x), (zext cst))
4804 Mask = Mask.zext(VT.getSizeInBits());
4819 // fold (zext (zextload x)) -> (zext (truncate (zextload x)))
4820 // fold (zext ( extload x)) -> (zext (truncate (zextload x)))
4844 // zext(setcc) -> (and (vsetcc), (1, 1, ...) for vectors.
4882 // zext(setcc x,y,cc) -> select_cc x, y, 1, 0, cc
4890 // (zext (shl (zext x), cst)) -> (shl (zext x), cst)
4929 // fold (aext (zext x)) -> (zext x)
4955 return TruncOp; // x iff x size == zext size.
4975 Mask = Mask.zext(VT.getSizeInBits());
5844 zextOrTrunc(SrcBitSize).zext(DstBitSize);
5879 if (isS2V && i == 0 && j == 0 && ThisVal.zext(SrcBitSize) == OpVal)
6493 // fold (sint_to_fp (zext (setcc x, y, cc))) ->
8148 StoreInt|=C->getAPIntValue().zext(StoreBW);
8150 StoreInt|= C->getValueAPF().bitcastToAPInt().zext(StoreBW);
8201 // must not be zext, volatile, indexed, and they must be consecutive.
9943 // If the caller doesn't want us to simplify this into a zext of a compare,