Add the missing 'LoopToScev' parameter

Contributed-by: Yabin Hu <yabin.hwu@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208180 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unnecessary explicit typing in std::make_pair

Contributed-by: Yabin Hu <yabin.hwu@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208181 91177308-0d34-0410-b5e6-96231b3b80d8
Replace llvm::IRBuilder with PollyIRBuilder

Contributed-by:  Yabin Hu <yabin.hwu@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208182 91177308-0d34-0410-b5e6-96231b3b80d8
Catch all functions containing a certain string

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208190 91177308-0d34-0410-b5e6-96231b3b80d8
Remove unnecessary struct in return type

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

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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208233 91177308-0d34-0410-b5e6-96231b3b80d8
Adapt to DomTree changes in r199104

This fixes the compilation of our GPGPU code generation experiment in Polly.

Contributed-by: Yabin Hu <yabin.hwu@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208287 91177308-0d34-0410-b5e6-96231b3b80d8
delinearize together all accesses to the same array

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208457 91177308-0d34-0410-b5e6-96231b3b80d8
correct the delinearization failing case

collect terms from affine and non affine memory accesses

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208616 91177308-0d34-0410-b5e6-96231b3b80d8
do not build llc and lli for polly test

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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208626 91177308-0d34-0410-b5e6-96231b3b80d8
Do not run GPGPU test cases without nvptx target

Tag the GPGPU codegen test cases as unsupported if the nvptx target is not
included in the current llvm build.

Contributed-by:  Yabin Hu <yabin.hwu@gmail.com>

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@208779 91177308-0d34-0410-b5e6-96231b3b80d8
polly: update for LLVM API change

SVN r209103 removed the OwningPtr variant of the MemoryBuffer APIs.  Switch to
the equivalent std::unique_ptr versions.  This should clear up the build bots.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@209104 91177308-0d34-0410-b5e6-96231b3b80d8
Split implementation from ScopDetectionDiagnostic.h

We don't want the Statistic variables in every module that
includes the diagnostics.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@209571 91177308-0d34-0410-b5e6-96231b3b80d8
Store all RejectReasons that occurred in a log.

This stores all RejectReasons created for one region
in a RejectLog inside the DetectionContext. For now
this only keeps track of the last error.

A separate patch will enable the tracking of all errors.
This patch itself does no harm (yet).

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@209572 91177308-0d34-0410-b5e6-96231b3b80d8
Substitue LastError & InvalidRegions with RejectLogs

Use the new ScopDetectionDiagnostics to implement
the same functionality.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@209573 91177308-0d34-0410-b5e6-96231b3b80d8
ScopDetection: Support keep-going

Support a 'keep-going' mode for the ScopDetection. In this mode, we just keep
on detecting, even if we encounter an error.

This is useful for diagnosing SCoP candidates. Sometimes you want all the
errors. Invalid SCoPs will still be refused in the end, we just refuse to
abort on the first error.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@209574 91177308-0d34-0410-b5e6-96231b3b80d8
Expose diagnostic info to users

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

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