Lines Matching defs:new
153 /* Callers of this ralloc-based new need not call delete. It's
155 static void* operator new(size_t size, void *ctx)
353 ir_to_mesa_instruction *inst = new(mem_ctx) ir_to_mesa_instruction();
705 storage = new(mem_ctx) variable_storage(ir, PROGRAM_STATE_VAR, -1);
712 * elements that we're going to copy into the new temporary.
716 storage = new(mem_ctx) variable_storage(ir, PROGRAM_TEMPORARY,
761 counter = new(mem_ctx) ir_dereference_variable(ir->counter);
767 new(mem_ctx) ir_assignment(counter, ir->from, NULL);
776 new(mem_ctx) ir_expression(ir->cmp, glsl_type::bool_type,
778 ir_if *if_stmt = new(mem_ctx) ir_if(e);
781 new(mem_ctx) ir_loop_jump(ir_loop_jump::jump_break);
792 new(mem_ctx) ir_expression(ir_binop_add, counter->type,
796 new(mem_ctx) ir_assignment(counter, e, NULL);
1051 new(mem_ctx) ir_dereference_variable(var);
1528 entry = new(mem_ctx) variable_storage(var, PROGRAM_UNIFORM,
1542 entry = new(mem_ctx) variable_storage(var,
1548 entry = new(mem_ctx) variable_storage(var,
1553 entry = new(mem_ctx) variable_storage(var,
1559 entry = new(mem_ctx) variable_storage(var, PROGRAM_TEMPORARY,
1609 * new and the old together to get the new offset.
3052 new(shader) _mesa_glsl_parse_state(ctx, shader->Type, shader);
3079 shader->ir = new(shader) exec_list;