JITRValue

Class wrapper for gcc_jit_rvalue

Constructors

this
this()
this
this(gcc_jit_rvalue* rvalue)

Members

Functions

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".

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

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

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

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

dereference
JITLValue dereference(JITLocation loc)

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

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".

getRValue
gcc_jit_rvalue* getRValue()

Returns the internal gcc_jit_rvalue object.

getType
JITType getType()

Returns the JITType of the rvalue.

Inherited Members

From JITObject

getContext
JITContext getContext()

Return the context this JITObject is within.

toString
string toString()

Get a human-readable description of this object.

getObject
gcc_jit_object* getObject()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta