[llvm-commits] [polly] r157604 - in /polly/trunk: include/polly/Cloog.h include/polly/CodeGen/Cloog.h lib/CodeGen/Cloog.cpp lib/CodeGen/CodeGeneration.cpp lib/IndependentBlocks.cpp lib/RegisterPasses.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Tue May 29 02:11:46 PDT 2012
Author: grosser
Date: Tue May 29 04:11:46 2012
New Revision: 157604
URL: http://llvm.org/viewvc/llvm-project?rev=157604&view=rev
Log:
Move CLooG.h into include/polly/CodeGen/
Added:
polly/trunk/include/polly/CodeGen/Cloog.h
- copied, changed from r157246, polly/trunk/include/polly/Cloog.h
Removed:
polly/trunk/include/polly/Cloog.h
Modified:
polly/trunk/lib/CodeGen/Cloog.cpp
polly/trunk/lib/CodeGen/CodeGeneration.cpp
polly/trunk/lib/IndependentBlocks.cpp
polly/trunk/lib/RegisterPasses.cpp
Removed: polly/trunk/include/polly/Cloog.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/Cloog.h?rev=157603&view=auto
==============================================================================
--- polly/trunk/include/polly/Cloog.h (original)
+++ polly/trunk/include/polly/Cloog.h (removed)
@@ -1,75 +0,0 @@
-//===- CLooG.h - CLooG interface --------------------------------*- C++ -*-===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// CLooG[1] interface.
-//
-// The CLooG interface takes a Scop and generates a CLooG AST (clast). This
-// clast can either be returned directly or it can be pretty printed to stdout.
-//
-// A typical clast output looks like this:
-//
-// for (c2 = max(0, ceild(n + m, 2); c2 <= min(511, floord(5 * n, 3)); c2++) {
-// bb2(c2);
-// }
-//
-// [1] http://www.cloog.org/ - The Chunky Loop Generator
-//
-//===----------------------------------------------------------------------===//
-
-#ifndef POLLY_CLOOG_H
-#define POLLY_CLOOG_H
-
-#include "polly/Config/config.h"
-#ifdef CLOOG_FOUND
-
-#include "polly/ScopPass.h"
-
-#define CLOOG_INT_GMP 1
-#include "cloog/cloog.h"
-
-struct clast_name;
-namespace llvm {
- class raw_ostream;
-}
-
-namespace polly {
- class Scop;
- class Cloog;
-
- class CloogInfo : public ScopPass {
- Cloog *C;
- Scop *scop;
-
- public:
- static char ID;
- CloogInfo() : ScopPass(ID), C(0) {}
-
- /// Write a .cloog input file
- void dump(FILE *F);
-
- /// Print a source code representation of the program.
- void pprint(llvm::raw_ostream &OS);
-
- /// Create the CLooG AST from this program.
- const struct clast_root *getClast();
-
- bool runOnScop(Scop &S);
- void printScop(llvm::raw_ostream &OS) const;
- virtual void getAnalysisUsage(AnalysisUsage &AU) const;
- virtual void releaseMemory();
- };
-}
-
-namespace llvm {
- class PassRegistry;
- void initializeCloogInfoPass(llvm::PassRegistry&);
-}
-
-#endif /* CLOOG_FOUND */
-#endif /* POLLY_CLOOG_H */
Copied: polly/trunk/include/polly/CodeGen/Cloog.h (from r157246, polly/trunk/include/polly/Cloog.h)
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/CodeGen/Cloog.h?p2=polly/trunk/include/polly/CodeGen/Cloog.h&p1=polly/trunk/include/polly/Cloog.h&r1=157246&r2=157604&rev=157604&view=diff
==============================================================================
(empty)
Modified: polly/trunk/lib/CodeGen/Cloog.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/Cloog.cpp?rev=157604&r1=157603&r2=157604&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/Cloog.cpp (original)
+++ polly/trunk/lib/CodeGen/Cloog.cpp Tue May 29 04:11:46 2012
@@ -22,7 +22,7 @@
//
//===----------------------------------------------------------------------===//
-#include "polly/Cloog.h"
+#include "polly/CodeGen/Cloog.h"
#ifdef CLOOG_FOUND
#include "polly/LinkAllPasses.h"
#include "polly/ScopInfo.h"
Modified: polly/trunk/lib/CodeGen/CodeGeneration.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/CodeGen/CodeGeneration.cpp?rev=157604&r1=157603&r2=157604&view=diff
==============================================================================
--- polly/trunk/lib/CodeGen/CodeGeneration.cpp (original)
+++ polly/trunk/lib/CodeGen/CodeGeneration.cpp Tue May 29 04:11:46 2012
@@ -20,7 +20,7 @@
//
//===----------------------------------------------------------------------===//
-#include "polly/Cloog.h"
+#include "polly/CodeGen/Cloog.h"
#ifdef CLOOG_FOUND
#define DEBUG_TYPE "polly-codegen"
Modified: polly/trunk/lib/IndependentBlocks.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/IndependentBlocks.cpp?rev=157604&r1=157603&r2=157604&view=diff
==============================================================================
--- polly/trunk/lib/IndependentBlocks.cpp (original)
+++ polly/trunk/lib/IndependentBlocks.cpp Tue May 29 04:11:46 2012
@@ -14,7 +14,7 @@
#include "polly/LinkAllPasses.h"
#include "polly/ScopDetection.h"
#include "polly/Support/ScopHelper.h"
-#include "polly/Cloog.h"
+#include "polly/CodeGen/Cloog.h"
#include "llvm/Analysis/LoopInfo.h"
#include "llvm/Analysis/RegionInfo.h"
Modified: polly/trunk/lib/RegisterPasses.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/RegisterPasses.cpp?rev=157604&r1=157603&r2=157604&view=diff
==============================================================================
--- polly/trunk/lib/RegisterPasses.cpp (original)
+++ polly/trunk/lib/RegisterPasses.cpp Tue May 29 04:11:46 2012
@@ -13,7 +13,7 @@
#include "polly/RegisterPasses.h"
#include "polly/LinkAllPasses.h"
-#include "polly/Cloog.h"
+#include "polly/CodeGen/Cloog.h"
#include "polly/Dependences.h"
#include "polly/ScopDetection.h"
#include "polly/ScopInfo.h"
More information about the llvm-commits
mailing list