Commit 40fa62d7 authored by Michael Beck's avatar Michael Beck
Browse files

added doxygen docu

[r4850]
parent b2509ebc
...@@ -744,15 +744,32 @@ type *new_d_type_array (ident *name, int n_dimensions, ...@@ -744,15 +744,32 @@ type *new_d_type_array (ident *name, int n_dimensions,
/** Returns the number of array dimensions of this type. */ /** Returns the number of array dimensions of this type. */
int get_array_n_dimensions (const type *array); int get_array_n_dimensions (const type *array);
/** Allocates Const nodes of mode_I for the array dimensions */ /**
* Allocates Const nodes of mode_I for one array dimension.
* Upper bound in Firm is the element next to the last, ie [lower,upper[
*/
void set_array_bounds_int (type *array, int dimension, int lower_bound, void set_array_bounds_int (type *array, int dimension, int lower_bound,
int upper_bound); int upper_bound);
/**
* Sets the bounds for one array dimension.
* Upper bound in Firm is the element next to the last, ie [lower,upper[
*/
void set_array_bounds (type *array, int dimension, ir_node *lower_bound, void set_array_bounds (type *array, int dimension, ir_node *lower_bound,
ir_node *upper_bound); ir_node *upper_bound);
/** Sets the lower bound for one array dimension, ie [lower,upper[ */
void set_array_lower_bound (type *array, int dimension, ir_node *lower_bound); void set_array_lower_bound (type *array, int dimension, ir_node *lower_bound);
/** Allocates Const nodes of mode_I for the lower bound of an array
dimension, ie [lower,upper[ */
void set_array_lower_bound_int (type *array, int dimension, int lower_bound); void set_array_lower_bound_int (type *array, int dimension, int lower_bound);
/** Sets the upper bound for one array dimension, ie [lower,upper[ */
void set_array_upper_bound (type *array, int dimension, ir_node *upper_bound); void set_array_upper_bound (type *array, int dimension, ir_node *upper_bound);
void set_array_upper_bound_int (type *array, int dimension, int lower_bound);
/** Allocates Const nodes of mode_I for the upper bound of an array
dimension, ie [lower,upper[ */
void set_array_upper_bound_int (type *array, int dimension, int upper_bound);
/** returns true if lower bound != Unknown */ /** returns true if lower bound != Unknown */
int has_array_lower_bound (const type *array, int dimension); int has_array_lower_bound (const type *array, int dimension);
ir_node * get_array_lower_bound (const type *array, int dimension); ir_node * get_array_lower_bound (const type *array, int dimension);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment