diff options
Diffstat (limited to 'gcc/doc/tm.texi')
-rw-r--r-- | gcc/doc/tm.texi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi index df4973d..818df81 100644 --- a/gcc/doc/tm.texi +++ b/gcc/doc/tm.texi @@ -3812,16 +3812,16 @@ Note that the elimination of the argument pointer with the stack pointer is specified first since that is the preferred elimination. @end defmac -@defmac CAN_ELIMINATE (@var{from-reg}, @var{to-reg}) -A C expression that returns @code{true} if the compiler is allowed to try -to replace register number @var{from-reg} with register number -@var{to-reg}. This macro need only be defined if @code{ELIMINABLE_REGS} +@deftypefn {Target Hook} bool TARGET_CAN_ELIMINATE (const int @var{from-reg}, const int @var{to-reg}) +This target hook should returns @code{true} if the compiler is allowed to +try to replace register number @var{from-reg} with register number +@var{to-reg}. This target hook need only be defined if @code{ELIMINABLE_REGS} is defined, and will usually be @code{true}, since most of the cases preventing register elimination are things that the compiler already knows about. -Default value is @code{true}. -@end defmac +Default return value is @code{true}. +@end deftypefn @defmac INITIAL_ELIMINATION_OFFSET (@var{from-reg}, @var{to-reg}, @var{offset-var}) This macro is similar to @code{INITIAL_FRAME_POINTER_OFFSET}. It |