/* Remove and free the first node in the INSN_LIST pointed to by LISTP. */ rtx_insn * remove_free_INSN_LIST_node (rtx_insn_list **listp) { rtx_insn_list *node = *listp; rtx_insn *elem = node->insn (); remove_list_node ((rtx *)listp); free_INSN_LIST_node (node); return elem; }
/* Remove and free the first node in the INSN_LIST pointed to by LISTP. */ rtx remove_free_INSN_LIST_node (rtx *listp) { rtx node = *listp; rtx elem = XEXP (node, 0); remove_list_node (listp); free_INSN_LIST_node (node); return elem; }
/* Remove and free corresponding to ELEM node in the INSN_LIST pointed to by LISTP. */ void remove_free_INSN_LIST_elem (rtx_insn *elem, rtx_insn_list **listp) { free_INSN_LIST_node (remove_list_elem (elem, (rtx *)listp)); }
/* Remove and free corresponding to ELEM node in the INSN_LIST pointed to by LISTP. */ void remove_free_INSN_LIST_elem (rtx elem, rtx *listp) { free_INSN_LIST_node (remove_list_elem (elem, listp)); }