Searched refs:return_flag (Results 1 - 4 of 4) sorted by relevance

/xsrc/external/mit/MesaLib/dist/src/compiler/nir/
H A Dnir_lower_returns.c32 nir_variable *return_flag; member in struct:lower_returns_state
56 assert(state->return_flag);
58 nir_if *if_stmt = nir_push_if(b, nir_load_var(b, state->return_flag));
206 if (state->return_flag == NULL) {
207 state->return_flag =
212 nir_store_var(b, state->return_flag, nir_imm_false(b), 1);
216 nir_store_var(b, state->return_flag, nir_imm_true(b), 1);
279 state.return_flag = NULL;
/xsrc/external/mit/MesaLib.old/dist/src/compiler/nir/
H A Dnir_lower_returns.c32 nir_variable *return_flag; member in struct:lower_returns_state
56 assert(state->return_flag);
59 if_stmt->condition = nir_src_for_ssa(nir_load_var(b, state->return_flag));
195 if (state->return_flag == NULL) {
196 state->return_flag =
201 nir_store_var(b, state->return_flag, nir_imm_false(b), 1);
205 nir_store_var(b, state->return_flag, nir_imm_true(b), 1);
266 state.return_flag = NULL;
/xsrc/external/mit/MesaLib/dist/src/compiler/glsl/
H A Dlower_jumps.cpp213 ir_variable* return_flag; /* used to break out of all loops and then jump to the return instruction */ member in struct:__anon68d3f30f0110::function_record
222 this->return_flag = 0;
230 if(!this->return_flag) {
231 this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_temporary);
232 this->signature->body.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(return_flag), new(this->signature) ir_constant(false)));
233 this->signature->body.push_head(this->return_flag);
235 return this->return_flag;
322 ir_variable* return_flag = this->function.get_return_flag(); local in function:__anon68d3f30f0110::ir_lower_jumps_visitor::insert_lowered_return
332 new (ir) ir_dereference_variable(return_flag),
[all...]
/xsrc/external/mit/MesaLib.old/dist/src/compiler/glsl/
H A Dlower_jumps.cpp213 ir_variable* return_flag; /* used to break out of all loops and then jump to the return instruction */ member in struct:__anonc12c8bdc0110::function_record
222 this->return_flag = 0;
230 if(!this->return_flag) {
231 this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_temporary);
232 this->signature->body.push_head(new(this->signature) ir_assignment(new(this->signature) ir_dereference_variable(return_flag), new(this->signature) ir_constant(false)));
233 this->signature->body.push_head(this->return_flag);
235 return this->return_flag;
320 ir_variable* return_flag = this->function.get_return_flag(); local in function:__anonc12c8bdc0110::ir_lower_jumps_visitor::insert_lowered_return
330 new (ir) ir_dereference_variable(return_flag),
[all...]

Completed in 6 milliseconds