Lines Matching refs:vtn_switch
279 vtn_order_case(struct vtn_switch *swtch, struct vtn_case *cse) in vtn_order_case()
305 vtn_switch_order_cases(struct vtn_switch *swtch) in vtn_switch_order_cases()
442 struct vtn_switch *swtch = vtn_cf_node_find_switch(cf_parent); in VTN_DECL_CF_NODE_FIND()
485 struct vtn_switch *swtch, in vtn_parse_switch()
759 struct vtn_switch *swtch = rzalloc(b, struct vtn_switch); in vtn_process_block()
972 vtn_switch_case_condition(struct vtn_builder *b, struct vtn_switch *swtch, in vtn_switch_case_condition()
1160 struct vtn_switch *vtn_switch = vtn_cf_node_as_switch(node); in vtn_emit_cf_list_structured() local
1165 vtn_switch_order_cases(vtn_switch); in vtn_emit_cf_list_structured()
1175 nir_ssa_def *sel = vtn_get_nir_ssa(b, vtn_switch->selector); in vtn_emit_cf_list_structured()
1178 vtn_foreach_cf_node(case_node, &vtn_switch->cases) { in vtn_emit_cf_list_structured()
1185 if (cse->block == vtn_switch->break_block) in vtn_emit_cf_list_structured()
1190 vtn_switch_case_condition(b, vtn_switch, sel, cse); in vtn_emit_cf_list_structured()