• Home
  • Raw
  • Download

Lines Matching refs:swtch

279 vtn_order_case(struct vtn_switch *swtch, struct vtn_case *cse)  in vtn_order_case()  argument
289 vtn_order_case(swtch, cse->fallthrough); in vtn_order_case()
300 list_add(&cse->node.link, &swtch->cases); in vtn_order_case()
305 vtn_switch_order_cases(struct vtn_switch *swtch) in vtn_switch_order_cases() argument
308 list_replace(&swtch->cases, &cases); in vtn_switch_order_cases()
309 list_inithead(&swtch->cases); in vtn_switch_order_cases()
313 vtn_order_case(swtch, cse); in vtn_switch_order_cases()
442 struct vtn_switch *swtch = vtn_cf_node_find_switch(cf_parent); in VTN_DECL_CF_NODE_FIND() local
443 vtn_fail_if(target_block->merge_cf_node != &swtch->node, in VTN_DECL_CF_NODE_FIND()
485 struct vtn_switch *swtch, in vtn_parse_switch() argument
529 cse->node.parent = swtch ? &swtch->node : NULL; in vtn_parse_switch()
759 struct vtn_switch *swtch = rzalloc(b, struct vtn_switch); in vtn_process_block() local
761 swtch->node.type = vtn_cf_node_type_switch; in vtn_process_block()
762 swtch->node.parent = cf_parent; in vtn_process_block()
763 swtch->selector = block->branch[1]; in vtn_process_block()
764 list_inithead(&swtch->cases); in vtn_process_block()
766 list_addtail(&swtch->node.link, cf_list); in vtn_process_block()
774 swtch->break_block = vtn_block(b, block->merge[1]); in vtn_process_block()
775 vtn_block_set_merge_cf_node(b, swtch->break_block, &swtch->node); in vtn_process_block()
779 vtn_parse_switch(b, swtch, block->branch, &swtch->cases); in vtn_process_block()
782 vtn_foreach_cf_node(case_node, &swtch->cases) { in vtn_process_block()
785 cse->type = vtn_handle_branch(b, &swtch->node, cse->block); in vtn_process_block()
812 return swtch->break_block; in vtn_process_block()
972 vtn_switch_case_condition(struct vtn_builder *b, struct vtn_switch *swtch, in vtn_switch_case_condition() argument
977 vtn_foreach_cf_node(other_node, &swtch->cases) { in vtn_switch_case_condition()
983 vtn_switch_case_condition(b, swtch, sel, other)); in vtn_switch_case_condition()