Searched refs:if_stack_pos (Results 1 – 2 of 2) sorted by relevance
76 unsigned if_stack_pos; member1108 c->if_stack[c->if_stack_pos] = nir_after_cf_node(&if_stmt->cf_node); in ttn_if()1109 c->if_stack_pos++; in ttn_if()1113 c->if_stack[c->if_stack_pos] = nir_after_cf_list(&if_stmt->else_list); in ttn_if()1114 c->if_stack_pos++; in ttn_if()1122 b->cursor = c->if_stack[c->if_stack_pos - 1]; in ttn_else()1130 c->if_stack_pos -= 2; in ttn_endif()1131 b->cursor = c->if_stack[c->if_stack_pos]; in ttn_endif()
2256 int if_stack_pos = 0, loop_stack_pos = 0; in set_branchtargets() local2282 if_stack[if_stack_pos] = i; in set_branchtargets()2283 if_stack_pos++; in set_branchtargets()2286 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i; in set_branchtargets()2287 if_stack[if_stack_pos - 1] = i; in set_branchtargets()2290 mesa_instructions[if_stack[if_stack_pos - 1]].BranchTarget = i; in set_branchtargets()2291 if_stack_pos--; in set_branchtargets()