aboutsummaryrefslogtreecommitdiff
path: root/gcc/graph.c
AgeCommit message (Collapse)AuthorFilesLines
2000-04-27rtlanal.c (dead_or_set_regno_p): Use find_regno_note.Richard Henderson1-27/+4
* rtlanal.c (dead_or_set_regno_p): Use find_regno_note. * genconfig.c (main): Set all HAVE_foo to 1. * graph.c (node_data): Use GET_NOTE_INSN_NAME instead of local array. From-SVN: r33473
2000-01-17Update copyrightsKaveh Ghazi1-1/+1
From-SVN: r31465
2000-01-17ggc-common.c: PROTO -> PARAMS.Kaveh R. Ghazi1-6/+6
* ggc-common.c: PROTO -> PARAMS. * ggc-page.c: Likewise. * ggc-simple.c: Likewise. * ggc.h: Likewise. * global.c: Likewise. * graph.c: Likewise. * gthr-win32.h: Likewise. * haifa-sched.c: Likewise. * halfpic.h: Likewise. * integrate.c: Likewise. * integrate.h: Likewise. * jump.c: Likewise. * lcm.c: Likewise. * local-alloc.c: Likewise. * loop.c: Likewise. * loop.h: Likewise. From-SVN: r31458
1999-11-08cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc.Mark Mitchell1-3/+8
* cse.c (delete_trivially_dead_insns): Replace alloca with xmalloc/xcalloc. * except.c (update_rethrow_references): Likewise. (init_eh_nesting_info): Likewise. * function.c (identify_blocks): Likewise. * gcse.c (dump_hash_table): Likewise. * graph.c (print_rtl_graph_with_bb): Likewise. * loop.c (combine_movables): Likewise. (move_movables): Likewise. (count_loop_regs_set): Likewise. (strength_reduce): Likewise. * profile.c (compute_branch_probabilities): New function, split out from ... (branch_prob): Here. Replace alloca with xmalloc/xcalloc. * regclass.c (regclass): Likewise. * regmove.c (regmove_optimize): Likewise. * toplev.c (compile_file): Likewise. (main): Don't mess with the stack rlimit. From-SVN: r30445
1999-10-02graph.h: New file to prototype functions exported by graph.c.Kaveh R. Ghazi1-0/+1
* graph.h: New file to prototype functions exported by graph.c. * Makefile.in (graph.o, toplev.o): Depend on graph.h. * graph.c: Include graph.h. * toplev.c: Likewise. Remove redundant prototypes. From-SVN: r29777
1999-08-20rtl.c (rtx_name): Constify a char*.Kaveh R. Ghazi1-4/+10
* rtl.c (rtx_name): Constify a char*. * rtl.h (rtx_name, fix_sched_param): Likewise. * gmicro/gmicro.c (rtx_name): Remove redundant declaration. (mypr): Use accessor macro, not `rtx_name'. * genemit.c (print_code): Constify a char*. * genopinit.c (gen_insn): Use accessor macro, not `rtx_name'. * genpeep.c (print_code): Constify a char*. * genrecog.c (print_code): Likewise. * graph.c (start_fct, start_bb, node_data, draw_edge, end_fct, end_bb): Add static prototype. (draw_edge): Constify a char*. (end_bb): Remove unused parameter. * haifa-sched.c (fix_sched_param, safe_concat, print_exp print_block_visualization): Constify a char*. From-SVN: r28782
1999-08-09Include function.h in most files.Bernd Schmidt1-0/+1
Include function.h in most files. Remove most of the global variables duplicated in function.h. Add accessor macros for them which access current_function. Delete INLINE_HEADER rtx and related code, replace with code using struct function to store inlining related data. From-SVN: r28626
1999-04-14graph.c (node_data): Return void.Zack Weinberg1-8/+4
1999-04-14 23:26 -0400 Zack Weinberg <zack@rabi.columbia.edu> * graph.c (node_data): Return void. Ignore result of print_rtl_single. Change caller to match. * integrate.c (subst_constants): Initialize op0_mode to an invalid mode, and abort before use if it's still invalid. (Can only happen if the RTX_CLASS, RTX_FORMAT tables are corrupted.) * objc/objc-act.c (get_objc_string_decl, build_selector_translation_table, generate_protocol_list, synth_id_with_class_suffix, build_keyword_selector, build_selector_expr, gen_declarator): Abort when the tree structure is corrupted. From-SVN: r26463
1999-02-25Flow rewrite to use basic block structures and edge lists.Richard Henderson1-46/+39
From-SVN: r25450
1999-01-11Update copyrights.Richard Henderson1-1/+1
From-SVN: r24624
1999-01-11basic-block.h (basic_block_head): Rename to x_basic_block_head.Richard Henderson1-4/+4
* basic-block.h (basic_block_head): Rename to x_basic_block_head. (basic_block_end): Rename to x_basic_block_end. (BLOCK_HEAD, BLOCK_END): Update. * caller-save.c: Change basic_block_head/end references to BLOCK_HEAD/END. * combine.c, flow.c, function.c, gcse.c, global.c: Likewise. * graph.c, haifa-sched.c, local-alloc.c, regclass.c: Likewise. * regmove.c, reload1.c, reorg.c, sched.c: Likewise. From-SVN: r24622
1998-11-23Ulrich Drepper <drepper@cygnus.com>Ulrich Drepper1-0/+486
Ulrich Drepper <drepper@cygnus.com> * Makefile.in (OBJS): Add graph.o (graph.o): New dependency list. * flags.h: Declare dump_for_graph and define graph_dump_types type. * print-rtl.c (dump_for_graph): Define new variable. (print_rtx): Rewrite to allow use in graph dumping functions. * toplev.c: Declare print_rtl_graph_with_bb, clean_graph_dump_file, finish_graph_dump_file. Define graph_dump_format. (compile_file): If graph dumping is enabled also clear these files. Finish graph dump files. (rest_of_compilation): Also dump graph information if enabled. (main): Recognize -dv to enabled VCG based graph dumping. * graph.c: New file. Graph dumping functions. From-SVN: r23813