Given a numeric type (integer or floating point), build an rvalue for
the given constant int
value.
Given a numeric type (integer or floating point), build an rvalue for
the given constant long
value.
Given a numeric type (integer or floating point), get the rvalue for zero. Essentially this is just a shortcut for:
gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 0)
Given a numeric type (integer or floating point), get the rvalue for one. Essentially this is just a shortcut for:
gcc_jit_context_new_rvalue_from_int (ctxt, numeric_type, 1)
Given a numeric type (integer or floating point), build an rvalue for
the given constant double
value.
Given a pointer type, build an rvalue for the given address.
Given a pointer type, build an rvalue for NULL
. Essentially this
is just a shortcut for:
gcc_jit_context_new_rvalue_from_ptr (ctxt, pointer_type, NULL)
Generate an rvalue for the given NIL-terminated string, of type
GCC_JIT_TYPE_CONST_CHAR_PTR
.
The parameter value
must be non-NULL. The call takes a copy of the
underlying string, so it is valid to pass in a pointer to an on-stack
buffer.