diff options
author | Andrew Sutton <asutton@lock3software.com> | 2019-10-24 15:03:49 +0000 |
---|---|---|
committer | Andrew Sutton <asutton@gcc.gnu.org> | 2019-10-24 15:03:49 +0000 |
commit | 79c05c2bc49b4880ec4789d4078178e27821f268 (patch) | |
tree | e26a1b04787b484f4bffdf08b8b1ebb70414beb5 /gcc/ipa-inline-transform.c | |
parent | 4352288a3df915575a2b820f702242908740106f (diff) | |
download | gcc-79c05c2bc49b4880ec4789d4078178e27821f268.zip gcc-79c05c2bc49b4880ec4789d4078178e27821f268.tar.gz gcc-79c05c2bc49b4880ec4789d4078178e27821f268.tar.bz2 |
Finish moving constraint and logic functionality of out pt.c.
Also, reimplement and re-enable subsumption caching.
gcc/cp/
* config-lang.in (gtfiles): Add logic.cc.
* constraint.cc (atomic_constraints_identical_p): Add assertions.
(hash_atomic_constraint): Likewise.
(constraints_equivalent_p): New.
(inchash::add_constraint): New.
(iterative_hash_constraint): New.
(decl_constraints): Moved from pt.c.
(get_constraints): Likewise.
(set_constraints): Likewise.
(remove_constraints): Likewise.
* cp-tree.h (CONSTR_P): New.
(init_constraint_processing): Remove.
(constraints_equivalent_p, iterative_hash_constraint): Declare.
* decl.c (cxx_init_decl_processing): Don't initialize constraints.
* logic.cc (subsumption_entry): Moved from pt.c.
(subsumption_hasher): Likewise.
(subsumption_cache): Likewise.
(lookup_subsumption): Likewise.
(save_subsumption): Likewise.
(subsumes_constraints_nonnull): Use subsumption cache.
* pt.c: Move aforementioned declarations out of this file.
(init_constraint_processing): Remove.
From-SVN: r277407
Diffstat (limited to 'gcc/ipa-inline-transform.c')
0 files changed, 0 insertions, 0 deletions