Searched refs:return_flag (Results 1 – 2 of 2) sorted by relevance
/third_party/mesa3d/src/compiler/nir/ |
D | nir_lower_returns.c | 32 nir_variable *return_flag; member 56 assert(state->return_flag); in predicate_following() 58 nir_if *if_stmt = nir_push_if(b, nir_load_var(b, state->return_flag)); in predicate_following() 206 if (state->return_flag == NULL) { in lower_returns_in_block() 207 state->return_flag = in lower_returns_in_block() 212 nir_store_var(b, state->return_flag, nir_imm_false(b), 1); in lower_returns_in_block() 216 nir_store_var(b, state->return_flag, nir_imm_true(b), 1); in lower_returns_in_block() 279 state.return_flag = NULL; in nir_lower_returns_impl()
|
/third_party/mesa3d/src/compiler/glsl/ |
D | lower_jumps.cpp | 200 …ir_variable* return_flag; /* used to break out of all loops and then jump to the return instructio… member 209 this->return_flag = 0; in function_record() 217 if(!this->return_flag) { in get_return_flag() 218 …this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_t… in get_return_flag() 219 …>signature) ir_assignment(new(this->signature) ir_dereference_variable(return_flag), new(this->sig… in get_return_flag() 220 this->signature->body.push_head(this->return_flag); in get_return_flag() 222 return this->return_flag; in get_return_flag() 307 ir_variable* return_flag = this->function.get_return_flag(); in insert_lowered_return() local 317 new (ir) ir_dereference_variable(return_flag), in insert_lowered_return() 822 assert(this->function.return_flag); in visit() [all …]
|