Predator
[unstable] git snapshot
|
accessor definition, available for some operands. More...
#include <code_listener.h>
Data Fields | |
enum cl_accessor_e | code |
kind of accessor (enumeration) | |
struct cl_type * | type |
reference to type which the accessor is used for | |
struct cl_accessor * | next |
next accessor, or NULL if this is the last one (singly-linked list) | |
union { | |
struct { | |
struct cl_operand * index | |
operand used as index to access array's item, in the C language: array[index] | |
} array | |
valid only for CL_ACCESSOR_DEREF_ARRAY | |
struct { | |
int id | |
record's item ought to be accessed, enumeration starts with zero | |
} item | |
valid only for CL_ACCESSOR_ITEM | |
struct { | |
int off | |
offset to move the address by | |
} offset | |
} | data |
some accessors have extra data |
accessor definition, available for some operands.
Accessors can be chained as needed.
Definition at line 333 of file code_listener.h.
struct { ... } array |
valid only for CL_ACCESSOR_DEREF_ARRAY
enum cl_accessor_e code |
kind of accessor (enumeration)
Definition at line 337 of file code_listener.h.
union { ... } data |
some accessors have extra data
int id |
record's item ought to be accessed, enumeration starts with zero
Definition at line 367 of file code_listener.h.
struct cl_operand* index |
operand used as index to access array's item, in the C language: array[index]
Definition at line 359 of file code_listener.h.
struct { ... } item |
valid only for CL_ACCESSOR_ITEM
struct cl_accessor* next |
next accessor, or NULL if this is the last one (singly-linked list)
Definition at line 347 of file code_listener.h.
int off |
offset to move the address by
Definition at line 375 of file code_listener.h.
struct { ... } offset |
struct cl_type* type |
reference to type which the accessor is used for
Definition at line 342 of file code_listener.h.