summaryrefslogtreecommitdiffstats
path: root/gcc/doc
diff options
context:
space:
mode:
authorbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-04 16:27:21 +0000
committerbonzini <bonzini@138bc75d-0d04-0410-961f-82ee72b054a4>2005-05-04 16:27:21 +0000
commit2e5ed910019859bb792a6eb7ce66d637681e9827 (patch)
treeac711ea0814240515bd708e37a106f0ca73bc984 /gcc/doc
parent12fb418d0af01898f7eaedee3b230651d5ff553f (diff)
downloadppe42-gcc-2e5ed910019859bb792a6eb7ce66d637681e9827.tar.gz
ppe42-gcc-2e5ed910019859bb792a6eb7ce66d637681e9827.zip
2005-05-04 Paolo Bonzini <bonzini@gnu.org>
* doc/tm.texi (Target Hooks): Document TARGET_RESOLVE_OVERLOADED_BUILTIN. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99219 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/tm.texi12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi b/gcc/doc/tm.texi
index 4c883f43384..9e755aaf8af 100644
--- a/gcc/doc/tm.texi
+++ b/gcc/doc/tm.texi
@@ -9489,6 +9489,18 @@ ignored. This function should return the result of the call to the
built-in function.
@end deftypefn
+@deftypefn {Target Hook} tree TARGET_RESOLVE_OVERLOADED_BUILTIN (tree @var{fndecl}, tree @var{arglist})
+
+Select a replacement for a machine specific built-in function that
+was set up by @samp{TARGET_INIT_BUILTINS}. This is done
+@emph{before} regular type checking, and so allows the target to
+implement a crude form of function overloading. @var{fndecl} is the
+declaration of the built-in function. @var{arglist} is the list of
+arguments passed to the built-in function. The result is a
+complete expression that implements the operation, usually
+another @code{CALL_EXPR}.
+@end deftypefn
+
@deftypefn {Target Hook} tree TARGET_FOLD_BUILTIN (tree @var{fndecl}, tree @var{arglist}, bool @var{ignore})
Fold a call to a machine specific built-in function that was set up by
OpenPOWER on IntegriCloud