Lines Matching refs:ir_constant
67 ir_constant *constant,
103 is_vec_zero(ir_constant *ir) in is_vec_zero()
109 is_vec_one(ir_constant *ir) in is_vec_one()
115 is_vec_two(ir_constant *ir) in is_vec_two()
121 is_vec_four(ir_constant *ir) in is_vec_four()
127 is_vec_negative_one(ir_constant *ir) in is_vec_negative_one()
133 is_valid_vec_const(ir_constant *ir) in is_valid_vec_const()
145 is_less_than_one(ir_constant *ir) in is_less_than_one()
162 is_greater_than_zero(ir_constant *ir) in is_greater_than_zero()
221 return dot(x->val, new(mem_ctx) ir_constant(1.0f, 4)); in try_replace_with_dot()
253 ir_constant *constant, in reassociate_constant()
268 ir_constant *ir2_const[2]; in reassociate_constant()
316 ir_constant *op_const[4] = {NULL, NULL, NULL, NULL}; in handle_expression()
593 return ir_constant::zero(ir, ir->type); in handle_expression()
638 ir_constant *point_five = add_expr->operands[1 - j]->as_constant(); in handle_expression()
664 return ir_constant::zero(mem_ctx, ir->type); in handle_expression()
707 ir_constant *zero = op_const[1 - add_pos]; in handle_expression()
752 return ir_constant::zero(mem_ctx, ir->type); in handle_expression()
777 return ir_constant::zero(mem_ctx, ir->type); in handle_expression()
792 return new(mem_ctx) ir_constant(ir->type, &data); in handle_expression()
853 ir_constant *outer_const = op_const[1 - op]; in handle_expression()
872 ir_constant *inner_const = y->as_constant(); in handle_expression()
964 ir_constant *one; in handle_expression()
968 one = new(mem_ctx) ir_constant(1.0f, op2_components); in handle_expression()
971 one = new(mem_ctx) ir_constant(1.0, op2_components); in handle_expression()