Lines Matching defs:mem_ctx
56 mem_ctx = ralloc_parent(discarded);
71 void *mem_ctx;
88 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded);
89 ir_rvalue *rhs = new(mem_ctx) ir_constant(true);
90 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
110 ir_dereference *lhs = new(mem_ctx) ir_dereference_variable(discarded);
111 ir_rvalue *rhs = new(mem_ctx) ir_constant(false);
112 ir_assignment *assign = new(mem_ctx) ir_assignment(lhs, rhs);
121 ir_rvalue *if_condition = new(mem_ctx) ir_dereference_variable(discarded);
122 ir_if *if_inst = new(mem_ctx) ir_if(if_condition);
124 ir_instruction *br = new(mem_ctx) ir_loop_jump(ir_loop_jump::jump_break);
133 void *mem_ctx = ir;
135 ir_variable *var = new(mem_ctx) ir_variable(glsl_type::bool_type,