Rename 'loopsimplify' to 'loop-simplify'.
authorCameron Zwarich <zwarich@apple.com>
Thu, 10 Feb 2011 23:38:10 +0000 (23:38 +0000)
committerCameron Zwarich <zwarich@apple.com>
Thu, 10 Feb 2011 23:38:10 +0000 (23:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@125317 91177308-0d34-0410-b5e6-96231b3b80d8

21 files changed:
lib/Transforms/Utils/LoopSimplify.cpp
test/Transforms/LCSSA/2006-06-03-IncorrectIDFPhis.ll
test/Transforms/LICM/2003-02-27-NestedLoopExitBlocks.ll
test/Transforms/LoopSimplify/2003-04-25-AssertFail.ll
test/Transforms/LoopSimplify/2003-05-12-PreheaderExitOfChild.ll
test/Transforms/LoopSimplify/2004-02-05-DominatorInfoCorruption.ll
test/Transforms/LoopSimplify/2004-03-15-IncorrectDomUpdate.ll
test/Transforms/LoopSimplify/2004-04-01-IncorrectDomUpdate.ll
test/Transforms/LoopSimplify/2004-04-12-LoopSimplify-SwitchBackedges.ll
test/Transforms/LoopSimplify/2004-04-13-LoopSimplifyUpdateDomFrontier.ll
test/Transforms/LoopSimplify/2007-10-28-InvokeCrash.ll
test/Transforms/LoopSimplify/2010-07-15-IncorrectDomFrontierUpdate.ll
test/Transforms/LoopSimplify/2010-12-26-PHIInfiniteLoop.ll
test/Transforms/LoopSimplify/basictest.ll
test/Transforms/LoopSimplify/hardertest.ll
test/Transforms/LoopSimplify/indirectbr-backedge.ll
test/Transforms/LoopSimplify/indirectbr.ll
test/Transforms/LoopSimplify/merge-exits.ll
test/Transforms/LoopSimplify/phi-node-simplify.ll
test/Transforms/LoopSimplify/unreachable-loop-pred.ll
test/Transforms/LoopUnroll/2005-03-06-BadLoopInfoUpdate.ll

index b237824da13df46269b328bef38b66c2359041d6..246263026bb495268eb5787bd0aa946bdf5f9333 100644 (file)
@@ -37,7 +37,7 @@
 //
 //===----------------------------------------------------------------------===//
 
-#define DEBUG_TYPE "loopsimplify"
+#define DEBUG_TYPE "loop-simplify"
 #include "llvm/Transforms/Scalar.h"
 #include "llvm/Constants.h"
 #include "llvm/Instructions.h"
@@ -108,11 +108,11 @@ namespace {
 }
 
 char LoopSimplify::ID = 0;
-INITIALIZE_PASS_BEGIN(LoopSimplify, "loopsimplify",
+INITIALIZE_PASS_BEGIN(LoopSimplify, "loop-simplify",
                 "Canonicalize natural loops", true, false)
 INITIALIZE_PASS_DEPENDENCY(DominatorTree)
 INITIALIZE_PASS_DEPENDENCY(LoopInfo)
-INITIALIZE_PASS_END(LoopSimplify, "loopsimplify",
+INITIALIZE_PASS_END(LoopSimplify, "loop-simplify",
                 "Canonicalize natural loops", true, false)
 
 // Publically exposed interface to pass...
index 5381c88aea630c41e3ad8e6e40b3a60ec35b101b..7a80f8052b0dd7a4cde9062e11029103d7c7192e 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: opt < %s -loopsimplify -lcssa -S | \
+; RUN: opt < %s -loop-simplify -lcssa -S | \
 ; RUN:   grep {%%SJE.0.0.lcssa = phi .struct.SetJmpMapEntry}
-; RUN: opt < %s -loopsimplify -lcssa -S | \
+; RUN: opt < %s -loop-simplify -lcssa -S | \
 ; RUN:   grep {%%SJE.0.0.lcssa1 = phi .struct.SetJmpMapEntry}
 
         %struct.SetJmpMapEntry = type { i8*, i32, %struct.SetJmpMapEntry* }
index 4782bd17f8933e6cdaafe5094567e076bf38ca2a..4559e31017928a3a8b4d52354d80de1d3c8afadb 100644 (file)
@@ -1,6 +1,6 @@
 ; Exit blocks need to be updated for all nested loops...
 
-; RUN: opt < %s -loopsimplify
+; RUN: opt < %s -loop-simplify
 
 define i32 @yyparse() {
 bb0:
index bf862f69e94bcef48ee68daeac8d945bd6d29e7a..66bf1a0caa97e7c88ad29e8dbbb71e61ca99cd2e 100644 (file)
@@ -1,7 +1,7 @@
 ; This testcase exposed a problem with the loop identification pass (LoopInfo).
 ; Basically, it was incorrectly calculating the loop nesting information.
 ;
-; RUN: opt < %s -loopsimplify
+; RUN: opt < %s -loop-simplify
 
 define i32 @yylex() {
        br label %loopentry.0
index cd9749bbf6d0f7174fb9c9eec87f2bad4997b878..2b2afae3661380a54d1d19b739d344247a76ff92 100644 (file)
@@ -2,7 +2,7 @@
 ; inserted for the "fail" loop, but the exit block of a loop is not updated
 ; to be the preheader instead of the exit loop itself.
 
-; RUN: opt < %s -loopsimplify
+; RUN: opt < %s -loop-simplify
 define i32 @re_match_2() {
        br label %loopentry.1
 loopentry.1:           ; preds = %endif.82, %0
index a5d0ba7ad76a81500f120d30a43ffc10a46a1423..aae8476c8300f626541b8e83b1aa268caddaae26 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -verify -licm -disable-output
+; RUN: opt < %s -loop-simplify -verify -licm -disable-output
 
 define void @.subst_48() {
 entry:
index dc5c313546410425106a9688d80fd7ca28741d74..3e7661ecb572998438da21e79a069bd5bdc7b362 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -licm -disable-output
+; RUN: opt < %s -loop-simplify -licm -disable-output
 define void @main() {
 entry:
        br i1 false, label %Out, label %loop
index 721f9b3a0340518289072c551e3470f12c1aca91..c29383764af66d701e6ff0d11f08194b0f95ae5e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -licm -disable-output
+; RUN: opt < %s -loop-simplify -licm -disable-output
 
 ; This is PR306
 
index cbdfe8bbc0ae25bb99a6491d2df3ada1c8dd72a4..c522ec9463b7550342fca8aedac1fa903584d250 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -disable-output
+; RUN: opt < %s -loop-simplify -disable-output
 
 define void @test() {
 loopentry.0:
index 4fe6e2156f972652d797fda8255a759976427f38..5818808ae0cd20bfbf0cf7b0903e37f1ecc14aee 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -scalarrepl -loopsimplify -licm -disable-output -verify-dom-info -verify-loop-info
+; RUN: opt < %s -scalarrepl -loop-simplify -licm -disable-output -verify-dom-info -verify-loop-info
 
 define void @inflate() {
 entry:
index 10202dcf98ce3f6f37a9823460d13ca61fced3bd..e73fff18bc5d9a5becf843951d7cedff977e124d 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -disable-output
+; RUN: opt < %s -loop-simplify -disable-output
 ; PR1752
 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-s0:0:64-f80:32:32"
 target triple = "i686-pc-mingw32"
index 2a1ee7d1a72f8be6a42f9292015eb5597f3c4624..f179da234cb1430e44f14a55b0366b73da4e2d4e 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -domfrontier -loopsimplify -domfrontier -verify-dom-info -analyze 
+; RUN: opt < %s -domfrontier -loop-simplify -domfrontier -verify-dom-info -analyze 
 
 
 define void @a() nounwind {
index 4973d43b4512474b88a2b036ad394d73d8bbe89d..00f520bf797584a3f855f7bcf3adba37aee08404 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -S
+; RUN: opt < %s -loop-simplify -S
 ; PR8702
 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
 target triple = "x86_64-unknown-freebsd9.0"
index 4241d8ad08957e4a79de525cc9649b554be16946..6b31848a94bd02dcfaad659754b3261cce6998cf 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify
+; RUN: opt < %s -loop-simplify
 
 ; This function should get a preheader inserted before BB3, that is jumped
 ; to by BB1 & BB2
index e0a7f81603b08ff1e1727cf9daecf9d620030e60..1ccb396490ca1ee542b30e6b5040386b22242b63 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify
+; RUN: opt < %s -loop-simplify
 
 define void @foo(i1 %C) {
        br i1 %C, label %T, label %F
index ca6e47fcecd3c3c1feddb785b571cf2e2783261e..7eabc09cd7da80e3e98c5f5f07bd603abc858418 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -loopsimplify -S < %s | FileCheck %s
+; RUN: opt -loop-simplify -S < %s | FileCheck %s
 
 ; LoopSimplify shouldn't split loop backedges that use indirectbr.
 
index 2e4549d1e9c0ff6b278fd5e84424a86e66f72e9d..9814d4ad93f15eb8690fc10587c11886cf38e0be 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -lcssa -verify-loop-info -verify-dom-info -S \
+; RUN: opt < %s -loop-simplify -lcssa -verify-loop-info -verify-dom-info -S \
 ; RUN:   | grep -F {indirectbr i8* %x, \[label %L0, label %L1\]} \
 ; RUN:   | count 6
 
index 0e15f081a864236be542df9a1aad81dde54a14ae..93a224744ca3962747695c6a9366e0c3d439b0cd 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loopsimplify -loop-rotate -instcombine -indvars -S -verify-loop-info -verify-dom-info > %t
+; RUN: opt < %s -loop-simplify -loop-rotate -instcombine -indvars -S -verify-loop-info -verify-dom-info > %t
 ; RUN: not grep sext %t
 ; RUN: grep {phi i64} %t | count 1
 
index 5e957ccbd88073f97625b039d24da02e569ce548..8eb63d9111a7804bd729366ecf35b01ce7262390 100644 (file)
@@ -1,5 +1,5 @@
 ; Loop Simplify should turn phi nodes like X = phi [X, Y]  into just Y, eliminating them.
-; RUN: opt < %s -loopsimplify -S | grep phi | count 6
+; RUN: opt < %s -loop-simplify -S | grep phi | count 6
 
 @A = weak global [3000000 x i32] zeroinitializer               ; <[3000000 x i32]*> [#uses=1]
 @B = weak global [20000 x i32] zeroinitializer         ; <[20000 x i32]*> [#uses=1]
index faaaf97d72fa4bf4d34bd0a6fd0e7cae269b9cd4..76b7bb21e468f238ee328e7724acd1cd4f517b67 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt -S -loopsimplify -disable-output -verify-loop-info -verify-dom-info < %s
+; RUN: opt -S -loop-simplify -disable-output -verify-loop-info -verify-dom-info < %s
 ; PR5235
 
 ; When loopsimplify inserts a preheader for this loop, it should add the new
index a26346b2eb40d3d1a71607fa62f187108ec6a788..374f46d10cb30d72e7613d8059d0761c2855bcb4 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: opt < %s -loop-unroll -loopsimplify -disable-output
+; RUN: opt < %s -loop-unroll -loop-simplify -disable-output
 
 define void @print_board() {
 entry: