aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
AgeCommit message (Collapse)AuthorFilesLines
1997-07-16Minor reformatting.Richard Kenner1-16/+17
From-SVN: r14461
1997-07-14(init_regset_vector): Make global; don't take basic block times # of pseduos ↵Richard Kenner1-22/+43
as argument. (init_regset_vector): Make global; don't take basic block times # of pseduos as argument. (life_analysis): Change all init_regset_vector calls. Use free_regset_vector to release arrays only flow uses at end. (allocate_for_life_analysis): Change init_regset_vector call. Don't set regset_{size,bytes}. (free_regset_vector): Call FREE_REG_SET to release any memory allocated by each vector. (propagate_block): Call FREE_REG_SET on dead/live. (mark_used_regs): Don't use REGSET_ELT_TYPE anymore. From-SVN: r14422
1997-06-18* flow.c (find_basic_blocks): Fix end case bug.Mike Stump1-1/+1
From-SVN: r14257
1997-06-10(mark_used_regs): Fix typo in Jun 4 change.Richard Kenner1-1/+1
From-SVN: r14220
1997-06-09flow.c (find_basic_blocks): Eliminate more dead code, enables dead throws to ↵Mike Stump1-7/+46
be eliminated. * flow.c (find_basic_blocks): Eliminate more dead code, enables dead throws to be eliminated. From-SVN: r14193
1997-06-05remove cygnus local stuffMichael Meissner1-3/+2
From-SVN: r14152
1997-06-05Fix urgent bugMichael Meissner1-34/+37
From-SVN: r14150
1997-06-05abstract regset stuff into macrosMichael Meissner1-216/+131
From-SVN: r14147
1997-06-02Widen some short fields to int; Use allocate_reg_info to allocate the ↵Michael Meissner1-1/+1
reg_renumber array From-SVN: r14142
1997-05-30Use accessor macros to access arrays based on regno; move many of the arrays ↵Michael Meissner1-108/+48
into a single structure. From-SVN: r14140
1997-05-06reformat a little to match GNU coding standards.Mike Stump1-4/+4
From-SVN: r14024
1997-02-04flow.c (life_analysis): Delete obvious no-op moves which use SUBREGs.Jeff Law1-0/+17
* flow.c (life_analysis): Delete obvious no-op moves which use SUBREGs. From-SVN: r13607
1997-01-29(regno_uninitialized): Return 0 if reg is used for args.Richard Kenner1-3/+5
From-SVN: r13562
1996-08-21flow.c (life_analysis): Preserve registers used by the epilogue.Mike Stump1-5/+14
* flow.c (life_analysis): Preserve registers used by the epilogue. (mark_used_regs): Likewise. * reorg.c (fill_simple_delay_slots): Likewise. (dbr_schedule): Likewise. Fixes eh49.C for sparc. From-SVN: r12666
1996-07-23install EH codeMike Stump1-0/+4
From-SVN: r12548
1996-07-03formatting tweaksMike Stump1-7/+8
From-SVN: r12390
1996-06-18(flow_analysis): Fix typo in last change.Richard Kenner1-1/+1
From-SVN: r12295
1996-06-10(flow_analysis, find_basic_blocks): Ignore nonlocal_label_list forRichard Kenner1-2/+8
CALL_INSN that has a REG_RETVAL. From-SVN: r12263
1996-05-10(mark_set_1, mark_used_regs): Clean up usages of ALL_NEEDED; change toRichard Kenner1-21/+21
SOME_NOT_NEEDED and set properly. From-SVN: r11967
1996-04-08flow.c (find_auto_inc): Also make sure there aren't any sets of the ↵Jeff Law1-1/+5
incremented register between the... * flow.c (find_auto_inc): Also make sure there aren't any sets of the incremented register between the memory reference and increment insn. From-SVN: r11682
1996-03-31(propagate_block): CALL_INSNs don't kill fixed regs.Richard Kenner1-2/+3
From-SVN: r11646
1996-02-02(jmp_uses_reg_or_mem): Renamed from uses_reg_or_mem.Richard Kenner1-13/+31
Don't look into condition of an IF_THEN_ELSE; also make faster. From-SVN: r11158
1995-08-28Fix spelling errors.Richard Kenner1-1/+1
From-SVN: r10289
1995-06-15Update FSF address.Richard Kenner1-1/+2
From-SVN: r9961
1995-05-16Fix typos in comments.Richard Kenner1-3/+3
From-SVN: r9712
1995-05-13(find_basic_blocks): Only perform n_basic_blocks sanity check on first pass...Doug Evans1-1/+9
(find_basic_blocks): Only perform n_basic_blocks sanity check on first pass, and on second pass ensure it has the correct value. From-SVN: r9671
1995-05-11Eliminate dead code caused by last patchMichael Meissner1-10/+5
From-SVN: r9618
1995-05-11Do not segfault if SUBREG uses something other than REG.Michael Meissner1-0/+7
From-SVN: r9617
1995-03-29(mark_used_regs, case SUBREG): Only fall through to REG caseJim Wilson1-0/+5
if operand is a REG. From-SVN: r9247
1995-03-18(mark_used_regs, case SUBREG): Set reg_changes_size even for integerRichard Kenner1-4/+9
modes. From-SVN: r9205
1995-02-13(find_basic_blocks): Revise calculation of when to make another pass.Doug Evans1-2/+7
From-SVN: r8945
1995-01-20(find_basic_blocks): No longer need to check for deletedJim Wilson1-5/+2
nonlocal_labels. From-SVN: r8781
1994-12-19(mark_set_1): For multi-reg hard register, clear allJim Wilson1-3/+8
reg_next_use entries. From-SVN: r8670
1994-11-17(find_auto_inc): Insert missing "return" statement.Richard Kenner1-0/+2
From-SVN: r8480
1994-11-15(flow_delete_insn): New function.Doug Evans1-45/+119
(find_basic_blocks): Call it to physically delete insns in unreachable blocks. When scanning blocks after dead ones, start scanning after the dead one (not at the dead one). If there are lots of unreachable blocks, make another pass to squeeze them out (this reduces memory usage in some pathalogical cases by a significant amount without resorting to sparse matrices). (propagate_block): Make code a bit more efficient (for example, no need to test `loop_depth' for each insn, just notes). From-SVN: r8440
1994-10-26(find_basic_blocks): Ensure each live basic block is actually reachable.Richard Kenner1-3/+17
(life_analysis): Clean up handling of basic_block_drops_in. From-SVN: r8340
1994-10-18(propagate_block): Call mark_used_regs to show global regs used byRichard Kenner1-3/+3
call. From-SVN: r8304
1994-09-08(mark_used_regs, case REG): Correct typo, use GET_MODE not GET_CODE.Jim Wilson1-1/+1
From-SVN: r8042
1994-08-14(mark_used_regs): When adding REG_DEAD notes...Jim Wilson1-0/+10
(mark_used_regs): When adding REG_DEAD notes, check for the case where a multiple register hard reg overlaps a register set by the insn. From-SVN: r7921
1994-08-12(mark_used_regs): Only show changes size if one mode is integral.Richard Kenner1-1/+3
From-SVN: r7904
1994-08-11(find_auto_inc): Ensure that all proposed changes to insns are validRichard Kenner1-44/+56
before commiting to the auto-inc. From-SVN: r7889
1994-08-07(reg_changes_size): New variable.Richard Kenner1-0/+21
(allocate_for_life_analysis): Allocate and initialize it. (mark_used_regs, case SUBREG): Set it. From-SVN: r7864
1994-07-07(mark_set_1): Record explicit hard registers in their raw mode.Doug Evans1-2/+4
(mark_used_regs): Likewise. From-SVN: r7669
1994-06-14Cast pointer operands to bzero, bcopy, and bcmp to (char *).Richard Kenner1-24/+33
From-SVN: r7472
1994-05-16(try_pre_increment_1): Don't try to create a pre-increment expressionRichard Kenner1-0/+3
if the register dies in the succeeding insn. From-SVN: r7308
1994-05-06(flow_analysis, find_basic_blocks): Change from USE and CLOBBER insnsRichard Kenner1-21/+13
to using CALL_INSN_FUNCTION_USAGE. From-SVN: r7242
1994-04-20*** empty log message ***Steve Chamberlain1-13/+16
From-SVN: r7091
1994-03-11(libcall_dead_p): Fail not abort for libcall that returnsJim Wilson1-1/+4
value via invisible pointer. From-SVN: r6748
1994-02-08(find_basic_blocks): Also look for REG_LABEL notes on firstJim Wilson1-1/+4
instruction of each basic block. From-SVN: r6500
1994-02-03Add prototypes for static functions.Richard Kenner1-114/+173
(uses_reg_or_mem): New function. (find_basic_block): Some cleanups; eliminate shadowed variables. Look for REG_LABEL notes in all insns and allow for multiple such. Don't delete labels in forced_labels. Generalize test for computed jumps. (find_auto_inc): OFFSET should be HOST_WIDE_INT. (mark_used_regs): Put decls of parms in parm order. (find_use_as_address): PLUSCONST should be HOST_WIDE_INT. From-SVN: r6477