aboutsummaryrefslogtreecommitdiff
path: root/gcc/cgraph.h
diff options
context:
space:
mode:
authorAndrew MacLeod <amacleod@redhat.com>2015-06-25 16:23:52 +0000
committerAndrew Macleod <amacleod@gcc.gnu.org>2015-06-25 16:23:52 +0000
commit88f554b4b93e260d8733c372f93e77c91c564e77 (patch)
tree1e0ca2957adf8fdcb469bdcb69978a1c9e9eba07 /gcc/cgraph.h
parent06fbce663e9b7f230d3cbaf9131de2cd786c819c (diff)
downloadgcc-88f554b4b93e260d8733c372f93e77c91c564e77.zip
gcc-88f554b4b93e260d8733c372f93e77c91c564e77.tar.gz
gcc-88f554b4b93e260d8733c372f93e77c91c564e77.tar.bz2
cgraph.h (cgraph_rtl_info): Move to rtl.h
2015-06-25 Andrew MacLeod <amacleod@redhat.com> * cgraph.h (cgraph_rtl_info): Move to rtl.h (cgraph_node): Maintain pointer to struct cgraph_rtl_info instead of and instance. * rtl.h (struct cgraph_rtl_info): Define when HARD_REG_SET available. * cgraph.c (cgraph_node::rtl_info): Allocate cgraph_rtl_info if one doesn't exist. * calls.c: Include hard-reg-set.h before rtl.h. * ira.c: Likewise. From-SVN: r224946
Diffstat (limited to 'gcc/cgraph.h')
-rw-r--r--gcc/cgraph.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/gcc/cgraph.h b/gcc/cgraph.h
index 55864a2..62d4ad6 100644
--- a/gcc/cgraph.h
+++ b/gcc/cgraph.h
@@ -613,20 +613,6 @@ struct GTY(()) cgraph_global_info {
cgraph_node *inlined_to;
};
-/* Information about the function that is propagated by the RTL backend.
- Available only for functions that has been already assembled. */
-
-struct GTY(()) cgraph_rtl_info {
- unsigned int preferred_incoming_stack_boundary;
-
- /* Call unsaved hard registers really used by the corresponding
- function (including ones used by functions called by the
- function). */
- HARD_REG_SET function_used_regs;
- /* Set if function_used_regs is valid. */
- unsigned function_used_regs_valid: 1;
-};
-
/* Represent which DECL tree (or reference to such tree)
will be replaced by another tree while versioning. */
struct GTY(()) ipa_replace_map
@@ -1194,7 +1180,7 @@ public:
static cgraph_local_info *local_info (tree decl);
/* Return local info for the compiled function. */
- static cgraph_rtl_info *rtl_info (tree);
+ static struct cgraph_rtl_info *rtl_info (tree);
/* Return the cgraph node that has ASMNAME for its DECL_ASSEMBLER_NAME.
Return NULL if there's no such node. */
@@ -1263,7 +1249,7 @@ public:
cgraph_local_info local;
cgraph_global_info global;
- cgraph_rtl_info rtl;
+ struct cgraph_rtl_info *rtl;
cgraph_clone_info clone;
cgraph_thunk_info thunk;