From: Trevor Saunders <[email protected]>

Hi,

similar story as previous series changing rtx to rtx_insn * and the
like.

patches idividually bootstrapped and regtested on ppc64le-linux-gnu, as
well as run through config-list.mk at the end of the series. Will commit
shortly.

Thanks

Trev


Trevor Saunders (9):
  Use label_ref_label for more LABEL_REF reads
  Use rtx_sequence accessors instead of XVECEXP
  Use tighter insn types for variables that already hold insns
  Use functions for the INSN_FROM_TARGET_P flag
  Use functions for the CROSSING_JUMP_P flag
  Pass insn and label pointers to several helpers
  Use functions for three insn predicates
  Use dyn_cast for insn class checks
  Use tighter insn types where the pointer is already an insn

 gcc/bb-reorder.cc                    |   2 +-
 gcc/caller-save.cc                   |  45 ++++-----
 gcc/calls.cc                         |   4 +-
 gcc/cfgbuild.cc                      |  22 +++--
 gcc/cfgcleanup.cc                    |   8 +-
 gcc/cfgexpand.cc                     |  11 ++-
 gcc/cfgrtl.cc                        |  22 +++--
 gcc/combine.cc                       |  15 +--
 gcc/config/aarch64/aarch64.cc        |   4 +-
 gcc/config/arc/arc.cc                |  38 ++++----
 gcc/config/arm/aarch-bti-insert.cc   |   5 +-
 gcc/config/arm/arm.cc                |  24 ++---
 gcc/config/arm/arm.h                 |   8 +-
 gcc/config/arm/thumb2.md             |   7 +-
 gcc/config/avr/avr.cc                |   6 +-
 gcc/config/bfin/bfin.cc              |   5 +-
 gcc/config/c6x/c6x.cc                |  21 ++--
 gcc/config/cris/cris.cc              |   8 +-
 gcc/config/i386/i386-expand.cc       |   8 +-
 gcc/config/i386/i386-features.cc     |  11 ++-
 gcc/config/i386/i386.cc              |  31 +++---
 gcc/config/i386/i386.md              |   8 +-
 gcc/config/i386/x86-tune-sched-bd.cc |   2 +-
 gcc/config/loongarch/loongarch.cc    |   4 +-
 gcc/config/m68k/m68k.cc              |   4 +-
 gcc/config/mcore/mcore.cc            |   8 +-
 gcc/config/mips/mips.cc              |  30 +++---
 gcc/config/pa/pa.cc                  |  33 ++++---
 gcc/config/pdp11/pdp11.cc            |   3 +-
 gcc/config/pru/pru.cc                |   5 +-
 gcc/config/riscv/riscv-sr.cc         |   7 +-
 gcc/config/riscv/riscv.cc            |   7 +-
 gcc/config/rs6000/rs6000-logue.cc    |  19 ++--
 gcc/config/rs6000/rs6000.cc          |   2 +-
 gcc/config/s390/s390.cc              |   3 +-
 gcc/config/sh/sh.cc                  |  10 +-
 gcc/config/sparc/sparc.cc            |  26 ++---
 gcc/config/visium/visium.cc          |   8 +-
 gcc/cse.cc                           |  20 ++--
 gcc/cselib.cc                        |  14 +--
 gcc/dce.cc                           |  27 +++---
 gcc/df-problems.cc                   |   4 +-
 gcc/dse.cc                           |  16 ++--
 gcc/dwarf2cfi.cc                     |   8 +-
 gcc/dwarf2out.cc                     |   8 +-
 gcc/early-remat.cc                   |  12 +--
 gcc/emit-rtl.cc                      |  89 +++++++++--------
 gcc/except.cc                        |   3 +-
 gcc/explow.cc                        |   4 +-
 gcc/explow.h                         |   5 +-
 gcc/expr.cc                          |  15 +--
 gcc/expr.h                           |   8 +-
 gcc/ext-dce.cc                       |  15 +--
 gcc/final.cc                         |  46 ++++-----
 gcc/function.cc                      |  13 ++-
 gcc/gcse.cc                          |  14 +--
 gcc/haifa-sched.cc                   |   2 +-
 gcc/hw-doloop.h                      |   2 +-
 gcc/ira-lives.cc                     |  16 ++--
 gcc/ira.cc                           |  11 ++-
 gcc/jump.cc                          |   2 +-
 gcc/loop-invariant.cc                |  14 +--
 gcc/loop-iv.cc                       |   4 +-
 gcc/lra-constraints.cc               |  19 ++--
 gcc/lra-lives.cc                     |   8 +-
 gcc/lra-remat.cc                     |  12 +--
 gcc/lra-spills.cc                    |  10 +-
 gcc/lra.cc                           |   8 +-
 gcc/postreload-gcse.cc               |  14 +--
 gcc/postreload.cc                    |  10 +-
 gcc/print-rtl.cc                     |   6 +-
 gcc/recog.cc                         |   2 +-
 gcc/reg-stack.cc                     |   6 +-
 gcc/regcprop.cc                      |   8 +-
 gcc/regrename.cc                     |   9 +-
 gcc/reload.cc                        |   9 +-
 gcc/reload1.cc                       |  17 ++--
 gcc/reorg.cc                         | 137 ++++++++++++++-------------
 gcc/resource.cc                      |  30 +++---
 gcc/rtl.h                            |  69 ++++++++++----
 gcc/rtlanal.cc                       |  71 +++++++-------
 gcc/sched-deps.cc                    |  36 +++----
 gcc/sel-sched.cc                     |   8 +-
 gcc/stmt.cc                          |   4 +-
 gcc/store-motion.cc                  |   4 +-
 gcc/valtrack.cc                      |   7 +-
 gcc/var-tracking.cc                  |  10 +-
 gcc/varasm.cc                        |   4 +-
 88 files changed, 732 insertions(+), 642 deletions(-)

-- 
2.53.0

Reply via email to