Searched refs:cur_scope (Results 1 – 2 of 2) sorted by relevance
/external/mesa3d/src/mesa/state_tracker/ |
D | st_glsl_to_tgsi_temprename.cpp | 641 prog_scope *cur_scope = scopes.create(nullptr, outer_scope, 0, 0, line); in get_temp_registers_required_lifetimes() local 651 RENAME_DEBUG(dump_instruction(line, cur_scope, *inst)); in get_temp_registers_required_lifetimes() 655 cur_scope = scopes.create(cur_scope, loop_body, loop_id++, in get_temp_registers_required_lifetimes() 656 cur_scope->nesting_depth() + 1, line); in get_temp_registers_required_lifetimes() 660 cur_scope->set_end(line); in get_temp_registers_required_lifetimes() 661 cur_scope = cur_scope->parent(); in get_temp_registers_required_lifetimes() 662 assert(cur_scope); in get_temp_registers_required_lifetimes() 670 acc[src.index].record_read(line, cur_scope, src.swizzle); in get_temp_registers_required_lifetimes() 671 cur_scope = scopes.create(cur_scope, if_branch, if_id++, in get_temp_registers_required_lifetimes() 672 cur_scope->nesting_depth() + 1, line + 1); in get_temp_registers_required_lifetimes() [all …]
|
/external/bcc/src/cc/frontends/b/ |
D | parser.cc | 199 auto cur_scope = scopes_->current_var(); in func_add() local 206 scopes_->set_current(cur_scope); in func_add()
|