[llvm-commits] [llvm] r51093 - /llvm/trunk/include/llvm/Transforms/Utils/UnrollLoop.h

Dan Gohman gohman at apple.com
Tue May 13 21:39:40 PDT 2008


Author: djg
Date: Tue May 13 23:39:40 2008
New Revision: 51093

URL: http://llvm.org/viewvc/llvm-project?rev=51093&view=rev
Log:
Commit the header I accidentally left out of 51083.

Added:
    llvm/trunk/include/llvm/Transforms/Utils/UnrollLoop.h

Added: llvm/trunk/include/llvm/Transforms/Utils/UnrollLoop.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/UnrollLoop.h?rev=51093&view=auto

==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/UnrollLoop.h (added)
+++ llvm/trunk/include/llvm/Transforms/Utils/UnrollLoop.h Tue May 13 23:39:40 2008
@@ -0,0 +1,29 @@
+//===- llvm/Transforms/Utils/UnrollLoop.h - Unrolling utilities -*- C++ -*-===//
+//
+//                     The LLVM Compiler Infrastructure
+//
+// This file is distributed under the University of Illinois Open Source
+// License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file defines some loop unrolling utilities. It does not define any
+// actual pass or policy, but provides a single function to perform loop
+// unrolling.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
+#define LLVM_TRANSFORMS_UTILS_UNROLLLOOP_H
+
+#include "llvm/Analysis/LoopInfo.h"
+
+namespace llvm {
+
+class LPPassManager;
+
+bool UnrollLoop(Loop *L, unsigned Count, LoopInfo* LI, LPPassManager* LPM);
+
+}
+
+#endif





More information about the llvm-commits mailing list