GNU Compiler Collection (GCC) Internals: GIMPLE_BIND

Next: `GIMPLE_CALL`, Previous: `GIMPLE_ASSIGN`, Up: Tuple specific accessors [Contents][Index]

#### 11.7.3 `GIMPLE_BIND`

GIMPLE function: gimple gimple_build_bind (tree vars, gimple_seq body)

  Build a `GIMPLE_BIND` statement with a list of variables in `VARS` and a body of statements in sequence `BODY`.

GIMPLE function: tree gimple_bind_vars (gimple g)

  Return the variables declared in the `GIMPLE_BIND` statement `G`.

GIMPLE function: void gimple_bind_set_vars (gimple g, tree vars)

  Set `VARS` to be the set of variables declared in the `GIMPLE_BIND` statement `G`.

GIMPLE function: void gimple_bind_append_vars (gimple g, tree vars)

  Append `VARS` to the set of variables declared in the `GIMPLE_BIND` statement `G`.

GIMPLE function: gimple_seq gimple_bind_body (gimple g)

  Return the GIMPLE sequence contained in the `GIMPLE_BIND` statement `G`.

GIMPLE function: void gimple_bind_set_body (gimple g, gimple_seq seq)

  Set `SEQ` to be sequence contained in the `GIMPLE_BIND` statement `G`.

GIMPLE function: void gimple_bind_add_stmt (gimple gs, gimple stmt)

  Append a statement to the end of a `GIMPLE_BIND`’s body.

GIMPLE function: void gimple_bind_add_seq (gimple gs, gimple_seq seq)

  Append a sequence of statements to the end of a `GIMPLE_BIND`’s body.

GIMPLE function: tree gimple_bind_block (gimple g)

  Return the `TREE_BLOCK` node associated with `GIMPLE_BIND` statement `G`. This is analogous to the `BIND_EXPR_BLOCK` field in trees.

GIMPLE function: void gimple_bind_set_block (gimple g, tree block)

  Set `BLOCK` to be the `TREE_BLOCK` node associated with `GIMPLE_BIND` statement `G`.