Lines Matching refs:ir_expression
53 ir_rvalue *handle_expression(ir_expression *ir);
55 bool reassociate_constant(ir_expression *ir1,
58 ir_expression *ir2);
59 void reassociate_operands(ir_expression *ir1,
61 ir_expression *ir2,
63 ir_rvalue *swizzle_if_required(ir_expression *expr,
84 update_type(ir_expression *ir)
93 ir_algebraic_visitor::reassociate_operands(ir_expression *ir1,
95 ir_expression *ir2,
117 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index,
119 ir_expression *ir2)
166 ir_algebraic_visitor::swizzle_if_required(ir_expression *expr,
177 ir_algebraic_visitor::handle_expression(ir_expression *ir)
180 ir_expression *op_expr[2] = {NULL, NULL};
181 ir_expression *temp;
221 return new(mem_ctx) ir_expression(new_op,
254 temp = new(mem_ctx) ir_expression(ir_unop_neg,
296 temp = new(mem_ctx) ir_expression(ir_unop_rcp,
332 return new(mem_ctx) ir_expression(ir_unop_logic_not, ir->type,
336 return new(mem_ctx) ir_expression(ir_unop_logic_not, ir->type,
374 temp = new(mem_ctx) ir_expression(ir_unop_rsq,
396 ir_expression *expr = (*rvalue)->as_expression();