Lines Matching refs:new_node
502 struct writeout_fn_node *new_node = malloc(sizeof(struct writeout_fn_node)); in llvm_register_writeout_function() local
503 new_node->fn = fn; in llvm_register_writeout_function()
504 new_node->next = NULL; in llvm_register_writeout_function()
507 writeout_fn_head = writeout_fn_tail = new_node; in llvm_register_writeout_function()
509 writeout_fn_tail->next = new_node; in llvm_register_writeout_function()
510 writeout_fn_tail = new_node; in llvm_register_writeout_function()
534 struct flush_fn_node *new_node = malloc(sizeof(struct flush_fn_node)); in llvm_register_flush_function() local
535 new_node->fn = fn; in llvm_register_flush_function()
536 new_node->next = NULL; in llvm_register_flush_function()
539 flush_fn_head = flush_fn_tail = new_node; in llvm_register_flush_function()
541 flush_fn_tail->next = new_node; in llvm_register_flush_function()
542 flush_fn_tail = new_node; in llvm_register_flush_function()