Lines Matching defs:op_const

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