This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 00/18] towards removing rtx_insn_list and rtx_expr_list


From: Trevor Saunders <tbsaunde+gcc@tbsaunde.org>

Hi,

I have some more patches that almost completely eliminate these, but I haven't
tested the rest yet, and this is already a long series so it would be nice to
get some of it out of my tree and reviewed.

patches individually bootstrapped and regtested on x86_64-linux-gnu, ok? I
expect none of this will more than textually conflict with something that may
need backported to gcc-6, but its waited a month already I guess it can wait
longer if people prefer.

Trev


Trevor Saunders (18):
  stop using rtx_insn_list in reorg.c
  make avail_stores a vec<rtx_insn *>
  make antic_stores a vec<rtx_insn *>
  remove unused loads rtx_insn_list
  make stores rtx_insn_list a vec
  move reg_equivs out of gc memory
  loop-iv.c: make cond_list a vec
  make side_effects a vec<rtx>
  make pattern_regs a vec
  merge adjust_cost and adjust_cost_2 target hooks
  add some utility methods to vec
  haifa-sched.c: make insn_queue[] a vec<rtx_insn *>
  haifa-sched.c: make twins a auto_vec<rtx_insn *>
  haifa-sched.c: make ready_list an auto_vec<rtx_insn *>
  make nonlocal_goto_handler_labels a vec
  make forced labels a vec
  make pending_{read,write}_insns vec<rtx_insn *>
  make last_pending_memory_flush a vec

 gcc/builtins.c                     |   4 +-
 gcc/cfgbuild.c                     |  17 ++-
 gcc/cfgrtl.c                       |  24 ++--
 gcc/config/alpha/alpha.c           |   5 +-
 gcc/config/arm/arm-protos.h        |   2 +-
 gcc/config/arm/arm.c               |  40 +++---
 gcc/config/bfin/bfin.c             |   5 +-
 gcc/config/c6x/c6x.c               |   5 +-
 gcc/config/epiphany/epiphany.c     |   5 +-
 gcc/config/i386/i386.c             |   5 +-
 gcc/config/ia64/ia64.c             |  10 +-
 gcc/config/m68k/m68k.c             |   7 +-
 gcc/config/mep/mep.c               |   9 +-
 gcc/config/microblaze/microblaze.c |  10 +-
 gcc/config/mips/mips.c             |   8 +-
 gcc/config/mn10300/mn10300.c       |   5 +-
 gcc/config/pa/pa.c                 |   9 +-
 gcc/config/rs6000/rs6000.c         |  16 ++-
 gcc/config/sh/sh.c                 |  14 +-
 gcc/config/sparc/sparc.c           |  23 ++--
 gcc/config/spu/spu.c               |   5 +-
 gcc/config/tilegx/tilegx.c         |   6 +-
 gcc/config/tilepro/tilepro.c       |   6 +-
 gcc/config/visium/visium.c         |  11 +-
 gcc/doc/tm.texi                    |  14 +-
 gcc/dwarf2cfi.c                    |  16 ++-
 gcc/emit-rtl.h                     |   2 +-
 gcc/except.c                       |   3 +-
 gcc/function.h                     |   2 +-
 gcc/gcse.c                         |  35 ++---
 gcc/haifa-sched.c                  | 266 ++++++++++++++++---------------------
 gcc/ira-emit.c                     |   4 +-
 gcc/ira.c                          |  11 +-
 gcc/jump.c                         |  12 +-
 gcc/loop-iv.c                      |  55 +++-----
 gcc/print-rtl.c                    |  15 +++
 gcc/print-rtl.h                    |   1 +
 gcc/recog.c                        |   2 +-
 gcc/reload.c                       |   4 +-
 gcc/reload.h                       |  19 ++-
 gcc/reload1.c                      |  48 +++----
 gcc/reorg.c                        |  23 ++--
 gcc/rtl.h                          |   1 +
 gcc/sched-deps.c                   | 195 ++++++++++++++++-----------
 gcc/sched-int.h                    |   8 +-
 gcc/sched-rgn.c                    |  59 ++++----
 gcc/stmt.c                         |   8 +-
 gcc/store-motion.c                 | 128 +++++++++---------
 gcc/target.def                     |  25 ++--
 gcc/var-tracking.c                 |  30 ++---
 gcc/vec.h                          |  39 +++++-
 51 files changed, 633 insertions(+), 643 deletions(-)

-- 
2.7.4


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]