aboutsummaryrefslogtreecommitdiff
path: root/gcc/reg-notes.def
diff options
context:
space:
mode:
authorRadovan Obradovic <robradovic@mips.com>2014-04-24 09:34:15 +0000
committerTom de Vries <vries@gcc.gnu.org>2014-04-24 09:34:15 +0000
commit4f660b159f4a050bc631930d20643d5533541d46 (patch)
tree12104592791a836124a5fa50178055b2071db3fd /gcc/reg-notes.def
parentd996e61aaabdcd98f1a24adf5d7c19d3e76f48e0 (diff)
downloadgcc-4f660b159f4a050bc631930d20643d5533541d46.zip
gcc-4f660b159f4a050bc631930d20643d5533541d46.tar.gz
gcc-4f660b159f4a050bc631930d20643d5533541d46.tar.bz2
-fuse-caller-save - Add new reg-note REG_CALL_DECL
2014-04-24 Radovan Obradovic <robradovic@mips.com> Tom de Vries <tom@codesourcery.com> * reg-notes.def (REG_NOTE (CALL_DECL)): New reg-note REG_CALL_DECL. * calls.c (expand_call, emit_library_call_value_1): Add REG_CALL_DECL reg-note. * combine.c (distribute_notes): Handle REG_CALL_DECL reg-note. * emit-rtl.c (try_split): Same. Co-Authored-By: Tom de Vries <tom@codesourcery.com> From-SVN: r209744
Diffstat (limited to 'gcc/reg-notes.def')
-rw-r--r--gcc/reg-notes.def5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/reg-notes.def b/gcc/reg-notes.def
index 31cd171..831fe82 100644
--- a/gcc/reg-notes.def
+++ b/gcc/reg-notes.def
@@ -211,3 +211,8 @@ REG_NOTE (ARGS_SIZE)
that the return value of a call can be used to reinitialize a
pseudo reg. */
REG_NOTE (RETURNED)
+
+/* Used to mark a call with the function decl called by the call.
+ The decl might not be available in the call due to splitting of the call
+ insn. This note is a SYMBOL_REF. */
+REG_NOTE (CALL_DECL)