GCC Middle and Back End API Reference
indices Struct Reference

#include <tree-data-ref.h>

Collaboration diagram for indices:

Data Fields

tree base_object
vec< treeaccess_fns
bool unconstrained_base

Detailed Description

Describes the evolutions of indices of the memory reference. The indices are indices of the ARRAY_REFs, indexes in artificial dimensions added for member selection of records and the operands of MEM_REFs. BASE_OBJECT is the part of the reference that is loop-invariant (note that this reference does not have to cover the whole object being accessed, in which case UNCONSTRAINED_BASE is set; hence it is not recommended to use BASE_OBJECT in any code generation). For the examples above,

base_object: a *(p + x + 4B * j_0) indices: {j_0, +, 1}_2 {16, +, 4}_2 4 {i_0, +, 1}_1 {j_0, +, 1}_2


Field Documentation

vec<tree> indices::access_fns

A list of chrecs. Access functions of the indices.

tree indices::base_object

The object.

bool indices::unconstrained_base

Whether BASE_OBJECT is an access representing the whole object or whether the access could not be constrained.


The documentation for this struct was generated from the following file: