GPGPU: collect array references

Initialize the list of references to a GPU array to ensure that the arrays that
need to be passed to kernel calls are computed correctly.  Furthermore, the very
same information is also necessary to compute synchronization correctly. As the
functionality to compute these references is already available, what is left for
us to do is only to connect the necessary functionality to compute array
reference information.

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