OSDN Git Service

(OBJC_O): Add linking.m.
[pf3gnuchains/gcc-fork.git] / gcc / integrate.h
index 5c62fd8..b2acf5e 100644 (file)
@@ -1,5 +1,5 @@
 /* Function integration definitions for GNU C-Compiler
-   Copyright (C) 1990 Free Software Foundation, Inc.
+   Copyright (C) 1990, 1995 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -15,7 +15,8 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU CC; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
 /* This structure is used to remap objects in the function being inlined to
    those belonging to the calling function.  It is passed by
@@ -31,6 +32,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 
 struct inline_remap
 {
+  /* True if we are doing function integration, false otherwise.
+     Used to control whether RTX_UNCHANGING bits are copied by
+     copy_rtx_and_substitute. */
+  int integrating;
   /* Definition of function be inlined.  */
   union tree_node *fndecl;
   /* Place to put insns needed at start of function.  */
@@ -63,6 +68,8 @@ struct inline_remap
      this inline instance.  These pseudos are then marked as being equivalent
      to the appropriate address and substituted if valid.  */
   rtx *const_equiv_map;
+  /* Number of entries in const_equiv_map and const_arg_map.  */
+  int const_equiv_map_size;
   /* This is incremented for each new basic block.
      It is used to store in const_age_map to record the domain of validity
      of each entry in const_equiv_map.
@@ -86,6 +93,10 @@ struct inline_remap
   /* Likewise, this is the copied constraints vector.  */
   rtvec copy_asm_constraints_vector;
 
+  /* Indications for regs being pointers and their alignment.  */
+  char *regno_pointer_flag;
+  char *regno_pointer_align;
+
   /* The next few fields are used for subst_constants to record the SETs
      that it saw.  */
   int num_sets;
@@ -105,15 +116,15 @@ struct inline_remap
 
 /* Return a copy of an rtx (as needed), substituting pseudo-register,
    labels, and frame-pointer offsets as necessary.  */
-extern rtx copy_rtx_and_substitute ();
+extern rtx copy_rtx_and_substitute PROTO((rtx, struct inline_remap *));
 
-extern void try_constants ();
+extern void try_constants PROTO((rtx, struct inline_remap *));
 
-extern void mark_stores ();
+extern void mark_stores PROTO((rtx, rtx));
 
-/* We do some simple constant folding optimization.  This optimization
-   really exists primarily to save time inlining a function.  It
-   also helps users who ask for inline functions without -O.  */
-extern rtx try_fold_condition ();
+/* Unfortunately, we need a global copy of const_equiv map for communication
+   with a function called from note_stores.  Be *very* careful that this
+   is used properly in the presence of recursion.  */
 
 extern rtx *global_const_equiv_map;
+extern int global_const_equiv_map_size;