Fix formatting

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@215528 91177308-0d34-0410-b5e6-96231b3b80d8
[Polly] Remove the PoCC and ScopLib support

  Remove the PoCC and ScopLib support from Polly as we do not have a
  user/maintainer for it.

Differential Revision: http://reviews.llvm.org/D4871



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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@215570 91177308-0d34-0410-b5e6-96231b3b80d8
Revert to heuristical DebugLoc finding

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@215623 91177308-0d34-0410-b5e6-96231b3b80d8
Do not assert when trying to replace the log with another log

This usually happens when TempScopInfo calls isMaxRegionInScop(..),
so don't fail there.

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@215624 91177308-0d34-0410-b5e6-96231b3b80d8
Use a snapshot of the aliasing pointers

Store the llvm::Value pointers of the AliasSet instead of the AliasSet
itself.

We have to be careful about changed IR when the message is generated,
because the Value pointers might not exist anymore. This would render
the Diagnostic invalid. For now we just assert there.

Simply do not retreive a diagnostic message after the IR has changed
it's not valid information anyway.

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

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@215626 91177308-0d34-0410-b5e6-96231b3b80d8
Add print method to RejectLog

git-svn-id: https://llvm.org/svn/llvm-project/polly/trunk@215627 91177308-0d34-0410-b5e6-96231b3b80d8
Update format and fix wrong file name
Add GPGPU codegen related files from ppcg into polly

Not made any changes at the moment.
Remove and comment unused header includes

- pet.h has been included in ppcg.h thus no need to include it once
  again.
- Change header include from <pet.h> to "pet.h"
Remove useless ppcg functions to make compiling success
Rename *.c to *.cpp

So that we can use polly's data structure in ppcg. In the next step,
pet_stmt will be replaced with polly::ScopStmt. Other than renaming all
c files into cpp files, there are two main kinds of changes in the code:
 - We rename all the varialbes named 'private', because 'private' is
   used as keyword in C++.
 - We enforce pointer type casts for 'void *' to avoid build errors that
   exist in C++ but not in C.
Update makefile to include GPGPU codegen files into build

All the added GPGPU codegen files compiled successfully.
Do not check format of the GPGPU codegen sources.
Remove use of isl_printer parameter in "generate" function

The original generate function is divided into 2 parts:
 - the new generate function: store the generated ast_node host tree
   in gen and return void.

Two functions call or use "generate" as callback are commented out.
 - generate_wrap
 - generate_gpu

Add new declaration of generate_gpu to gpu.h.
Replace use of pet_stmt with polly::ScopStmt
Add an isl_id to MemoryAccess class.

This ref_id is used to represent an id of an access.
Replace pet_scop with polly::Scop

Some functions from pet/scop.c file is copied into ppcg.cpp and
modified with input of a polly::Scop pointer.
rename ppcg_scop_from_pet_scop to ppcg_scop_from_polly_scop