Member predicate Node::asParameter
Gets the positional parameter corresponding to the node that represents
the value of the parameter after index
number of loads, if any. For
example, in:
void f(int** x) { ... }
- The node
n
such thatn.asParameter(0)
is the parameterx
represents the value ofx
. - The node
n
such thatn.asParameter(1)
is the parameterx
represents the value of*x
. - The node
n
such thatn.asParameter(2)
is the parameterx
represents the value of**x
.
Parameter asParameter(int index)