Add rtl-ssa
authorRichard Sandiford <richard.sandiford@arm.com>
Thu, 17 Dec 2020 00:15:11 +0000 (00:15 +0000)
committerRichard Sandiford <richard.sandiford@arm.com>
Thu, 17 Dec 2020 00:15:11 +0000 (00:15 +0000)
commit73b7582775254b764fd92ddb252a33dc15872c69
tree38129e29d87038770d57774a028345d7a78eb3e6
parent47d52e17adf48093cc30d01707652018deb32a6c
Add rtl-ssa

This patch adds the RTL SSA infrastructure itself.  The following
fwprop.c patch will make use of it.

gcc/
* configure.ac: Add rtl-ssa to the list of dependence directories.
* configure: Regenerate.
* Makefile.in (rtl-ssa-warn): New variable.
(OBJS): Add the rtl-ssa object files.
* emit-rtl.h (rtl_data::ssa): New field.
* rtl-ssa.h: New file.
* system.h: Include <functional> when INCLUDE_FUNCTIONAL is defined.
* rtl-ssa/access-utils.h: Likewise.
* rtl-ssa/accesses.h: New file.
* rtl-ssa/accesses.cc: Likewise.
* rtl-ssa/blocks.h: New file.
* rtl-ssa/blocks.cc: Likewise.
* rtl-ssa/change-utils.h: Likewise.
* rtl-ssa/changes.h: New file.
* rtl-ssa/changes.cc: Likewise.
* rtl-ssa/functions.h: New file.
* rtl-ssa/functions.cc: Likewise.
* rtl-ssa/insn-utils.h: Likewise.
* rtl-ssa/insns.h: New file.
* rtl-ssa/insns.cc: Likewise.
* rtl-ssa/internals.inl: Likewise.
* rtl-ssa/is-a.inl: Likewise.
* rtl-ssa/member-fns.inl: Likewise.
* rtl-ssa/movement.h: Likewise.
23 files changed:
gcc/Makefile.in
gcc/configure
gcc/configure.ac
gcc/emit-rtl.h
gcc/rtl-ssa.h [new file with mode: 0644]
gcc/rtl-ssa/access-utils.h [new file with mode: 0644]
gcc/rtl-ssa/accesses.cc [new file with mode: 0644]
gcc/rtl-ssa/accesses.h [new file with mode: 0644]
gcc/rtl-ssa/blocks.cc [new file with mode: 0644]
gcc/rtl-ssa/blocks.h [new file with mode: 0644]
gcc/rtl-ssa/change-utils.h [new file with mode: 0644]
gcc/rtl-ssa/changes.cc [new file with mode: 0644]
gcc/rtl-ssa/changes.h [new file with mode: 0644]
gcc/rtl-ssa/functions.cc [new file with mode: 0644]
gcc/rtl-ssa/functions.h [new file with mode: 0644]
gcc/rtl-ssa/insn-utils.h [new file with mode: 0644]
gcc/rtl-ssa/insns.cc [new file with mode: 0644]
gcc/rtl-ssa/insns.h [new file with mode: 0644]
gcc/rtl-ssa/internals.inl [new file with mode: 0644]
gcc/rtl-ssa/is-a.inl [new file with mode: 0644]
gcc/rtl-ssa/member-fns.inl [new file with mode: 0644]
gcc/rtl-ssa/movement.h [new file with mode: 0644]
gcc/system.h