Lines Matching refs:ir2
68 ir_expression *ir2);
71 ir_expression *ir2,
230 ir_expression *ir2, in reassociate_operands() argument
233 ir_rvalue *temp = ir2->operands[op2]; in reassociate_operands()
234 ir2->operands[op2] = ir1->operands[op1]; in reassociate_operands()
241 update_type(ir2); in reassociate_operands()
254 ir_expression *ir2) in reassociate_constant() argument
256 if (!ir2 || ir1->operation != ir2->operation) in reassociate_constant()
262 ir2->operands[0]->type->is_matrix() || in reassociate_constant()
263 ir2->operands[1]->type->is_matrix()) in reassociate_constant()
266 void *mem_ctx = ralloc_parent(ir2); in reassociate_constant()
269 ir2_const[0] = ir2->operands[0]->constant_expression_value(mem_ctx); in reassociate_constant()
270 ir2_const[1] = ir2->operands[1]->constant_expression_value(mem_ctx); in reassociate_constant()
276 reassociate_operands(ir1, const_index, ir2, 1); in reassociate_constant()
279 reassociate_operands(ir1, const_index, ir2, 0); in reassociate_constant()
284 ir2->operands[0]->as_expression())) { in reassociate_constant()
285 update_type(ir2); in reassociate_constant()
290 ir2->operands[1]->as_expression())) { in reassociate_constant()
291 update_type(ir2); in reassociate_constant()