Lines Matching defs:op0
49 * Breaks an ir_binop_sub expression down to add(op0, neg(op1))
54 * want to recognize add(op0, neg(op1)) or the other way around to
59 * Breaks an ir_binop_div expression down to op0 * (rcp(op1)).
86 * Breaks an ir_binop_mod expression down to (op0 - op1 * floor(op0 / op1))
221 /* op0 / op1 -> op0 * (1.0 / op1) */
238 ir_rvalue *op0, *op1;
257 op0 = new(ir) ir_expression(ir_unop_i2f, vec_type, ir->operands[0], NULL);
259 op0 = new(ir) ir_expression(ir_unop_u2f, vec_type, ir->operands[0], NULL);
265 op0 = new(ir) ir_expression(ir_binop_mul, vec_type, op0, op1);
269 ir->operands[0] = op0;
272 ir->operands[0] = new(ir) ir_expression(ir_unop_f2i, op0);
891 ir_rvalue *op0 = ir->operands[0], *op2 = ir->operands[2];
899 assert(op0->type->vector_elements == op2->type->vector_elements);
906 ir->operands[0] = swizzle(op2, swizval, op0->type->vector_elements);
907 ir->operands[2] = mul(sub(one, op2->clone(ir, NULL)), op0);