diff options
author | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-23 20:28:07 +0000 |
---|---|---|
committer | hubicka <hubicka@138bc75d-0d04-0410-961f-82ee72b054a4> | 2008-08-23 20:28:07 +0000 |
commit | b9c94ed7ac6512c7551a007128fed6f3caf21ed1 (patch) | |
tree | b2d83395a226ce339483346c7db1d16095008402 /gcc/ipa-prop.h | |
parent | c540c53f3450941cd6da7a219d7a4794e2920e8b (diff) | |
download | gcc-b9c94ed7ac6512c7551a007128fed6f3caf21ed1.tar.gz |
* tree.c (decl_address_ip_invariant_p): New function.
* tree.h (decl_address_ip_invariant_p): Declare.
* gimple.c (strip_invariant_refs): Break out from ...
(is_gimple_invariant_address): ... here
(is_gimple_ip_invariant_address): New function.
(is_gimple_ip_invariant): New function.
* gimple.h (is_gimple_ip_invariant_address, is_gimple_ip_invariant):
Declare.
* ipa-cp.c (ipcp_lat_is_const): Remove handling of IPA_CONST_VALUE_REF.
(ipcp_lat_is_insertable): All constants are insertable.
(ipcp_lattice_from_jfunc, ipcp_print_all_lattices): Remove handling of
IPA_CONST_VALUE_REF.
(ipcp_initialize_node_lattices): Propagate all types of operands.
(build_const_val): Do not handle IPA_CONST_VALUE_REF.
(ipcp_create_replace_map): Reformat.
(ipcp_need_redirect_p): Simplify.
(ipcp_insert_stage): Check that argument is used before clonning.
* ipa-prop.c (ipa_print_node_jump_functions): Do not handle IPA_CONST_REF.
(compute_scalar_jump_functions): Simplify using is_gimple_ip_invariat.
(determine_cst_member_ptr): Keep wrapping ADDR_EXPR of members.
(update_call_notes_after_inlining): Expect ADDR_EXPR in operand.
* ipa-prop.h (jump_func_type): Remove IPA_CONST_REF.
(jump_func_type): Remove IPA_CONST_VALUE_REF.
* tree-inline.c (tree_function_versioning): Add variables referenced by
replacing trees.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@139523 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ipa-prop.h')
-rw-r--r-- | gcc/ipa-prop.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gcc/ipa-prop.h b/gcc/ipa-prop.h index 908a97e7797..967825e21f8 100644 --- a/gcc/ipa-prop.h +++ b/gcc/ipa-prop.h @@ -32,14 +32,12 @@ along with GCC; see the file COPYING3. If not see Formal - the caller's formal parameter is passed as an actual argument. Constant - a constant is passed as an actual argument. Unknown - neither of the above. - Integer and real constants are represented as IPA_CONST and Fortran - constants are represented as IPA_CONST_REF. Finally, IPA_CONST_MEMBER_PTR - stands for C++ member pointers constants. */ + Integer and real constants are represented as IPA_CONST. + Finally, IPA_CONST_MEMBER_PTR stands for C++ member pointers constants. */ enum jump_func_type { IPA_UNKNOWN = 0, /* newly allocated and zeroed jump functions default */ IPA_CONST, - IPA_CONST_REF, IPA_CONST_MEMBER_PTR, IPA_PASS_THROUGH }; @@ -52,13 +50,11 @@ enum jump_func_type IPA_CONST_VALUE - simple scalar constant, Cval of formal f will have a constant value if all callsites to this function have the same constant value passed to f. - Integer and real constants are represented as IPA_CONST and Fortran - constants are represented as IPA_CONST_REF. */ + Integer and real constants are represented as IPA_CONST. */ enum ipa_lattice_type { IPA_BOTTOM, IPA_CONST_VALUE, - IPA_CONST_VALUE_REF, IPA_TOP }; |