Lines Matching defs:ir1
66 bool reassociate_constant(ir_expression *ir1,
70 void reassociate_operands(ir_expression *ir1,
229 ir_algebraic_visitor::reassociate_operands(ir_expression *ir1,
235 ir2->operands[op2] = ir1->operands[op1];
236 ir1->operands[op1] = temp;
238 /* Update the type of ir2. The type of ir1 won't have changed --
253 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index,
257 if (!ir2 || ir1->operation != ir2->operation)
261 if (ir1->operands[0]->type->is_matrix() ||
262 ir1->operands[1]->type->is_matrix() ||
277 reassociate_operands(ir1, const_index, ir2, 1);
280 reassociate_operands(ir1, const_index, ir2, 0);
284 if (reassociate_constant(ir1, const_index, constant,
290 if (reassociate_constant(ir1, const_index, constant,