gccint: GIMPLE_CALL
1
1 12.8.4 'GIMPLE_CALL'
1 --------------------
1
1 -- GIMPLE function: gcall *gimple_build_call (tree fn, unsigned nargs,
1 ...)
1 Build a 'GIMPLE_CALL' statement to function 'FN'. The argument
1 'FN' must be either a 'FUNCTION_DECL' or a gimple call address as
1 determined by 'is_gimple_call_addr'. 'NARGS' are the number of
1 arguments. The rest of the arguments follow the argument 'NARGS',
1 and must be trees that are valid as rvalues in gimple (i.e., each
1 operand is validated with 'is_gimple_operand').
1
1 -- GIMPLE function: gcall *gimple_build_call_from_tree (tree call_expr,
1 tree fnptrtype)
1 Build a 'GIMPLE_CALL' from a 'CALL_EXPR' node. The arguments and
1 the function are taken from the expression directly. The type of
1 the 'GIMPLE_CALL' is set from the second parameter passed by a
1 caller. This routine assumes that 'call_expr' is already in GIMPLE
1 form. That is, its operands are GIMPLE values and the function
1 call needs no further simplification. All the call flags in
1 'call_expr' are copied over to the new 'GIMPLE_CALL'.
1
1 -- GIMPLE function: gcall *gimple_build_call_vec (tree fn, 'vec<tree>'
1 args)
1 Identical to 'gimple_build_call' but the arguments are stored in a
1 'vec<tree>'.
1
1 -- GIMPLE function: tree gimple_call_lhs (gimple g)
1 Return the 'LHS' of call statement 'G'.
1
1 -- GIMPLE function: tree * gimple_call_lhs_ptr (gimple g)
1 Return a pointer to the 'LHS' of call statement 'G'.
1
1 -- GIMPLE function: void gimple_call_set_lhs (gimple g, tree lhs)
1 Set 'LHS' to be the 'LHS' operand of call statement 'G'.
1
1 -- GIMPLE function: tree gimple_call_fn (gimple g)
1 Return the tree node representing the function called by call
1 statement 'G'.
1
1 -- GIMPLE function: void gimple_call_set_fn (gcall *g, tree fn)
1 Set 'FN' to be the function called by call statement 'G'. This has
1 to be a gimple value specifying the address of the called function.
1
1 -- GIMPLE function: tree gimple_call_fndecl (gimple g)
1 If a given 'GIMPLE_CALL''s callee is a 'FUNCTION_DECL', return it.
1 Otherwise return 'NULL'. This function is analogous to
1 'get_callee_fndecl' in 'GENERIC'.
1
1 -- GIMPLE function: tree gimple_call_set_fndecl (gimple g, tree fndecl)
1 Set the called function to 'FNDECL'.
1
1 -- GIMPLE function: tree gimple_call_return_type (const gcall *g)
1 Return the type returned by call statement 'G'.
1
1 -- GIMPLE function: tree gimple_call_chain (gimple g)
1 Return the static chain for call statement 'G'.
1
1 -- GIMPLE function: void gimple_call_set_chain (gcall *g, tree chain)
1 Set 'CHAIN' to be the static chain for call statement 'G'.
1
1 -- GIMPLE function: unsigned gimple_call_num_args (gimple g)
1 Return the number of arguments used by call statement 'G'.
1
1 -- GIMPLE function: tree gimple_call_arg (gimple g, unsigned index)
1 Return the argument at position 'INDEX' for call statement 'G'.
1 The first argument is 0.
1
1 -- GIMPLE function: tree * gimple_call_arg_ptr (gimple g, unsigned
1 index)
1 Return a pointer to the argument at position 'INDEX' for call
1 statement 'G'.
1
1 -- GIMPLE function: void gimple_call_set_arg (gimple g, unsigned index,
1 tree arg)
1 Set 'ARG' to be the argument at position 'INDEX' for call statement
1 'G'.
1
1 -- GIMPLE function: void gimple_call_set_tail (gcall *s)
1 Mark call statement 'S' as being a tail call (i.e., a call just
1 before the exit of a function). These calls are candidate for tail
1 call optimization.
1
1 -- GIMPLE function: bool gimple_call_tail_p (gcall *s)
1 Return true if 'GIMPLE_CALL' 'S' is marked as a tail call.
1
1 -- GIMPLE function: bool gimple_call_noreturn_p (gimple s)
1 Return true if 'S' is a noreturn call.
1
1 -- GIMPLE function: gimple gimple_call_copy_skip_args (gcall *stmt,
1 bitmap args_to_skip)
1 Build a 'GIMPLE_CALL' identical to 'STMT' but skipping the
1 arguments in the positions marked by the set 'ARGS_TO_SKIP'.
1