X-Git-Url: http://git.sourceforge.jp/view?a=blobdiff_plain;f=gcc%2Fintegrate.h;h=b2acf5e5c1d0729bfab1f8ef123a121b02ac49a8;hb=fa66f9efc1113eb757a72ac16c8cf67e78d255b4;hp=5c62fd854bbe8af6bb5ee129783c9abd59e41d08;hpb=87758cac0f3068ffdaeca7bad60a332a9a7ad342;p=pf3gnuchains%2Fgcc-fork.git diff --git a/gcc/integrate.h b/gcc/integrate.h index 5c62fd854bb..b2acf5e5c1d 100644 --- a/gcc/integrate.h +++ b/gcc/integrate.h @@ -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;