Rename LoopSimplify.h to LoopUtils.h
authorHal Finkel <hfinkel@anl.gov>
Mon, 20 May 2013 20:46:30 +0000 (20:46 +0000)
committerHal Finkel <hfinkel@anl.gov>
Mon, 20 May 2013 20:46:30 +0000 (20:46 +0000)
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

include/llvm/Transforms/Utils/LoopSimplify.h [deleted file]
include/llvm/Transforms/Utils/LoopUtils.h [new file with mode: 0644]
lib/Target/PowerPC/PPCCTRLoops.cpp
lib/Transforms/Utils/LoopSimplify.cpp

diff --git a/include/llvm/Transforms/Utils/LoopSimplify.h b/include/llvm/Transforms/Utils/LoopSimplify.h
deleted file mode 100644 (file)
index 9588078..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-//===- llvm/Transforms/Utils/LoopSimplify.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_LOOPSIMPLIFY_H
-#define LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H
-
-namespace llvm {
-
-class Loop;
-class Pass;
-
-BasicBlock *InsertPreheaderForLoop(Loop *L, Pass *P);
-
-}
-
-#endif
diff --git a/include/llvm/Transforms/Utils/LoopUtils.h b/include/llvm/Transforms/Utils/LoopUtils.h
new file mode 100644 (file)
index 0000000..4745eba
--- /dev/null
@@ -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
index fa9526ce568d03f269255289559ddd8e9675b706..d2dd848cafa79dadf389b79422284664835167aa 100644 (file)
@@ -44,7 +44,7 @@
 #include "llvm/Support/raw_ostream.h"
 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
 #include "llvm/Transforms/Utils/Local.h"
-#include "llvm/Transforms/Utils/LoopSimplify.h"
+#include "llvm/Transforms/Utils/LoopUtils.h"
 #include "llvm/Target/TargetLibraryInfo.h"
 #include "PPCTargetMachine.h"
 #include "PPC.h"
index 1fbface409cd6c481efb210626bdeb5328896634..6d5f16ca333b0463178aa4fd2a565967128a5ccb 100644 (file)
@@ -59,7 +59,7 @@
 #include "llvm/Support/Debug.h"
 #include "llvm/Transforms/Utils/BasicBlockUtils.h"
 #include "llvm/Transforms/Utils/Local.h"
-#include "llvm/Transforms/Utils/LoopSimplify.h"
+#include "llvm/Transforms/Utils/LoopUtils.h"
 using namespace llvm;
 
 STATISTIC(NumInserted, "Number of pre-header or exit blocks inserted");