aboutsummaryrefslogtreecommitdiff
path: root/gcc/rtl.h
diff options
context:
space:
mode:
authorJeffrey A Law <law@cygnus.com>1999-09-04 15:20:18 +0000
committerJeffrey A Law <law@cygnus.com>1999-09-04 15:20:18 +0000
commitca026ef5a34cca7ff17404b2ff9f36c8550e45fe (patch)
tree4bcf56e83629ab71ce7e98bc2c08c08c1aea31dd /gcc/rtl.h
parentbdbfacbe1477aebee8fa79f7ab934fbe72016312 (diff)
Import final gcc2 snapshot (990109)gcc3
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/gcc3@29103 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/rtl.h')
-rw-r--r--gcc/rtl.h25
1 files changed, 20 insertions, 5 deletions
diff --git a/gcc/rtl.h b/gcc/rtl.h
index f4acf67f798..4b2ebe0c588 100644
--- a/gcc/rtl.h
+++ b/gcc/rtl.h
@@ -669,8 +669,6 @@ extern char *note_insn_name[];
extern rtx plus_constant_wide PROTO((rtx, HOST_WIDE_INT));
extern rtx plus_constant_for_output_wide PROTO((rtx, HOST_WIDE_INT));
-#define GEN_INT(N) gen_rtx (CONST_INT, VOIDmode, (HOST_WIDE_INT) (N))
-
extern rtx bc_gen_rtx ();
extern rtx gen_rtx PVPROTO((enum rtx_code,
@@ -692,10 +690,8 @@ extern char *xrealloc ();
extern char *oballoc PROTO((int));
extern char *permalloc PROTO((int));
-#ifdef NEED_DECLARATION_FREE
-extern void free PROTO((void *));
-#endif
extern rtx rtx_alloc PROTO((RTX_CODE));
+extern rtx obstack_alloc_rtx PROTO((int));
extern rtvec rtvec_alloc PROTO((int));
extern rtx copy_rtx PROTO((rtx));
extern rtx copy_rtx_if_shared PROTO((rtx));
@@ -895,6 +891,25 @@ extern rtx struct_value_incoming_rtx;
extern rtx static_chain_rtx;
extern rtx static_chain_incoming_rtx;
+/* Include the RTL generation functions. */
+
+#ifndef NO_GENRTL_H
+#include "genrtl.h"
+#endif
+
+/* There are some RTL codes that require special attention; the
+ generation functions included above do the raw handling. If you
+ add to this list, modify special_rtx in gengenrtl.c as well. You
+ should also modify gen_rtx to use the special function. */
+
+extern rtx gen_rtx_CONST_INT PROTO((enum machine_mode, HOST_WIDE_INT));
+extern rtx gen_rtx_REG PROTO((enum machine_mode, int));
+extern rtx gen_rtx_MEM PROTO((enum machine_mode, rtx));
+
+/* We need the cast here to ensure that we get the same result both with
+ and without prototypes. */
+#define GEN_INT(N) gen_rtx_CONST_INT (VOIDmode, (HOST_WIDE_INT) (N))
+
/* If HARD_FRAME_POINTER_REGNUM is defined, then a special dummy reg
is used to represent the frame pointer. This is because the
hard frame pointer and the automatic variables are separated by an amount