aboutsummaryrefslogtreecommitdiff
path: root/gcc/flow.c
AgeCommit message (Collapse)AuthorFilesLines
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
1994-01-28(find_auto_inc): Check for increment using single_set.Richard Kenner1-7/+9
From-SVN: r6436
1993-12-08(mark_used_regs, case CLOBBER): Refine previous change to just look atRichard Kenner1-1/+8
the address of a MEM inside a CLOBBER. From-SVN: r6195
1993-12-07(mark_used_regs): Look inside a CLOBBER...Richard Kenner1-1/+0
(mark_used_regs): Look inside a CLOBBER; it may be the only place regs are used if it has a stack slot that is from an inlined function. From-SVN: r6193
1993-11-14(find_basic_blocks): When starting new basic block for a CALL_INSN in the ↵Richard Kenner1-3/+14
presence of nonlocal labels... (find_basic_blocks): When starting new basic block for a CALL_INSN in the presence of nonlocal labels, don't get confused with following CLOBBER. (flow_analysis): Use same logic as find_basic_block to see when the insn after a CALL_INSN starts a new basic block. From-SVN: r6097
1993-09-24flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at the end ↵Doug Evans1-0/+23
of the function. * flow.c: (life_analysis): Mark HARD_FRAME_POINTER_REGNUM as live at the end of the function. (insn_dead_p): Don't delete insns that set the hard frame pointer. (mark_set_1): Don't add death information about HARD_FRAME_POINTER_REGNUM. (mark_used_regs, case REG): Don't put HARD_FRAME_POINTER_REGNUM in regs_ever_live. Don't mark it as needed either. * function.c: (instantiate_virtual_regs_1, case MEM): references to MEM via the hard frame pointer shouldn't be copied. From-SVN: r5455
1993-07-02(find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q if referenced ↵Doug Evans1-3/+6
in expr. * (find_auto_inc): In *p=expr;q=p+size case, avoid clobbering q if referenced in expr. From-SVN: r4830
1993-04-24(mark_used_regs): Use proper type for {all,some}_needed.Richard Kenner1-2/+2
From-SVN: r4207
1993-04-17(uid_block_number): Likewise.Richard Kenner1-4/+4
(flow_analysis): Allocate uid_block_number and reg_basic_block as array of ints. From-SVN: r4174
1993-04-08(mark_set_1): Clear reg_next_use at the proper place.Richard Stallman1-3/+3
From-SVN: r4044
1993-04-07(mark_set_1): Clear reg_next_use for all kinds of regs.Richard Stallman1-3/+5
From-SVN: r4041
1993-02-19(regno_uninitialized): Test global_regs only for hard regs.Richard Stallman1-1/+2
From-SVN: r3497
1993-01-23(find_basic_blocks): Don't mark labels in nonlocal_label_listRichard Stallman1-2/+5
that were deleted due to having no references. From-SVN: r3310
1992-10-29(life_analysis): Mark FP live at end of function.Richard Kenner1-0/+14
From-SVN: r2655
1992-10-26(find_basic_blocks): Check for LABEL_REF_NONLOCAL_P in label_value_list.Richard Stallman1-2/+4
From-SVN: r2606
1992-10-20Change global-alloc.c to global.c.Jim Wilson1-1/+1
From-SVN: r2537
1992-08-14(life_analysis, propagate_block, dump_flow_info): Add more missingRichard Kenner1-6/+9
casts to REGSET_ELT_TYPE. From-SVN: r1826
1992-08-07(mark_used_regs): Do recurse in setting of global hard reg.Richard Stallman1-2/+9
Do set reg_next_use for global hard reg. From-SVN: r1778