Lines Matching refs:cur_scope
462 scope_t *cur_scope; in dump_scope() local
472 cur_scope = TAILQ_FIRST(&scope->inner_scope); in dump_scope()
474 while (cur_scope != NULL) { in dump_scope()
476 dump_scope(cur_scope); in dump_scope()
478 cur_scope = TAILQ_NEXT(cur_scope, scope_links); in dump_scope()
787 scope_t *cur_scope; in process_scope() local
791 cur_scope = TAILQ_LAST(&scope->inner_scope, scope_tailq); in process_scope()
794 while (cur_scope != NULL) { in process_scope()
798 switch (cur_scope->type) { in process_scope()
804 cur_scope->patches[1].skip_patch = in process_scope()
806 cur_scope->patches[1].skip_instr = in process_scope()
814 patch0_patch_skip += cur_scope->inner_scope_patches; in process_scope()
816 cur_scope->patches[0].skip_patch = patch0_patch_skip; in process_scope()
817 cur_scope->patches[0].skip_instr = in process_scope()
818 cur_scope->end_addr - cur_scope->begin_addr; in process_scope()
820 skip_instr_count += cur_scope->patches[0].skip_instr; in process_scope()
823 if (cur_scope->type == SCOPE_IF) { in process_scope()
831 skip_patch_count += cur_scope->inner_scope_patches; in process_scope()
833 skip_instr_count += cur_scope->end_addr in process_scope()
834 - cur_scope->begin_addr; in process_scope()
841 cur_scope = TAILQ_PREV(cur_scope, scope_tailq, scope_links); in process_scope()