public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH 00/13] misc data structure stuff
@ 2017-05-09 20:53 tbsaunde+gcc
  2017-05-09 20:53 ` [PATCH 04/13] allow auto_bitmap to use other bitmap obstacks tbsaunde+gcc
                   ` (12 more replies)
  0 siblings, 13 replies; 34+ messages in thread
From: tbsaunde+gcc @ 2017-05-09 20:53 UTC (permalink / raw)
  To: gcc-patches

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

Hi,

this is sort of a grab bag, but mostly improving bitmaps and auto_vec, and then
using them in more places.  Individually patches commit messages should explain in more detail where needed.

patches individually bootstrapped and regtested on x86_64-linux-gnu, ok?

Thanks!

Trev


Trevor Saunders (13):
  improve safety of freeing bitmaps
  improve bitmap / sbitmap compatability of bitmap_set_bit
  store the bitmap_head within the auto_bitmap
  allow auto_bitmap to use other bitmap obstacks
  allow constructing a auto_vec with a preallocation, and a possibly
    larger actual allocation size
  replace some manual stacks with auto_vec
  use auto_bitmap more
  move several bitmaps from gc memory to the default obstack and use
    auto_bitmap
  use auto_bitmap more with alternate obstacks
  make a member an auto_sbitmap
  make more vars auto_sbitmaps
  make depth_first_search_ds a class
  make inverted_post_order_compute() operate on a vec

 gcc/bitmap.h                 |  30 +++++--
 gcc/bt-load.c                |   8 +-
 gcc/cfganal.c                | 202 ++++++++++++++++---------------------------
 gcc/cfganal.h                |   2 +-
 gcc/cfgloop.c                |   4 +-
 gcc/ddg.c                    |  26 ++----
 gcc/df-core.c                |  94 +++++++++-----------
 gcc/df-problems.c            |  10 +--
 gcc/df-scan.c                |  93 ++++++++------------
 gcc/df.h                     |   4 +-
 gcc/genrecog.c               |   8 +-
 gcc/haifa-sched.c            |  23 ++---
 gcc/hsa-common.h             |   4 +-
 gcc/hsa-gen.c                |  14 +--
 gcc/init-regs.c              |   4 +-
 gcc/ipa-inline.c             |   6 +-
 gcc/ipa-reference.c          |   3 +-
 gcc/ira.c                    |  97 +++++++--------------
 gcc/lcm.c                    |  14 ++-
 gcc/loop-invariant.c         |  12 +--
 gcc/lower-subreg.c           |   8 +-
 gcc/lra-constraints.c        |  42 ++++-----
 gcc/lra-lives.c              |   9 +-
 gcc/lra-remat.c              |  43 ++++-----
 gcc/lra-spills.c             |  25 +++---
 gcc/predict.c                |  19 ++--
 gcc/print-rtl.c              |   5 +-
 gcc/print-rtl.h              |   2 +-
 gcc/sbitmap.h                |  16 +++-
 gcc/shrink-wrap.c            |  48 +++-------
 gcc/tree-cfg.c               |   7 +-
 gcc/tree-loop-distribution.c |   4 +-
 gcc/tree-predcom.c           |   4 +-
 gcc/tree-ssa-coalesce.c      |   4 +-
 gcc/tree-ssa-dce.c           |  10 +--
 gcc/tree-ssa-dse.c           |  10 +--
 gcc/tree-ssa-phionlycprop.c  |  15 +---
 gcc/tree-ssa-pre.c           |  30 +++----
 gcc/tree-ssa-sink.c          |   9 +-
 gcc/tree-ssa-threadupdate.c  |  13 +--
 gcc/tree-ssa.c               |  12 +--
 gcc/tree-ssanames.c          |  10 +--
 gcc/vec.h                    |  12 +++
 43 files changed, 393 insertions(+), 622 deletions(-)

-- 
2.11.0

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2017-05-11  8:47 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-05-09 20:53 [PATCH 00/13] misc data structure stuff tbsaunde+gcc
2017-05-09 20:53 ` [PATCH 04/13] allow auto_bitmap to use other bitmap obstacks tbsaunde+gcc
2017-05-10  8:27   ` Richard Biener
2017-05-09 20:53 ` [PATCH 13/13] make inverted_post_order_compute() operate on a vec tbsaunde+gcc
2017-05-10  8:44   ` Richard Biener
2017-05-09 20:53 ` [PATCH 09/13] use auto_bitmap more with alternate obstacks tbsaunde+gcc
2017-05-10  8:31   ` Richard Biener
2017-05-09 20:53 ` [PATCH 08/13] move several bitmaps from gc memory to the default obstack and use auto_bitmap tbsaunde+gcc
2017-05-10  8:26   ` Richard Biener
2017-05-09 20:53 ` [PATCH 10/13] make a member an auto_sbitmap tbsaunde+gcc
2017-05-10  8:26   ` Richard Biener
2017-05-09 20:53 ` [PATCH 07/13] use auto_bitmap more tbsaunde+gcc
2017-05-10  8:28   ` Richard Biener
2017-05-09 20:53 ` [PATCH 06/13] replace some manual stacks with auto_vec tbsaunde+gcc
2017-05-10  8:26   ` Richard Biener
2017-05-09 20:53 ` [PATCH 05/13] allow constructing a auto_vec with a preallocation, and a possibly larger actual allocation size tbsaunde+gcc
2017-05-10  6:58   ` Richard Sandiford
2017-05-11  7:50     ` Trevor Saunders
2017-05-11  8:18       ` Richard Biener
2017-05-11  8:23         ` Trevor Saunders
2017-05-11  9:04           ` Richard Sandiford
2017-05-09 20:53 ` [PATCH 02/13] improve bitmap / sbitmap compatability of bitmap_set_bit tbsaunde+gcc
2017-05-10  6:54   ` Richard Sandiford
2017-05-11  8:01     ` Trevor Saunders
2017-05-09 20:53 ` [PATCH 03/13] store the bitmap_head within the auto_bitmap tbsaunde+gcc
2017-05-10  8:25   ` Richard Biener
2017-05-09 20:53 ` [PATCH 01/13] improve safety of freeing bitmaps tbsaunde+gcc
2017-05-10  8:15   ` Richard Biener
2017-05-10 10:55     ` Trevor Saunders
2017-05-10 11:11       ` Richard Biener
2017-05-09 20:53 ` [PATCH 12/13] make depth_first_search_ds a class tbsaunde+gcc
2017-05-10  8:29   ` Richard Biener
2017-05-09 20:55 ` [PATCH 11/13] make more vars auto_sbitmaps tbsaunde+gcc
2017-05-10  8:27   ` Richard Biener

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).