Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify construction of parameteric pw affs #25

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Commits on May 16, 2018

  1. .gitignore: add piplib

    The piplib submodule was removed all the way back
    isl-0.01-134-g309036cf4f (add copyright statements,
    Wed Dec 16 19:25:40 2009 +0000), initially by mistake and
    then properly in isl-0.01-146-gff1ea6be3f (properly remove
    piplib submodule, Wed Jan 13 09:59:16 2010 +0100).
    However, it may not get removed completely when moving from
    an earlier commit to a later one since it may itself leave
    some untracked files.  Just ignore it in that case.
    
    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege committed May 16, 2018
    Configuration menu
    Copy the full SHA
    7ec4071 View commit details
    Browse the repository at this point in the history

Commits on May 17, 2018

  1. isl_*_list_get_*: extract out isl_*_list_peek

    This function will be reused in the next commit.
    
    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege authored and Sven Verdoolaege committed May 17, 2018
    Configuration menu
    Copy the full SHA
    e61dd7c View commit details
    Browse the repository at this point in the history
  2. isl_multi_*_from_*_list: fix parameter alignment

    isl_multi_*_from_*_list calls isl_multi_*_set_* on
    an uninitialized multi expression.  If any parameter alignment
    needs to be performed, then it will fail (without error message)
    on the uninitialized multi expression while trying to align
    the missing elements.
    Perform parameter alignment beforehand.
    
    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege committed May 17, 2018
    Configuration menu
    Copy the full SHA
    e056357 View commit details
    Browse the repository at this point in the history
  3. isl_multi_*_set_*: extract out isl_multi_*_restore

    This function will be reused in the next commit.
    
    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege committed May 17, 2018
    Configuration menu
    Copy the full SHA
    3624324 View commit details
    Browse the repository at this point in the history
  4. isl_multi_*_from_*_list: use isl_multi_*_restore

    This makes it more explicit when a multi expression may have
    missing elements.
    
    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege committed May 17, 2018
    Configuration menu
    Copy the full SHA
    d9063ab View commit details
    Browse the repository at this point in the history
  5. Merge branch 'maint'

    Sven Verdoolaege committed May 17, 2018
    Configuration menu
    Copy the full SHA
    437e6ab View commit details
    Browse the repository at this point in the history

Commits on May 18, 2018

  1. doc: fix typo in annotation

    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege committed May 18, 2018
    Configuration menu
    Copy the full SHA
    bb2aed0 View commit details
    Browse the repository at this point in the history
  2. doc: explicitly state that the divisor of an ?div_? operation is posi…

    …tive
    
    The isl AST generator will always produce division of this form.
    For those created by the user, it's the user's responsibility.
    
    Requested-by: Uday Reddy B <[email protected]>
    Signed-off-by: Sven Verdoolaege <[email protected]>
    Sven Verdoolaege committed May 18, 2018
    Configuration menu
    Copy the full SHA
    6f13091 View commit details
    Browse the repository at this point in the history

Commits on May 28, 2018

  1. Add isl_pw_aff_param_from_id

    This function constructs a new piecewise affine expression defined over
    a one-dimensional parameter space where the parameter dimension
    identifier is 'id' and the value of the piecewise affine expression is
    the single parameter dimension over the full universe domain.
    
    This function simplifies the construction of parameter expressions.
    Specifically, there is no need to talk about set dimensions or even set
    spaces in case parameter only expressions are constructed.
    
    Signed-off-by: Tobias Grosser <[email protected]>
    tobiasgrosser committed May 28, 2018
    Configuration menu
    Copy the full SHA
    f1014b5 View commit details
    Browse the repository at this point in the history
  2. Add isl_pw_aff_val_from_val

    This function constructs a new piecewise affine expression defined over
    a zero-dimensional parameter space. The value of the piecewise affine
    expression is the constant value passed to this function.
    
    This function simplifies the construction of parameter expressions.
    Specifically, there is no need to talk about set dimensions or even set
    spaces in case parameter only expressions are constructed. Constant
    piecewise expressions with zero parameter dimensions can be combined
    with other parameter-space only dimensions thanks to isl auto-alignment
    of parameter dimensions.
    
    Signed-off-by: Tobias Grosser <[email protected]>
    tobiasgrosser committed May 28, 2018
    Configuration menu
    Copy the full SHA
    068873e View commit details
    Browse the repository at this point in the history
  3. Add isl_pw_aff_val_from_si

    This function constructs a new piecewise affine expression defined over
    a zero-dimensional parameter space. The value of the piecewise affine
    expression is the constant value passed to this function.
    
    This function simplifies the construction of parameter expressions.
    Specifically, there is no need to talk about set dimensions or even set
    spaces in case parameter only expressions are constructed. Constant
    piecewise expressions with zero parameter dimensions can be combined
    with other parameter-space only dimensions thanks to isl auto-alignment
    of parameter dimensions.
    
    Signed-off-by: Tobias Grosser <[email protected]>
    tobiasgrosser committed May 28, 2018
    Configuration menu
    Copy the full SHA
    dbfe618 View commit details
    Browse the repository at this point in the history