aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/Transforms/Utils/LoopUtils.h
diff options
context:
space:
mode:
authorHal Finkel <hfinkel@anl.gov>2013-05-20 20:46:30 +0000
committerHal Finkel <hfinkel@anl.gov>2013-05-20 20:46:30 +0000
commit4e6b24ffcfafbc0c5eda1bb89163ccd56f394fdf (patch)
treed06add2a8ec7eb282c693c19414d022b93f32ad4 /include/llvm/Transforms/Utils/LoopUtils.h
parentb02834cf1f2791dccfd86bb792a6e8301b117bad (diff)
downloadexternal_llvm-4e6b24ffcfafbc0c5eda1bb89163ccd56f394fdf.zip
external_llvm-4e6b24ffcfafbc0c5eda1bb89163ccd56f394fdf.tar.gz
external_llvm-4e6b24ffcfafbc0c5eda1bb89163ccd56f394fdf.tar.bz2
Rename LoopSimplify.h to LoopUtils.h
As discussed, LoopUtils.h is a better name. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182314 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms/Utils/LoopUtils.h')
-rw-r--r--include/llvm/Transforms/Utils/LoopUtils.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Utils/LoopUtils.h b/include/llvm/Transforms/Utils/LoopUtils.h
new file mode 100644
index 0000000..4745eba
--- /dev/null
+++ b/include/llvm/Transforms/Utils/LoopUtils.h
@@ -0,0 +1,26 @@
+//===- llvm/Transforms/Utils/LoopUtils.h - Loop 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 transformation utilities.
+//
+//===----------------------------------------------------------------------===//
+
+#ifndef LLVM_TRANSFORMS_UTILS_LOOPUTILS_H
+#define LLVM_TRANSFORMS_UTILS_LOOPUTILS_H
+
+namespace llvm {
+
+class Loop;
+class Pass;
+
+BasicBlock *InsertPreheaderForLoop(Loop *L, Pass *P);
+
+}
+
+#endif