Lines Matching refs:op_const
317 ir_constant *op_const[4] = {NULL, NULL, NULL, NULL}; in handle_expression() local
339 op_const[i] = in handle_expression()
505 if (is_vec_zero(op_const[0])) in handle_expression()
507 if (is_vec_zero(op_const[1])) in handle_expression()
525 if (op_const[0] && !op_const[1]) in handle_expression()
526 reassociate_constant(ir, 0, op_const[0], op_expr[1]); in handle_expression()
527 if (op_const[1] && !op_const[0]) in handle_expression()
528 reassociate_constant(ir, 1, op_const[1], op_expr[0]); in handle_expression()
594 if (is_vec_zero(op_const[0])) in handle_expression()
596 if (is_vec_zero(op_const[1])) in handle_expression()
601 if (is_vec_one(op_const[0])) in handle_expression()
603 if (is_vec_one(op_const[1])) in handle_expression()
606 if (is_vec_zero(op_const[0]) || is_vec_zero(op_const[1])) in handle_expression()
609 if (is_vec_negative_one(op_const[0])) in handle_expression()
611 if (is_vec_negative_one(op_const[1])) in handle_expression()
622 if (op_const[0] && !op_const[1]) in handle_expression()
623 reassociate_constant(ir, 0, op_const[0], op_expr[1]); in handle_expression()
624 if (op_const[1] && !op_const[0]) in handle_expression()
625 reassociate_constant(ir, 1, op_const[1], op_expr[0]); in handle_expression()
665 if (is_vec_one(op_const[0]) && ( in handle_expression()
672 if (is_vec_one(op_const[1])) in handle_expression()
677 if (is_vec_zero(op_const[0]) || is_vec_zero(op_const[1])) in handle_expression()
681 if (!op_const[i]) in handle_expression()
686 for (unsigned c = 0; c < op_const[i]->type->vector_elements; c++) { in handle_expression()
687 if (op_const[i]->is_zero()) in handle_expression()
695 if (count >= op_const[i]->type->vector_elements) in handle_expression()
719 ir_constant *zero = op_const[1 - add_pos]; in handle_expression()
757 if (is_vec_zero(op_const[0])) in handle_expression()
760 if (is_vec_zero(op_const[1])) in handle_expression()
765 if (is_vec_one(op_const[0])) { in handle_expression()
767 } else if (is_vec_one(op_const[1])) { in handle_expression()
769 } else if (is_vec_zero(op_const[0]) || is_vec_zero(op_const[1])) { in handle_expression()
785 if (is_vec_zero(op_const[0])) { in handle_expression()
787 } else if (is_vec_zero(op_const[1])) { in handle_expression()
789 } else if (is_vec_one(op_const[0])) { in handle_expression()
791 } else if (is_vec_one(op_const[1])) { in handle_expression()
800 if (is_vec_zero(op_const[0])) { in handle_expression()
802 } else if (is_vec_zero(op_const[1])) { in handle_expression()
804 } else if (is_vec_one(op_const[0]) || is_vec_one(op_const[1])) { in handle_expression()
826 if (is_vec_one(op_const[0])) in handle_expression()
827 return op_const[0]; in handle_expression()
830 if (is_vec_one(op_const[1])) in handle_expression()
834 if (is_vec_two(op_const[0])) in handle_expression()
837 if (is_vec_two(op_const[1])) { in handle_expression()
845 if (is_vec_four(op_const[1])) { in handle_expression()
871 ir_constant *outer_const = op_const[1 - op]; in handle_expression()
956 if (is_vec_zero(op_const[0]) || is_vec_zero(op_const[1])) { in handle_expression()
958 } else if (is_vec_zero(op_const[2])) { in handle_expression()
960 } else if (is_vec_one(op_const[0])) { in handle_expression()
962 } else if (is_vec_one(op_const[1])) { in handle_expression()
969 if (is_vec_zero(op_const[2])) { in handle_expression()
971 } else if (is_vec_one(op_const[2])) { in handle_expression()
975 } else if (is_vec_zero(op_const[0])) { in handle_expression()
977 } else if (is_vec_zero(op_const[1])) { in handle_expression()
1001 if (is_vec_one(op_const[0])) in handle_expression()
1003 if (is_vec_zero(op_const[0])) in handle_expression()
1013 if (op_const[0]) in handle_expression()