summaryrefslogtreecommitdiff
path: root/isl_dim.c
AgeCommit message (Collapse)AuthorFilesLines
2011-01-27isl_dim_move: update parameters of nested spacesSven Verdoolaege1-0/+14
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-12-22isl_dim_set_name: plug memory leak when overwriting nameSven Verdoolaege1-0/+1
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-12-17Do not hash the memory address of an isl_nameTobias Grosser1-3/+3
Hash the name string itself. This gives repeatable results on all platforms and will therefore facilitate debugging. Signed-off-by: Tobias Grosser <grosser@fim.uni-passau.de> Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-11-14isl_dim.c: set_name: only print single error message on incorrect inputSven Verdoolaege1-1/+2
The global_pos function already prints an error message, so there is no point in printing another error message inside set_name when global_pos returns an error condition. Signed-off-by: Sven Verdoolaege <sven@nestor.cs.kuleuven.be>
2010-11-12isl_dim_total: handle NULL inputSven Verdoolaege1-1/+1
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-10-20isl_dim_replace: fix handling of nested spacesSven Verdoolaege1-6/+18
5ad911e (isl_dim_drop: also drop parameters from nested spaces, Sat Oct 16 14:41:22 2010 +0200) changed isl_dim_drop to also drop parameters from nested spaces, but it didn't change isl_dim_add accordingly, breaking isl_dim_replace on isl_dims with nested spaces. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-10-17isl_dim_flatten: remove space names when internal structure changesSven Verdoolaege1-4/+4
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-10-16isl_dim_drop: also drop parameters from nested spacesSven Verdoolaege1-0/+10
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-10-06isl_dim_replace: call isl_dim_cow before changing isl_dimSven Verdoolaege1-0/+2
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-09-25add isl_dim_from_domain and isl_dim_from_rangeSven Verdoolaege1-0/+10
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-09-25add isl_basic_map_{in,}equalities_matrixSven Verdoolaege1-2/+4
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-09-10isl_dim_replace: recursively replace parameters in nested dimsSven Verdoolaege1-0/+12
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-08-26add isl_dim_replaceSven Verdoolaege1-0/+18
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-08-05isl_map_product: used nested spaces in resultSven Verdoolaege1-14/+23
That is, the product of A -> B and C -> D now has dimension [A -> C] -> [B -> D]. This allows us to keep all information about the spaces A, B, C, D, including their names and any prior nestings. Since it sometimes also useful to have concatenated spaces in the result, we also introduct isl_map_flat_product, which produces what isl_map_product used to produce. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-08-05support nested isl_dimsSven Verdoolaege1-36/+166
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-08-02add isl_dim_get_ctxSven Verdoolaege1-0/+5
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-08-02isl_dim_drop: always remove tuple name, even if number of dims to drop is zeroSven Verdoolaege1-1/+1
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-08-02isl_dim_set_tuple_name: allow explicit removal of tuple nameSven Verdoolaege1-5/+9
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-07-31add isl_dim_get_hashSven Verdoolaege1-1/+28
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-07-31isl_dim: allow specification of tuple namesSven Verdoolaege1-14/+163
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-07-14isl_dim_set_name: don't accept names that look like numbersSven Verdoolaege1-0/+8
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
2010-06-26isl_dim.c: copy_names: check input dimSven Verdoolaege1-0/+3
2010-06-26isl_dim_dup: check input dimSven Verdoolaege1-0/+2
2010-05-30fix some icc warningsSven Verdoolaege1-0/+2
2010-05-13add isl_dim_offsetSven Verdoolaege1-0/+7
2010-03-23export isl_dim_moveSven Verdoolaege1-1/+1
2010-03-21improve isl_pw_qpolynomial_moveSven Verdoolaege1-7/+43
2010-03-18add isl_map_insertSven Verdoolaege1-0/+53
2010-03-04add isl_map_moveSven Verdoolaege1-1/+44
2010-02-03isl_dim_join: don't require names of joined variables to matchSven Verdoolaege1-1/+1
2010-01-31isl_dim_equal: don't require names of input and output variables to matchSven Verdoolaege1-2/+2
2010-01-31isl_dim_map: properly duplicate namesSven Verdoolaege1-1/+1
2010-01-31isl_dim_drop: properly adjust length of names arraySven Verdoolaege1-15/+40
2009-12-16add copyright statementsSven Verdoolaege1-0/+9
2009-10-02isl_dim_size: check argumentSven Verdoolaege1-0/+2
2009-09-06isl_assert: validate all arguments and fix up falloutSven Verdoolaege1-1/+1
2009-02-22add isl_basic_map_removeSven Verdoolaege1-38/+37
2009-02-22add isl_dim_rangeSven Verdoolaege1-0/+7
2009-02-22add isl_map_productSven Verdoolaege1-10/+42
2009-02-22add isl_dim_addSven Verdoolaege1-0/+17
2009-02-22isl_map_intersect: allow intersection with pure parameter constraintsSven Verdoolaege1-0/+11
2009-02-22isl_dim.c: update n_name (only) when changing namesSven Verdoolaege1-1/+3
2009-01-08isl_map_underlying_set: drop names from dimesion in underlying setSven Verdoolaege1-0/+23
When applying isl_mat transforamtions on sets, we currently assume that these sets have no names for the dimensions.
2008-12-19remove isl_ctx argument from functions accepting isl_dim argumentSven Verdoolaege1-0/+8
Since isl_dim structures contain a pointer to a isl_ctx structure, there is no need to pass in such a pointer separately.
2008-12-14allow parameters and dimensions to be namedSven Verdoolaege1-7/+353
The names of the parameters and dimensions are stored in the recently introduced isl_dim structure. To preserve the names during set or map operations, many direct manipulations of dimensions have been rewritten in terms of operations on isl_dim structures.
2008-12-14introduce isl_dim structure for representing shared dimension informationSven Verdoolaege1-0/+123
All of isl_basic_set, isl_set, isl_basic_map and isl_map stored information about the dimension directly. This information is now shared in a common isl_dim structure. Direct accesses to the removed fields have been replaced by calls to getters.