diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2007-03-28 02:38:26 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2007-03-28 02:38:26 +0000 |
commit | 5373b721c0c76c54f948b9097ba7f4737dbab730 (patch) | |
tree | 64fa80203e3e09c75ace8c8965a9ad819e83b6d2 /test/Transforms | |
parent | 83145c3f19685bf17df4b7a4579a92bda2020a94 (diff) | |
download | llvm-5373b721c0c76c54f948b9097ba7f4737dbab730.tar.gz llvm-5373b721c0c76c54f948b9097ba7f4737dbab730.tar.bz2 llvm-5373b721c0c76c54f948b9097ba7f4737dbab730.tar.xz |
Remove use of implementation keyword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35412 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Transforms')
24 files changed, 0 insertions, 26 deletions
diff --git a/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll b/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll index b3c12ffe1f..893d82b9f5 100644 --- a/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll +++ b/test/Transforms/ADCE/2002-01-31-UseStuckAround.ll @@ -1,7 +1,5 @@ ; RUN: llvm-as %s -o - | opt -adce -implementation - define i32 @"main"(i32 %argc) begin br label %2 diff --git a/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll b/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll index 6e45930882..8dc5b88cce 100644 --- a/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll +++ b/test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll @@ -7,7 +7,6 @@ target triple = "i686-apple-darwin8" @foo = internal constant [5 x i8] c"\00abc\00" ; <[5 x i8]*> [#uses=1] @str = internal constant [4 x i8] c"%d\0A\00" ; <[4 x i8]*> [#uses=1] -implementation ; Functions: define i32 @test(i32 %J) { entry: diff --git a/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll b/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll index da28f595a3..d60da44b7f 100644 --- a/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll +++ b/test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll @@ -5,7 +5,6 @@ target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" %struct.termbox = type { %struct.termbox*, i32, i32, i32, i32, i32 } -implementation ; Functions: define void @ggenorien() { entry: diff --git a/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll b/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll index c63fe8dedb..0e08cb0d9d 100644 --- a/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll +++ b/test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll @@ -4,7 +4,6 @@ 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" target triple = "i686-pc-linux-gnu" -implementation ; Functions: define i1 @test(i32* %tmp141, i32* %tmp145, i32 %b8, i32 %iftmp.430.0, i32* %tmp134.out, i32* %tmp137.out) diff --git a/test/Transforms/InstCombine/apint-add1.ll b/test/Transforms/InstCombine/apint-add1.ll index a4379c49c8..925009214f 100644 --- a/test/Transforms/InstCombine/apint-add1.ll +++ b/test/Transforms/InstCombine/apint-add1.ll @@ -5,7 +5,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \ ; RUN: grep -v OK | not grep add -implementation define i1 @test1(i1 %x) { %tmp.2 = xor i1 %x, 1 diff --git a/test/Transforms/InstCombine/apint-add2.ll b/test/Transforms/InstCombine/apint-add2.ll index e83849ed8f..e06b07c61d 100644 --- a/test/Transforms/InstCombine/apint-add2.ll +++ b/test/Transforms/InstCombine/apint-add2.ll @@ -5,7 +5,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | \ ; RUN: grep -v OK | not grep add -implementation define i111 @test1(i111 %x) { %tmp.2 = shl i111 1, 110 diff --git a/test/Transforms/InstCombine/apint-and1.ll b/test/Transforms/InstCombine/apint-and1.ll index 11e504a182..53b9e23f4b 100644 --- a/test/Transforms/InstCombine/apint-and1.ll +++ b/test/Transforms/InstCombine/apint-and1.ll @@ -4,8 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'and ' -implementation - define i39 @test0(i39 %A) { %B = and i39 %A, 0 ; zero result ret i39 %B diff --git a/test/Transforms/InstCombine/apint-and2.ll b/test/Transforms/InstCombine/apint-and2.ll index 690f0e1df2..e66eeff12d 100644 --- a/test/Transforms/InstCombine/apint-and2.ll +++ b/test/Transforms/InstCombine/apint-and2.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'and ' -implementation define i999 @test0(i999 %A) { %B = and i999 %A, 0 ; zero result diff --git a/test/Transforms/InstCombine/apint-call-cast-target.ll b/test/Transforms/InstCombine/apint-call-cast-target.ll index 6201c72d85..0f87a53160 100644 --- a/test/Transforms/InstCombine/apint-call-cast-target.ll +++ b/test/Transforms/InstCombine/apint-call-cast-target.ll @@ -3,7 +3,6 @@ target datalayout = "e-p:32:32" target triple = "i686-pc-linux-gnu" -implementation ; Functions: define i32 @main() { entry: diff --git a/test/Transforms/InstCombine/apint-div1.ll b/test/Transforms/InstCombine/apint-div1.ll index b11b8bc24f..4c394f6a16 100644 --- a/test/Transforms/InstCombine/apint-div1.ll +++ b/test/Transforms/InstCombine/apint-div1.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div -implementation define i33 @test1(i33 %X) { %Y = udiv i33 %X, 4096 diff --git a/test/Transforms/InstCombine/apint-div2.ll b/test/Transforms/InstCombine/apint-div2.ll index e83c97612d..ba849e22f8 100644 --- a/test/Transforms/InstCombine/apint-div2.ll +++ b/test/Transforms/InstCombine/apint-div2.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep div -implementation define i333 @test1(i333 %X) { %Y = udiv i333 %X, 70368744177664 diff --git a/test/Transforms/InstCombine/apint-mul1.ll b/test/Transforms/InstCombine/apint-mul1.ll index 58f3bc9f3f..36b1102580 100644 --- a/test/Transforms/InstCombine/apint-mul1.ll +++ b/test/Transforms/InstCombine/apint-mul1.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul -implementation define i17 @test1(i17 %X) { %Y = mul i17 %X, 1024 diff --git a/test/Transforms/InstCombine/apint-mul2.ll b/test/Transforms/InstCombine/apint-mul2.ll index 16518bb44e..72fd97ac79 100644 --- a/test/Transforms/InstCombine/apint-mul2.ll +++ b/test/Transforms/InstCombine/apint-mul2.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep mul -implementation define i177 @test1(i177 %X) { %C = shl i177 1, 155 diff --git a/test/Transforms/InstCombine/apint-or1.ll b/test/Transforms/InstCombine/apint-or1.ll index 993a37685e..51b87fe2a2 100644 --- a/test/Transforms/InstCombine/apint-or1.ll +++ b/test/Transforms/InstCombine/apint-or1.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep or -implementation define i7 @test0(i7 %X) { %Y = or i7 %X, 0 diff --git a/test/Transforms/InstCombine/apint-or2.ll b/test/Transforms/InstCombine/apint-or2.ll index c0a9971ecf..b8f8783688 100644 --- a/test/Transforms/InstCombine/apint-or2.ll +++ b/test/Transforms/InstCombine/apint-or2.ll @@ -5,7 +5,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis > /tmp/or2.rel && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep or -implementation define i777 @test0(i777 %X) { %Y = or i777 %X, 0 diff --git a/test/Transforms/InstCombine/apint-rem1.ll b/test/Transforms/InstCombine/apint-rem1.ll index 0d72d447ff..6b1c772dd5 100644 --- a/test/Transforms/InstCombine/apint-rem1.ll +++ b/test/Transforms/InstCombine/apint-rem1.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem -implementation define i33 @test1(i33 %A) { %B = urem i33 %A, 4096 diff --git a/test/Transforms/InstCombine/apint-rem2.ll b/test/Transforms/InstCombine/apint-rem2.ll index 111a1b07ff..4704018b39 100644 --- a/test/Transforms/InstCombine/apint-rem2.ll +++ b/test/Transforms/InstCombine/apint-rem2.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep rem -implementation define i333 @test1(i333 %A) { %B = urem i333 %A, 70368744177664 diff --git a/test/Transforms/InstCombine/apint-select.ll b/test/Transforms/InstCombine/apint-select.ll index d804a34f6e..54e905eb10 100644 --- a/test/Transforms/InstCombine/apint-select.ll +++ b/test/Transforms/InstCombine/apint-select.ll @@ -3,7 +3,6 @@ ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep select && ; RUN: llvm-as < %s | opt -instcombine -disable-output -implementation define i41 @test1(i1 %C) { %V = select i1 %C, i41 1, i41 0 ; V = C diff --git a/test/Transforms/InstCombine/apint-xor1.ll b/test/Transforms/InstCombine/apint-xor1.ll index 8daa9cc442..116d70e7e6 100644 --- a/test/Transforms/InstCombine/apint-xor1.ll +++ b/test/Transforms/InstCombine/apint-xor1.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor ' -implementation define i47 @test1(i47 %A, i47 %B) { ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0 diff --git a/test/Transforms/InstCombine/apint-xor2.ll b/test/Transforms/InstCombine/apint-xor2.ll index 9127324351..b9d7e82f28 100644 --- a/test/Transforms/InstCombine/apint-xor2.ll +++ b/test/Transforms/InstCombine/apint-xor2.ll @@ -4,7 +4,6 @@ ; RUN: llvm-as < %s | opt -instcombine -disable-output && ; RUN: llvm-as < %s | opt -instcombine | llvm-dis | not grep 'xor ' -implementation define i447 @test1(i447 %A, i447 %B) { ;; (A & C1)^(B & C2) -> (A & C1)|(B & C2) iff C1&C2 == 0 diff --git a/test/Transforms/InstCombine/vec_shuffle.ll b/test/Transforms/InstCombine/vec_shuffle.ll index a53903a05f..1ed1e693b8 100644 --- a/test/Transforms/InstCombine/vec_shuffle.ll +++ b/test/Transforms/InstCombine/vec_shuffle.ll @@ -3,7 +3,6 @@ %T = type <4 x float> -implementation define %T @test1(%T %v1) { %v2 = shufflevector %T %v1, %T undef, <4 x i32> <i32 0, i32 1, i32 2, i32 3> diff --git a/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll b/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll index 1ba904bd0b..769ec199b8 100644 --- a/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll +++ b/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll @@ -15,7 +15,6 @@ target triple = "arm-apple-darwin8" %struct.aal_state_t = type { %struct.CGPoint, %struct.CGPoint, %struct.CGPoint, i32, float, float, float, float, %struct.CGPoint, %struct.CGPoint, float, float, float, float, i32, i32, i32, i32, float, float, i8*, i32, i32, %struct.aal_edge_pool_t*, %struct.aal_edge_pool_t*, i8*, %struct.aal_callback_t*, i32, %struct.aal_span_t*, %struct.aal_span_t*, %struct.aal_span_t*, %struct.aal_span_pool_t*, i8, float, i8, i32 } %struct.anon = type { %struct.aal_spanarray_t } -implementation ; Functions: declare void @llvm.memcpy.i32(i8*, i8*, i32, i32) diff --git a/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll b/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll index f7f3017381..932e7130a6 100644 --- a/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll +++ b/test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll @@ -5,7 +5,6 @@ target datalayout = "E-p:32:32" target triple = "powerpc-apple-darwin8.8.0" %struct.foo = type { i8, i8 } -implementation ; Functions: define i32 @test1(%struct.foo* %P) { entry: diff --git a/test/Transforms/ScalarRepl/memset-aggregate.ll b/test/Transforms/ScalarRepl/memset-aggregate.ll index de94fe11c4..883e41c1a1 100644 --- a/test/Transforms/ScalarRepl/memset-aggregate.ll +++ b/test/Transforms/ScalarRepl/memset-aggregate.ll @@ -7,7 +7,6 @@ target triple = "i686-apple-darwin8" %struct.bar = type { %struct.foo, i64, double } %struct.foo = type { i32, i32 } -implementation ; Functions: define i32 @test1(%struct.foo* %P) { entry: |