Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:sext

1023     // fold (aext (sext x)) -> (sext x)
1641 // add (sext i1), X -> sub X, (zext i1)
2451 // fold (OP (sext x), (sext y)) -> (sext (OP x, y))
4172 // If truncate is free for the target sext(shl) is likely to result in better
4794 // tryToFoldExtendOfConstant - Try to fold a sext/zext/aext
4796 // This function is called by the DAGCombiner when visiting sext/zext/aext
4810 // fold (sext c1) -> c1
4816 // fold (sext (build_vector AllConstants) -> (build_vector AllConstants)
4946 // fold (sext (sext x)) -> (sext x)
4947 // fold (sext (aext x)) -> (sext x)
4953 // fold (sext (truncate (load x))) -> (sext (smaller load x))
4954 // fold (sext (truncate (srl (load x), c))) -> (sext (smaller load (x+c/n)))
4967 // eliminate the trunc/sext pair.
4981 // bits, just sext from i32.
4991 // fold (sext (truncate x)) -> (sextinreg x).
5003 // fold (sext (load x)) -> (sext (truncate (sextload x)))
5031 // fold (sext (sextload x)) -> (sext (truncate (sextload x)))
5032 // fold (sext ( extload x)) -> (sext (truncate (sextload x)))
5052 // fold (sext (and/or/xor (load x), cst)) ->
5053 // (and/or/xor (sextload x), (sext cst))
5073 Mask = Mask.sext(VT.getSizeInBits());
5090 // sext(setcc) -> sext_in_reg(vsetcc) for vectors.
5096 // of the same size as the compared operands. Only optimize sext(setcc())
5103 // we know that the element size of the sext'd result matches the
5122 // sext(setcc x, y, cc) -> (select (setcc x, y, cc), -1, 0)
5149 // fold (sext x) -> (zext x) if the sign bit is known zero.
5399 // we know that the element size of the sext'd result matches the
5475 // fold (aext (sext x)) -> (sext x)
5586 // we know that the element size of the sext'd result matches the
5850 // fold (sext_in_reg (sext x)) -> (sext x)
5851 // fold (sext_in_reg (aext x)) -> (sext x)
6285 // If X has a different width than the result/lhs, sext it or truncate it.