[llvm] r182314 - Rename LoopSimplify.h to LoopUtils.h
Hal Finkel
hfinkel at anl.gov
Mon May 20 13:46:30 PDT 2013
Author: hfinkel
Date: Mon May 20 15:46:30 2013
New Revision: 182314
URL: http://llvm.org/viewvc/llvm-project?rev=182314&view=rev
Log:
Rename LoopSimplify.h to LoopUtils.h
As discussed, LoopUtils.h is a better name.
Added:
llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h
- copied, changed from r182300, llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h
Removed:
llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h
Modified:
llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp
llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp
Removed: llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h?rev=182313&view=auto
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h (removed)
@@ -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
Copied: llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h (from r182300, llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h)
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h?p2=llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h&p1=llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h&r1=182300&r2=182314&rev=182314&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Transforms/Utils/LoopSimplify.h (original)
+++ llvm/trunk/include/llvm/Transforms/Utils/LoopUtils.h Mon May 20 15:46:30 2013
@@ -1,4 +1,4 @@
-//===- llvm/Transforms/Utils/LoopSimplify.h - Loop utilities -*- C++ -*-======//
+//===- llvm/Transforms/Utils/LoopUtils.h - Loop utilities -*- C++ -*-=========//
//
// The LLVM Compiler Infrastructure
//
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H
-#define LLVM_TRANSFORMS_UTILS_LOOPSIMPLIFY_H
+#ifndef LLVM_TRANSFORMS_UTILS_LOOPUTILS_H
+#define LLVM_TRANSFORMS_UTILS_LOOPUTILS_H
namespace llvm {
Modified: llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp?rev=182314&r1=182313&r2=182314&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCCTRLoops.cpp Mon May 20 15:46:30 2013
@@ -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"
Modified: llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp?rev=182314&r1=182313&r2=182314&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp (original)
+++ llvm/trunk/lib/Transforms/Utils/LoopSimplify.cpp Mon May 20 15:46:30 2013
@@ -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");
More information about the llvm-commits
mailing list