From 4e6b24ffcfafbc0c5eda1bb89163ccd56f394fdf Mon Sep 17 00:00:00 2001 From: Hal Finkel Date: Mon, 20 May 2013 20:46:30 +0000 Subject: 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 --- include/llvm/Transforms/Utils/LoopSimplify.h | 26 -------------------------- include/llvm/Transforms/Utils/LoopUtils.h | 26 ++++++++++++++++++++++++++ lib/Target/PowerPC/PPCCTRLoops.cpp | 2 +- lib/Transforms/Utils/LoopSimplify.cpp | 2 +- 4 files changed, 28 insertions(+), 28 deletions(-) delete mode 100644 include/llvm/Transforms/Utils/LoopSimplify.h create mode 100644 include/llvm/Transforms/Utils/LoopUtils.h diff --git a/include/llvm/Transforms/Utils/LoopSimplify.h b/include/llvm/Transforms/Utils/LoopSimplify.h deleted file mode 100644 index 9588078..0000000 --- a/include/llvm/Transforms/Utils/LoopSimplify.h +++ /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 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 diff --git a/lib/Target/PowerPC/PPCCTRLoops.cpp b/lib/Target/PowerPC/PPCCTRLoops.cpp index fa9526c..d2dd848 100644 --- a/lib/Target/PowerPC/PPCCTRLoops.cpp +++ b/lib/Target/PowerPC/PPCCTRLoops.cpp @@ -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" diff --git a/lib/Transforms/Utils/LoopSimplify.cpp b/lib/Transforms/Utils/LoopSimplify.cpp index 1fbface..6d5f16c 100644 --- a/lib/Transforms/Utils/LoopSimplify.cpp +++ b/lib/Transforms/Utils/LoopSimplify.cpp @@ -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"); -- cgit v1.1