]>
Commit | Line | Data |
---|---|---|
c63539ff ML |
1 | .. |
2 | Copyright 1988-2022 Free Software Foundation, Inc. | |
3 | This is part of the GCC manual. | |
4 | For copying conditions, see the copyright.rst file. | |
5 | ||
6 | .. index:: GIMPLE_PHI | |
7 | ||
8 | GIMPLE_PHI | |
9 | ^^^^^^^^^^ | |
10 | ||
11 | .. function:: unsigned gimple_phi_capacity (gimple g) | |
12 | ||
13 | Return the maximum number of arguments supported by ``GIMPLE_PHI`` ``G``. | |
14 | ||
15 | .. function:: unsigned gimple_phi_num_args (gimple g) | |
16 | ||
17 | Return the number of arguments in ``GIMPLE_PHI`` ``G``. This must always | |
18 | be exactly the number of incoming edges for the basic block | |
19 | holding ``G``. | |
20 | ||
21 | .. function:: tree gimple_phi_result (gimple g) | |
22 | ||
23 | Return the ``SSA`` name created by ``GIMPLE_PHI`` ``G``. | |
24 | ||
25 | .. function:: tree * gimple_phi_result_ptr (gimple g) | |
26 | ||
27 | Return a pointer to the ``SSA`` name created by ``GIMPLE_PHI`` ``G``. | |
28 | ||
29 | .. function:: void gimple_phi_set_result (gphi *g, tree result) | |
30 | ||
31 | Set ``RESULT`` to be the ``SSA`` name created by ``GIMPLE_PHI`` ``G``. | |
32 | ||
33 | .. function:: struct phi_arg_d * gimple_phi_arg (gimple g, index) | |
34 | ||
35 | Return the ``PHI`` argument corresponding to incoming edge ``INDEX`` for | |
36 | ``GIMPLE_PHI`` ``G``. | |
37 | ||
38 | .. function:: void gimple_phi_set_arg (gphi *g, index, struct phi_arg_d * phiarg) | |
39 | ||
40 | Set ``PHIARG`` to be the argument corresponding to incoming edge | |
3ed1b4ce | 41 | ``INDEX`` for ``GIMPLE_PHI`` ``G``. |