module LValue:sig..end
val address : ?loc:Gccjit.location -> Gccjit.lvalue -> Gccjit.rvalue
type global_kind =
| |
Exported |
| |
Internal |
| |
Imported |
val global : Gccjit.context ->
?loc:Gccjit.location ->
global_kind -> Gccjit.type_ -> string -> Gccjit.lvalue
The Gccjit.LValue.global_kind parameter determines the visibility of the global
outside of the Gccjit.result.
val deref : ?loc:Gccjit.location -> Gccjit.rvalue -> Gccjit.lvalue*(EXPR) in C.val deref_field : ?loc:Gccjit.location -> Gccjit.rvalue -> Gccjit.field -> Gccjit.lvaluervalue of pointer type, analogous (EXPR)->field
in C, itself equivalent to (\*EXPR).FIELDval access_array : ?loc:Gccjit.location -> Gccjit.rvalue -> Gccjit.rvalue -> Gccjit.lvalueT *, get at the element T at the given
index, using standard C array indexing rules i.e. each increment of index
corresponds to sizeof(T) bytes. Analogous to PTR[INDEX] in C (or,
indeed, to PTR + INDEX).val access_field : ?loc:Gccjit.location -> Gccjit.lvalue -> Gccjit.field -> Gccjit.lvalue
val param : Gccjit.param -> Gccjit.lvalue
val to_string : Gccjit.lvalue -> string