Searched refs:return_flag (Results 1 – 2 of 2) sorted by relevance
/external/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() 196 if (state->return_flag == NULL) { in lower_returns_in_block() 197 state->return_flag = in lower_returns_in_block() 202 nir_store_var(b, state->return_flag, nir_imm_false(b), 1); in lower_returns_in_block() 206 nir_store_var(b, state->return_flag, nir_imm_true(b), 1); in lower_returns_in_block() 269 state.return_flag = NULL; in nir_lower_returns_impl()
|
/external/mesa3d/src/compiler/glsl/ |
D | lower_jumps.cpp | 213 …ir_variable* return_flag; /* used to break out of all loops and then jump to the return instructio… member 222 this->return_flag = 0; in function_record() 230 if(!this->return_flag) { in get_return_flag() 231 …this->return_flag = new(this->signature) ir_variable(glsl_type::bool_type, "return_flag", ir_var_t… in get_return_flag() 232 …>signature) ir_assignment(new(this->signature) ir_dereference_variable(return_flag), new(this->sig… in get_return_flag() 233 this->signature->body.push_head(this->return_flag); in get_return_flag() 235 return this->return_flag; in get_return_flag() 322 ir_variable* return_flag = this->function.get_return_flag(); in insert_lowered_return() local 332 new (ir) ir_dereference_variable(return_flag), in insert_lowered_return() 920 assert(this->function.return_flag); in visit() [all …]
|