• Home
  • Raw
  • Download

Lines Matching refs:if_stmt

423             struct vtn_if *if_stmt = vtn_cf_node_as_if(node);  in VTN_DECL_CF_NODE_FIND()  local
426 assert(if_stmt->merge_block != target_block); in VTN_DECL_CF_NODE_FIND()
428 vtn_fail_if(if_stmt->merge_block != NULL, in VTN_DECL_CF_NODE_FIND()
721 struct vtn_if *if_stmt = rzalloc(b, struct vtn_if); in vtn_process_block() local
723 if_stmt->node.type = vtn_cf_node_type_if; in vtn_process_block()
724 if_stmt->node.parent = cf_parent; in vtn_process_block()
725 if_stmt->condition = block->branch[1]; in vtn_process_block()
726 list_inithead(&if_stmt->then_body); in vtn_process_block()
727 list_inithead(&if_stmt->else_body); in vtn_process_block()
729 list_addtail(&if_stmt->node.link, cf_list); in vtn_process_block()
737 if_stmt->merge_block = vtn_block(b, block->merge[1]); in vtn_process_block()
738 vtn_block_set_merge_cf_node(b, if_stmt->merge_block, &if_stmt->node); in vtn_process_block()
740 if_stmt->control = block->merge[2]; in vtn_process_block()
743 if_stmt->then_type = vtn_handle_branch(b, &if_stmt->node, then_block); in vtn_process_block()
744 if (if_stmt->then_type == vtn_branch_type_none) { in vtn_process_block()
745 vtn_add_cfg_work_item(b, work_list, &if_stmt->node, in vtn_process_block()
746 &if_stmt->then_body, then_block); in vtn_process_block()
749 if_stmt->else_type = vtn_handle_branch(b, &if_stmt->node, else_block); in vtn_process_block()
750 if (if_stmt->else_type == vtn_branch_type_none) { in vtn_process_block()
751 vtn_add_cfg_work_item(b, work_list, &if_stmt->node, in vtn_process_block()
752 &if_stmt->else_body, else_block); in vtn_process_block()
755 return if_stmt->merge_block; in vtn_process_block()