Searched refs:x_is_zero (Results 1 – 3 of 3) sorted by relevance
81 %x_is_zero = icmp eq i32 %x, 082 %divisor = select i1 %x_is_zero, i32 1, i32 %x
96 %x_is_zero = icmp eq i32 %x, 097 %divisor = select i1 %x_is_zero, i32 1, i32 %x
2665 const bool x_is_zero = IsZeros(*x); in SimplifyArithmeticOperations() local2666 const bool x_is_one = x_is_zero ? false : IsOnes(*x); in SimplifyArithmeticOperations()2670 ((is_mul && x_is_one) || (is_add && x_is_zero))) { in SimplifyArithmeticOperations()2677 if (y_matches_output_shape && (is_sub && x_is_zero)) { in SimplifyArithmeticOperations()2727 bool optimize_zeros_divided_by_y = is_any_div && x_is_zero && is_aggressive; in SimplifyArithmeticOperations()2728 if ((x_is_zero || y_is_zero) && in SimplifyArithmeticOperations()2749 if ((is_mul || is_any_div) && x_is_zero && x_matches_output_shape) { in SimplifyArithmeticOperations()