2.4.1 Rvalues

C Type: gcc_jit_rvalue

A gcc_jit_rvalue is an expression that can be computed.

It can be simple, e.g.:

or compound e.g.:

Every rvalue has an associated type, and the API will check to ensure that types match up correctly (otherwise the context will emit an error).

C Function: gcc_jit_type *gcc_jit_rvalue_get_type (gcc_jit_rvalue *rvalue)

Get the type of this rvalue.

C Function: gcc_jit_object *gcc_jit_rvalue_as_object (gcc_jit_rvalue *rvalue)

Upcast the given rvalue to be an object.