[Refactor] Unify IslAst print methods

  + Add const annotations to some member functions



git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213779 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] IslAst and payload struct

  + Renamed context into build when it's the isl_ast_build
  + Use the IslAstInfo functions to extract the schedule of a node
  + Use the IslAstInfo functions to extract the build/context of a node
  + Move the payload struct into the IslAstInfo class
  + Use a constructor and destructor (also new and delete) to
    allocate/initialize the payload struct


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213792 91177308-0d34-0410-b5e6-96231b3b80d8
[Fix] Typo during refactoring

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213795 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Remove containsLoop to find innermost loops

  Use the fact that if we visit a for node first in pre and next in post order
  we know we did not visit any children, thus we found an innermost loop.

  + Test case for an innermost loop with a conditional inside



git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213870 91177308-0d34-0410-b5e6-96231b3b80d8
Make getIslCompatibleName globaly available


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213907 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Expose the runtime debug builder


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213908 91177308-0d34-0410-b5e6-96231b3b80d8
[Fix] Added RuntimeDebugBuilder to the build


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@213962 91177308-0d34-0410-b5e6-96231b3b80d8
Replace the dependences parallelism check by the IslAst one


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214061 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Remove unused MemoryAccess constructor


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214165 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Adjust some comments


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214166 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Use non-const MemoryAccess base addresses


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214168 91177308-0d34-0410-b5e6-96231b3b80d8
Added base array id's to Memory Accesses

  These id's allow us to cread id -> array base value mappings.


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214169 91177308-0d34-0410-b5e6-96231b3b80d8
Assume no annotations when visiting new domain (IslAst)

  Whe we build the IslAst we visit for nodes (in pre and post order) as well as
  user/domain nodes. As these two sets are non overlapping we do not need to
  check if we annotated a node earlier when we visit it.



git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214170 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Adjust some comments


git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214171 91177308-0d34-0410-b5e6-96231b3b80d8
IslAst: Enhance parallelism detection test

Add more check lines to ensure we do not accidentally generate nested openmp
parallel annotations.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214200 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Expose the IslExprBuilder

  This allows us to use to IslExprBuilder not only from within
  IslCodegeneration.



git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214215 91177308-0d34-0410-b5e6-96231b3b80d8
[Refactor] Expose the IslExprBuilder (missing files)



git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214220 91177308-0d34-0410-b5e6-96231b3b80d8
Update for llvm change.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@214358 91177308-0d34-0410-b5e6-96231b3b80d8