Lines Matching refs:ir1
57 bool reassociate_constant(ir_expression *ir1,
61 void reassociate_operands(ir_expression *ir1,
103 ir_algebraic_visitor::reassociate_operands(ir_expression *ir1, in reassociate_operands() argument
109 ir2->operands[op2] = ir1->operands[op1]; in reassociate_operands()
110 ir1->operands[op1] = temp; in reassociate_operands()
127 ir_algebraic_visitor::reassociate_constant(ir_expression *ir1, int const_index, in reassociate_constant() argument
131 if (!ir2 || ir1->operation != ir2->operation) in reassociate_constant()
135 if (ir1->operands[0]->type->is_matrix() || in reassociate_constant()
136 ir1->operands[1]->type->is_matrix() || in reassociate_constant()
149 reassociate_operands(ir1, const_index, ir2, 1); in reassociate_constant()
152 reassociate_operands(ir1, const_index, ir2, 0); in reassociate_constant()
156 if (reassociate_constant(ir1, const_index, constant, in reassociate_constant()
162 if (reassociate_constant(ir1, const_index, constant, in reassociate_constant()