Next: GIMPLE_CATCH
, Previous: GIMPLE_BIND
, Up: Tuple specific accessors [Contents][Index]
GIMPLE_CALL
Build a GIMPLE_CALL
statement to function FN
. The argument FN
must be either a FUNCTION_DECL
or a gimple call address as
determined by is_gimple_call_addr
. NARGS
are the number of
arguments. The rest of the arguments follow the argument NARGS
,
and must be trees that are valid as rvalues in gimple (i.e., each
operand is validated with is_gimple_operand
).
Build a GIMPLE_CALL
from a CALL_EXPR
node. The arguments
and the function are taken from the expression directly. The type of the
GIMPLE_CALL
is set from the second parameter passed by a caller.
This routine assumes that call_expr
is already in GIMPLE form.
That is, its operands are GIMPLE values and the function call needs no further
simplification. All the call flags in call_expr
are copied over
to the new GIMPLE_CALL
.
vec<tree>
args)Identical to gimple_build_call
but the arguments are stored in a
vec<tree>
.
Return the LHS
of call statement G
.
Return a pointer to the LHS
of call statement G
.
Set LHS
to be the LHS
operand of call statement G
.
Return the tree node representing the function called by call
statement G
.
Set FN
to be the function called by call statement G
. This has
to be a gimple value specifying the address of the called
function.
If a given GIMPLE_CALL
’s callee is a FUNCTION_DECL
, return it.
Otherwise return NULL
. This function is analogous to
get_callee_fndecl
in GENERIC
.
Set the called function to FNDECL
.
Return the type returned by call statement G
.
Return the static chain for call statement G
.
Set CHAIN
to be the static chain for call statement G
.
Return the number of arguments used by call statement G
.
Return the argument at position INDEX
for call statement G
. The
first argument is 0.
Return a pointer to the argument at position INDEX
for call
statement G
.
Set ARG
to be the argument at position INDEX
for call statement
G
.
Mark call statement S
as being a tail call (i.e., a call just
before the exit of a function). These calls are candidate for
tail call optimization.
Return true if GIMPLE_CALL
S
is marked as a tail call.
Return true if S
is a noreturn call.
Build a GIMPLE_CALL
identical to STMT
but skipping the arguments
in the positions marked by the set ARGS_TO_SKIP
.
Next: GIMPLE_CATCH
, Previous: GIMPLE_BIND
, Up: Tuple specific accessors [Contents][Index]