JITLValue

Class wrapper for gcc_jit_lvalue

Constructors

this
this()
this
this(gcc_jit_lvalue* lvalue)

Members

Functions

accessField
JITLValue accessField(JITLocation loc, JITField field)
JITLValue accessField(JITField field)

Accessing a field of an lvalue of struct type. This is equivalent to "(value).field = ...".

getAddress
JITRValue getAddress(JITLocation loc)

Taking the address of an lvalue. This is equivalent to "&(value)".

getLValue
gcc_jit_lvalue* getLValue()

Returns the internal gcc_jit_lvalue object.

Inherited Members

From JITRValue

getRValue
gcc_jit_rvalue* getRValue()

Returns the internal gcc_jit_rvalue object.

getType
JITType getType()

Returns the JITType of the rvalue.

accessField
JITRValue accessField(JITLocation loc, JITField field)
JITRValue accessField(JITField field)

Accessing a field of an rvalue of struct type. This is equivalent to "(value).field".

dereferenceField
JITLValue dereferenceField(JITLocation loc, JITField field)
JITLValue dereferenceField(JITField field)

Accessing a field of an rvalue of pointer type. This is equivalent to "(*value).field".

dereference
JITLValue dereference(JITLocation loc)

Dereferencing an rvalue of pointer type. This is equivalent to "*(value)".

castTo
JITRValue castTo(JITLocation loc, JITType type)
JITRValue castTo(JITType type)
JITRValue castTo(JITLocation loc, JITTypeKind kind)
JITRValue castTo(JITTypeKind kind)

Convert an rvalue to the given JITType. See JITContext.newCast for limitations.

Meta