From fa5b060f90061ebf9d1f112d6a46f7759c1a0f66 Mon Sep 17 00:00:00 2001 From: Steven Bosscher Date: Thu, 3 Jul 2003 17:03:21 +0000 Subject: rtl.h (ECF_*, [...]): Move from here... 2003-07-03 Steven Bosscher * rtl.h (ECF_*, flags_from_decl_or_type): Move from here... * tree.h: ...to here. From-SVN: r68890 --- gcc/tree.h | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gcc/tree.h') diff --git a/gcc/tree.h b/gcc/tree.h index ac9c44c..6f8b97e 100644 --- a/gcc/tree.h +++ b/gcc/tree.h @@ -2877,6 +2877,37 @@ extern rtx emit_line_note PARAMS ((const char *, int)); /* In calls.c */ +/* Nonzero if this is a call to a `const' function. */ +#define ECF_CONST 1 +/* Nonzero if this is a call to a `volatile' function. */ +#define ECF_NORETURN 2 +/* Nonzero if this is a call to malloc or a related function. */ +#define ECF_MALLOC 4 +/* Nonzero if it is plausible that this is a call to alloca. */ +#define ECF_MAY_BE_ALLOCA 8 +/* Nonzero if this is a call to a function that won't throw an exception. */ +#define ECF_NOTHROW 16 +/* Nonzero if this is a call to setjmp or a related function. */ +#define ECF_RETURNS_TWICE 32 +/* Nonzero if this is a call to `longjmp'. */ +#define ECF_LONGJMP 64 +/* Nonzero if this is a syscall that makes a new process in the image of + the current one. */ +#define ECF_FORK_OR_EXEC 128 +#define ECF_SIBCALL 256 +/* Nonzero if this is a call to "pure" function (like const function, + but may read memory. */ +#define ECF_PURE 512 +/* Nonzero if this is a call to a function that returns with the stack + pointer depressed. */ +#define ECF_SP_DEPRESSED 1024 +/* Nonzero if this call is known to always return. */ +#define ECF_ALWAYS_RETURN 2048 +/* Create libcall block around the call. */ +#define ECF_LIBCALL_BLOCK 4096 + +extern int flags_from_decl_or_type PARAMS ((tree)); + extern int setjmp_call_p PARAMS ((tree)); extern bool alloca_call_p PARAMS ((tree)); -- cgit v1.1