Lines Matching refs:mem_ctx
48 this->mem_ctx = NULL; in ir_algebraic_visitor()
68 void *mem_ctx; member in __anon357935720111::ir_algebraic_visitor
180 return new(mem_ctx) ir_swizzle(operand, 0, 0, 0, 0, in swizzle_if_required()
203 if (this->mem_ctx == NULL) in handle_expression()
204 this->mem_ctx = ralloc_parent(ir); in handle_expression()
231 return new(mem_ctx) ir_expression(new_op, in handle_expression()
264 temp = new(mem_ctx) ir_expression(ir_unop_neg, in handle_expression()
306 temp = new(mem_ctx) ir_expression(ir_unop_rcp, in handle_expression()
321 return ir_constant::zero(mem_ctx, ir->type); in handle_expression()
330 return new(mem_ctx) ir_swizzle(ir->operands[1], component, 0, 0, 0, 1); in handle_expression()
339 return new(mem_ctx) ir_swizzle(ir->operands[0], component, 0, 0, 0, 1); in handle_expression()
353 return ir_constant::zero(mem_ctx, ir->type); in handle_expression()
367 return new(mem_ctx) ir_expression(ir_unop_logic_not, ir->type, in handle_expression()
371 return new(mem_ctx) ir_expression(ir_unop_logic_not, ir->type, in handle_expression()
391 return new(mem_ctx) ir_constant(ir->type, &data); in handle_expression()
409 temp = new(mem_ctx) ir_expression(ir_unop_rsq, in handle_expression()