Home
last modified time | relevance | path

Searched refs:return_flag (Results 1 – 2 of 2) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_lower_returns.c32 nir_variable *return_flag; member
54 assert(state->return_flag); in predicate_following()
57 if_stmt->condition = nir_src_for_ssa(nir_load_var(b, state->return_flag)); in predicate_following()
186 if (state->return_flag == NULL) { in lower_returns_in_block()
187 state->return_flag = in lower_returns_in_block()
192 nir_store_var(b, state->return_flag, nir_imm_int(b, NIR_FALSE), 1); in lower_returns_in_block()
196 nir_store_var(b, state->return_flag, nir_imm_int(b, NIR_TRUE), 1); in lower_returns_in_block()
257 state.return_flag = NULL; in nir_lower_returns_impl()
/external/mesa3d/src/compiler/glsl/
Dlower_jumps.cpp213 …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()
320 ir_variable* return_flag = this->function.get_return_flag(); in insert_lowered_return() local
330 new (ir) ir_dereference_variable(return_flag), in insert_lowered_return()
918 assert(this->function.return_flag); in visit()
[all …]