aboutsummaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2010-10-22 17:50:19 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2010-10-22 17:50:19 +0000
commit4490cae6cb0679e404462dd6ed2f3fca67f1b2ff (patch)
tree51747a7400d09696fd222abfe130d3208c339e37 /gcc/gcc.c
parent5ab2c5cb69db963a15fee5fca519db220310230d (diff)
downloadgcc-4490cae6cb0679e404462dd6ed2f3fca67f1b2ff.zip
gcc-4490cae6cb0679e404462dd6ed2f3fca67f1b2ff.tar.gz
gcc-4490cae6cb0679e404462dd6ed2f3fca67f1b2ff.tar.bz2
gimple.h (gimple_register_canonical_type): Declare.
2010-10-22 Richard Guenther <rguenther@suse.de> * gimple.h (gimple_register_canonical_type): Declare. * gimple.c (gimple_canonical_types): New global hashtable. (struct gimple_type_leader_entry_s): New type. (gimple_type_leader): New global cache. (gimple_lookup_type_leader): New function. (gtc_visit): Query the proper cache. (gimple_types_compatible_p): Likewise. (gimple_register_type): Use the new cache instead of TYPE_CANONICAL. (gimple_canonical_type_eq): New function. (gimple_register_canonical_type): Likewise. (print_gimple_types_stats): Adjust for gimple_canonical_types. (free_gimple_type_tables): Likewise. Free gimple_type_leader. * tree-ssa.c (useless_type_conversion_p): Do not dispatch to gimple_types_compatible_p for LTO. lto/ * lto.c (lto_fixup_type): Fixup TYPE_CANONICAL again, via the new gimple_register_canonical_type. From-SVN: r165848
Diffstat (limited to 'gcc/gcc.c')
0 files changed, 0 insertions, 0 deletions