Lines Matching refs:ir2
69 ir_expression *ir2);
72 ir_expression *ir2,
231 ir_expression *ir2, in reassociate_operands() argument
234 ir_rvalue *temp = ir2->operands[op2]; in reassociate_operands()
235 ir2->operands[op2] = ir1->operands[op1]; in reassociate_operands()
242 update_type(ir2); in reassociate_operands()
255 ir_expression *ir2) in reassociate_constant() argument
257 if (!ir2 || ir1->operation != ir2->operation) in reassociate_constant()
263 ir2->operands[0]->type->is_matrix() || in reassociate_constant()
264 ir2->operands[1]->type->is_matrix()) in reassociate_constant()
267 void *mem_ctx = ralloc_parent(ir2); in reassociate_constant()
270 ir2_const[0] = ir2->operands[0]->constant_expression_value(mem_ctx); in reassociate_constant()
271 ir2_const[1] = ir2->operands[1]->constant_expression_value(mem_ctx); in reassociate_constant()
277 reassociate_operands(ir1, const_index, ir2, 1); in reassociate_constant()
280 reassociate_operands(ir1, const_index, ir2, 0); in reassociate_constant()
285 ir2->operands[0]->as_expression())) { in reassociate_constant()
286 update_type(ir2); in reassociate_constant()
291 ir2->operands[1]->as_expression())) { in reassociate_constant()
292 update_type(ir2); in reassociate_constant()