Lines Matching defs:ir2
69 ir_expression *ir2);
72 ir_expression *ir2,
231 ir_expression *ir2,
234 ir_rvalue *temp = ir2->operands[op2];
235 ir2->operands[op2] = ir1->operands[op1];
238 /* Update the type of ir2. The type of ir1 won't have changed --
242 update_type(ir2);
255 ir_expression *ir2)
257 if (!ir2 || ir1->operation != ir2->operation)
263 ir2->operands[0]->type->is_matrix() ||
264 ir2->operands[1]->type->is_matrix())
267 void *mem_ctx = ralloc_parent(ir2);
270 ir2_const[0] = ir2->operands[0]->constant_expression_value(mem_ctx);
271 ir2_const[1] = ir2->operands[1]->constant_expression_value(mem_ctx);
277 reassociate_operands(ir1, const_index, ir2, 1);
280 reassociate_operands(ir1, const_index, ir2, 0);
285 ir2->operands[0]->as_expression())) {
286 update_type(ir2);
291 ir2->operands[1]->as_expression())) {
292 update_type(ir2);