summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-03-28 02:38:26 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-03-28 02:38:26 +0000
commit5373b721c0c76c54f948b9097ba7f4737dbab730 (patch)
tree64fa80203e3e09c75ace8c8965a9ad819e83b6d2
parent83145c3f19685bf17df4b7a4579a92bda2020a94 (diff)
downloadllvm-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
-rw-r--r--test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll1
-rw-r--r--test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll1
-rw-r--r--test/Analysis/ScalarEvolution/trip-count.ll1
-rw-r--r--test/Assembler/2002-05-02-ParseError.ll1
-rw-r--r--test/Assembler/2007-01-02-Undefined-Arg-Type.ll1
-rw-r--r--test/CodeGen/ARM/2007-03-06-AddR7.ll1
-rw-r--r--test/CodeGen/ARM/2007-03-21-JoinIntervalsCrash.ll1
-rw-r--r--test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll1
-rw-r--r--test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll2
-rw-r--r--test/CodeGen/ARM/call_nolink.ll1
-rw-r--r--test/CodeGen/Alpha/add.ll1
-rw-r--r--test/CodeGen/Alpha/i32_sub_1.ll1
-rw-r--r--test/CodeGen/Alpha/zapnot.ll1
-rw-r--r--test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll1
-rw-r--r--test/CodeGen/CBackend/2007-02-05-memset.ll1
-rw-r--r--test/CodeGen/Generic/2007-02-16-BranchFold.ll1
-rw-r--r--test/CodeGen/Generic/switch-lower.ll1
-rw-r--r--test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll1
-rw-r--r--test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll1
-rw-r--r--test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll1
-rw-r--r--test/CodeGen/X86/2007-01-13-StackPtrIndex.ll1
-rw-r--r--test/CodeGen/X86/2007-03-16-InlineAsm.ll1
-rw-r--r--test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll1
-rw-r--r--test/CodeGen/X86/shift-codegen.ll1
-rw-r--r--test/CodeGen/X86/test-hidden.ll1
-rw-r--r--test/CodeGen/X86/x86-64-arg.ll1
-rw-r--r--test/CodeGen/X86/x86-64-shortint.ll1
-rwxr-xr-xtest/Feature/packed_cmp.ll1
-rwxr-xr-xtest/Feature/packed_struct.ll1
-rw-r--r--test/Integer/BitArith.ll1
-rw-r--r--test/Integer/BitBit.ll1
-rw-r--r--test/Integer/BitCast.ll1
-rw-r--r--test/Integer/BitIcmp.ll1
-rw-r--r--test/Integer/BitMem.ll1
-rw-r--r--test/Integer/BitMisc.ll1
-rw-r--r--test/Integer/BitPacked.ll1
-rw-r--r--test/Integer/basictest_bt.ll1
-rw-r--r--test/Integer/cfgstructures_bt.ll1
-rw-r--r--test/Integer/constexpr_bt.ll1
-rw-r--r--test/Integer/constpointer_bt.ll1
-rw-r--r--test/Integer/forwardreftest_bt.ll1
-rw-r--r--test/Integer/globalvars_bt.ll1
-rw-r--r--test/Integer/indirectcall2_bt.ll1
-rw-r--r--test/Integer/indirectcall_bt.ll1
-rw-r--r--test/Integer/opaquetypes_bt.ll1
-rw-r--r--test/Integer/packed_bt.ll1
-rw-r--r--test/Integer/packed_struct_bt.ll1
-rw-r--r--test/Integer/paramattrs_bt.ll1
-rw-r--r--test/Integer/prototype_bt.ll1
-rw-r--r--test/Integer/recursivetype_bt.ll1
-rw-r--r--test/Integer/simplecalltest_bt.ll1
-rw-r--r--test/Integer/small_bt.ll1
-rw-r--r--test/Integer/testalloca_bt.ll1
-rw-r--r--test/Integer/testarith_bt.ll1
-rw-r--r--test/Integer/testconstants_bt.ll1
-rw-r--r--test/Integer/testicmp_bt.ll1
-rw-r--r--test/Integer/testlogical_bt.ll1
-rw-r--r--test/Integer/testlogical_new_bt.ll1
-rw-r--r--test/Integer/testmemory_bt.ll1
-rw-r--r--test/Integer/testswitch_bt.ll1
-rw-r--r--test/Integer/testvarargs_bt.ll1
-rw-r--r--test/Integer/undefined_bt.ll1
-rw-r--r--test/Integer/unreachable_bt.ll1
-rw-r--r--test/Integer/varargs_bt.ll1
-rw-r--r--test/Integer/varargs_new_bt.ll1
-rw-r--r--test/Transforms/ADCE/2002-01-31-UseStuckAround.ll2
-rw-r--r--test/Transforms/IndVarsSimplify/2007-01-06-TripCount.ll1
-rw-r--r--test/Transforms/InstCombine/2007-02-23-PhiFoldInfLoop.ll1
-rw-r--r--test/Transforms/InstCombine/2007-03-26-BadShiftMask.ll1
-rw-r--r--test/Transforms/InstCombine/apint-add1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-add2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-and1.ll2
-rw-r--r--test/Transforms/InstCombine/apint-and2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-call-cast-target.ll1
-rw-r--r--test/Transforms/InstCombine/apint-div1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-div2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-mul1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-mul2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-or1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-or2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-rem1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-rem2.ll1
-rw-r--r--test/Transforms/InstCombine/apint-select.ll1
-rw-r--r--test/Transforms/InstCombine/apint-xor1.ll1
-rw-r--r--test/Transforms/InstCombine/apint-xor2.ll1
-rw-r--r--test/Transforms/InstCombine/vec_shuffle.ll1
-rw-r--r--test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll1
-rw-r--r--test/Transforms/ScalarRepl/memset-aggregate-byte-leader.ll1
-rw-r--r--test/Transforms/ScalarRepl/memset-aggregate.ll1
89 files changed, 0 insertions, 92 deletions
diff --git a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll
index f742c18fd3..f5e2780d30 100644
--- a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll
+++ b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll
@@ -17,7 +17,6 @@ target triple = "i686-apple-darwin8"
%struct.head_type = type { [2 x %struct.LIST], %struct.FIRST_UNION, %struct.SECOND_UNION, %struct.THIRD_UNION, %struct.FOURTH_UNION, %struct.rec*, { %struct.rec* }, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, %struct.rec*, i32 }
%struct.rec = type { %struct.head_type }
-implementation ; Functions:
define i32 @test(%struct.closure_type* %tmp18169) {
%tmp18174 = getelementptr %struct.closure_type* %tmp18169, i32 0, i32 4, i32 0, i32 0 ; <i32*> [#uses=2]
diff --git a/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll b/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll
index 5e8fce72ee..e6eb0008d6 100644
--- a/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll
+++ b/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll
@@ -12,7 +12,6 @@
%struct.vorbis_dsp_state = type { i32, %struct.vorbis_info*, float**, float**, i32, i32, i32, i32, i32, i32, i32, i32, i32, i64, i64, i64, i64, i64, i64, i8* }
%struct.vorbis_info = type { i32, i32, i32, i32, i32, i32, i32, i8* }
-implementation ; Functions:
define void @ov_read() {
entry:
diff --git a/test/Analysis/ScalarEvolution/trip-count.ll b/test/Analysis/ScalarEvolution/trip-count.ll
index 520153baea..671aba574c 100644
--- a/test/Analysis/ScalarEvolution/trip-count.ll
+++ b/test/Analysis/ScalarEvolution/trip-count.ll
@@ -4,7 +4,6 @@
@A = weak global [1000 x i32] zeroinitializer, align 32
-implementation ; Functions:
define void @test(i32 %N) {
entry:
diff --git a/test/Assembler/2002-05-02-ParseError.ll b/test/Assembler/2002-05-02-ParseError.ll
index 130c02e1c3..a5bd309a69 100644
--- a/test/Assembler/2002-05-02-ParseError.ll
+++ b/test/Assembler/2002-05-02-ParseError.ll
@@ -1,6 +1,5 @@
; RUN: llvm-as %s -o /dev/null -f
-; This should parse correctly without an 'implementation', but our current YACC
; based parser doesn't have the required 2 token lookahead...
%T = type i32 *
diff --git a/test/Assembler/2007-01-02-Undefined-Arg-Type.ll b/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
index 10eb96443c..8592a51927 100644
--- a/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
+++ b/test/Assembler/2007-01-02-Undefined-Arg-Type.ll
@@ -3,7 +3,6 @@
; %typedef.bc_struct = type opaque
-implementation ; Functions:
define i1 @someFunc(i32* %tmp.71.reload, %typedef.bc_struct* %n1) {
ret i1 true
diff --git a/test/CodeGen/ARM/2007-03-06-AddR7.ll b/test/CodeGen/ARM/2007-03-06-AddR7.ll
index fcdb7bd8d8..4c6648f30a 100644
--- a/test/CodeGen/ARM/2007-03-06-AddR7.ll
+++ b/test/CodeGen/ARM/2007-03-06-AddR7.ll
@@ -25,7 +25,6 @@
@s.10319 = external global %struct.aa_ss* ; <%struct.aa_ss**> [#uses=2]
@str15 = external constant [24 x i8] ; <[24 x i8]*> [#uses=1]
-implementation ; Functions:
define i8 @test(%struct.__fooY* %calendar, double* %atp, i8* %componentDesc, ...) zext {
entry:
diff --git a/test/CodeGen/ARM/2007-03-21-JoinIntervalsCrash.ll b/test/CodeGen/ARM/2007-03-21-JoinIntervalsCrash.ll
index e5fed6aa34..32daf839f0 100644
--- a/test/CodeGen/ARM/2007-03-21-JoinIntervalsCrash.ll
+++ b/test/CodeGen/ARM/2007-03-21-JoinIntervalsCrash.ll
@@ -33,7 +33,6 @@
%struct.varray_head_tag = type opaque
%union.tree_ann_d = type opaque
-implementation ; Functions:
define void @declspecs_add_type(i32 %spec.1) {
entry:
diff --git a/test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll b/test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
index 5b698f3c37..5a62401fe1 100644
--- a/test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
+++ b/test/CodeGen/ARM/2007-03-26-RegScavengerAssert.ll
@@ -225,7 +225,6 @@ target triple = "arm-linux-gnueabi"
@__FUNCTION__.21382 = external global [19 x i8] ; <[19 x i8]*> [#uses=0]
@__FUNCTION__.21117 = external global [21 x i8] ; <[21 x i8]*> [#uses=0]
-implementation ; Functions:
declare void @push_gimplify_context()
diff --git a/test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll b/test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll
index 0bb664ee30..f927ef43ca 100644
--- a/test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll
+++ b/test/CodeGen/ARM/2007-03-27-RegScavengerAssert.ll
@@ -4,8 +4,6 @@
%struct.rtx_def = type { i16, i8, i8, %struct.u }
%struct.u = type { [1 x i64] }
-implementation ; Functions:
-
define fastcc void @find_reloads_address(%struct.rtx_def** %loc) {
entry:
%ad_addr = alloca %struct.rtx_def* ; <%struct.rtx_def**> [#uses=2]
diff --git a/test/CodeGen/ARM/call_nolink.ll b/test/CodeGen/ARM/call_nolink.ll
index fa1641d167..4dbfe8d670 100644
--- a/test/CodeGen/ARM/call_nolink.ll
+++ b/test/CodeGen/ARM/call_nolink.ll
@@ -8,7 +8,6 @@
@numi = external global i32 ; <i32*> [#uses=1]
@counter = external global [2 x i32] ; <[2 x i32]*> [#uses=1]
-implementation ; Functions:
define void @main_bb_2E_i_bb205_2E_i_2E_i_bb115_2E_i_2E_i() {
newFuncRoot:
diff --git a/test/CodeGen/Alpha/add.ll b/test/CodeGen/Alpha/add.ll
index 7fbfd1235d..8add4b41ea 100644
--- a/test/CodeGen/Alpha/add.ll
+++ b/test/CodeGen/Alpha/add.ll
@@ -17,7 +17,6 @@
; RUN: grep 's4subq' %t.s | wc -l | grep 2 &&
; RUN: grep 's8subq' %t.s | wc -l | grep 2
-implementation ; Functions:
define i32 @al(i32 sext %x.s, i32 sext %y.s) sext {
entry:
diff --git a/test/CodeGen/Alpha/i32_sub_1.ll b/test/CodeGen/Alpha/i32_sub_1.ll
index 91ce648c2a..c5994733c9 100644
--- a/test/CodeGen/Alpha/i32_sub_1.ll
+++ b/test/CodeGen/Alpha/i32_sub_1.ll
@@ -1,7 +1,6 @@
; Make sure this testcase codegens to the ctpop instruction
; RUN: llvm-as < %s | llc -march=alpha | grep -i 'subl $16,1,$0'
-implementation ; Functions:
define i32 @foo(i32 sext %x) sext {
entry:
diff --git a/test/CodeGen/Alpha/zapnot.ll b/test/CodeGen/Alpha/zapnot.ll
index 09c31a4c22..835dc31728 100644
--- a/test/CodeGen/Alpha/zapnot.ll
+++ b/test/CodeGen/Alpha/zapnot.ll
@@ -1,7 +1,6 @@
; Make sure this testcase codegens to the bic instruction
; RUN: llvm-as < %s | llc -march=alpha | grep 'zapnot'
-implementation ; Functions:
define i16 @foo(i64 %y) zext {
entry:
diff --git a/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll b/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
index 46728ac966..c73fa1fcdc 100644
--- a/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
+++ b/test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
@@ -6,7 +6,6 @@ target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin8"
%struct.Connector = type { i16, i16, i8, i8, %struct.Connector*, i8* }
-implementation ; Functions:
define i1 @prune_match_entry_2E_ce(%struct.Connector* %a, i16 %b.0.0.val) {
newFuncRoot:
diff --git a/test/CodeGen/CBackend/2007-02-05-memset.ll b/test/CodeGen/CBackend/2007-02-05-memset.ll
index 20849cf819..f253b30136 100644
--- a/test/CodeGen/CBackend/2007-02-05-memset.ll
+++ b/test/CodeGen/CBackend/2007-02-05-memset.ll
@@ -3,7 +3,6 @@
target datalayout = "e-p:64:64"
target triple = "x86_64-apple-darwin8"
-implementation ; Functions:
declare void @llvm.memset.i64(i8*, i8, i64, i32)
diff --git a/test/CodeGen/Generic/2007-02-16-BranchFold.ll b/test/CodeGen/Generic/2007-02-16-BranchFold.ll
index e496b81ca1..5f3162ea11 100644
--- a/test/CodeGen/Generic/2007-02-16-BranchFold.ll
+++ b/test/CodeGen/Generic/2007-02-16-BranchFold.ll
@@ -25,7 +25,6 @@ target triple = "i686-apple-darwin8"
@outfile = external global %struct.FILE* ; <%struct.FILE**> [#uses=1]
@str1 = external global [11 x i8] ; <[11 x i8]*> [#uses=1]
-implementation ; Functions:
declare i32 @fprintf(%struct.FILE*, i8*, ...)
diff --git a/test/CodeGen/Generic/switch-lower.ll b/test/CodeGen/Generic/switch-lower.ll
index 5c64869626..b1aad3f451 100644
--- a/test/CodeGen/Generic/switch-lower.ll
+++ b/test/CodeGen/Generic/switch-lower.ll
@@ -1,7 +1,6 @@
; RUN: llvm-as < %s | llc
; PR1197
-implementation ; Functions:
define void @exp_attr__expand_n_attribute_reference() {
entry:
diff --git a/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll b/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
index 6f51864352..c4d5763987 100644
--- a/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
+++ b/test/CodeGen/PowerPC/2007-01-31-InlineAsmAddrMode.ll
@@ -6,7 +6,6 @@
%struct.A = type { i32, i32 }
-implementation ; Functions:
define void @test1() {
entry:
diff --git a/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll b/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll
index d91af727d4..5a3d3b5d9c 100644
--- a/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll
+++ b/test/CodeGen/PowerPC/2007-02-16-InlineAsmNConstraint.ll
@@ -3,7 +3,6 @@
target datalayout = "E-p:32:32"
target triple = "powerpc-apple-darwin8.8.0"
-implementation ; Functions:
define void @blargh() {
entry:
diff --git a/test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll b/test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll
index 2e67f8f0d2..3a7d393db8 100644
--- a/test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll
+++ b/test/CodeGen/PowerPC/2007-02-23-lr-saved-twice.ll
@@ -4,7 +4,6 @@ target datalayout = "e-p:32:32"
target triple = "powerpc-apple-darwin8"
@str = internal constant [18 x i8] c"hello world!, %d\0A\00" ; <[18 x i8]*> [#uses=1]
-implementation ; Functions:
define i32 @main() {
entry:
diff --git a/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll b/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
index 8825e346ef..43d685188e 100644
--- a/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
+++ b/test/CodeGen/X86/2007-01-13-StackPtrIndex.ll
@@ -5,7 +5,6 @@
target datalayout = "e-p:64:64"
@i6000 = global [128 x i64] zeroinitializer, align 16
-implementation
define void @foo(i32* %a0, i32* %a1, i32* %a2, i32* %a3, i32* %a4, i32* %a5) {
b:
diff --git a/test/CodeGen/X86/2007-03-16-InlineAsm.ll b/test/CodeGen/X86/2007-03-16-InlineAsm.ll
index 6b64e43851..c98c89a537 100644
--- a/test/CodeGen/X86/2007-03-16-InlineAsm.ll
+++ b/test/CodeGen/X86/2007-03-16-InlineAsm.ll
@@ -1,7 +1,6 @@
; RUN: llvm-as < %s | llc -march=x86
; ModuleID = 'a.bc'
-implementation ; Functions:
define i32 @foo(i32 %A, i32 %B) {
entry:
diff --git a/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll b/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
index 56f3b37c78..ef245a281a 100644
--- a/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
+++ b/test/CodeGen/X86/2007-03-24-InlineAsmVectorOp.ll
@@ -2,7 +2,6 @@
target datalayout = "e-p:32:32"
target triple = "i686-apple-darwin9"
-implementation ; Functions:
define void @acoshf() {
%tmp19 = tail call <2 x double> asm sideeffect "pcmpeqd $0, $0 \0A\09 cmpltsd $0, $0", "=x,0,~{dirflag},~{fpsr},~{flags}"( <2 x double> zeroinitializer ) ; <<2 x double>> [#uses=0]
diff --git a/test/CodeGen/X86/shift-codegen.ll b/test/CodeGen/X86/shift-codegen.ll
index 0fc180310d..0195226bd5 100644
--- a/test/CodeGen/X86/shift-codegen.ll
+++ b/test/CodeGen/X86/shift-codegen.ll
@@ -6,7 +6,6 @@ target triple = "i686-apple-darwin8"
@Y = weak global i32 0 ; <i32*> [#uses=1]
@X = weak global i32 0 ; <i32*> [#uses=2]
-implementation ; Functions:
define void @fn1() {
entry:
diff --git a/test/CodeGen/X86/test-hidden.ll b/test/CodeGen/X86/test-hidden.ll
index 27f890fb1b..da0a4f40e7 100644
--- a/test/CodeGen/X86/test-hidden.ll
+++ b/test/CodeGen/X86/test-hidden.ll
@@ -6,7 +6,6 @@
@a = hidden global i32 0
@b = external global i32
-implementation ; Functions:
define weak hidden void @_ZN6Person13privateMethodEv(%struct.Person* %this) {
ret void
diff --git a/test/CodeGen/X86/x86-64-arg.ll b/test/CodeGen/X86/x86-64-arg.ll
index 9b18f119be..78ea6d7148 100644
--- a/test/CodeGen/X86/x86-64-arg.ll
+++ b/test/CodeGen/X86/x86-64-arg.ll
@@ -6,7 +6,6 @@
target datalayout = "e-p:64:64"
target triple = "x86_64-apple-darwin8"
-implementation ; Functions:
define i32 @test(i16 sext %X) {
entry:
diff --git a/test/CodeGen/X86/x86-64-shortint.ll b/test/CodeGen/X86/x86-64-shortint.ll
index 30c750e379..d1364508d1 100644
--- a/test/CodeGen/X86/x86-64-shortint.ll
+++ b/test/CodeGen/X86/x86-64-shortint.ll
@@ -3,7 +3,6 @@
target datalayout = "e-p:64:64"
target triple = "x86_64-apple-darwin8"
-implementation ; Functions:
define void @bar(i16 zext %A) {
tail call void @foo( i16 %A sext )
diff --git a/test/Feature/packed_cmp.ll b/test/Feature/packed_cmp.ll
index 49d0523486..eb2f30dbc9 100755
--- a/test/Feature/packed_cmp.ll
+++ b/test/Feature/packed_cmp.ll
@@ -13,7 +13,6 @@
%fvec1 = constant %fvec_type <float 1.0, float 1.0, float 1.0, float 1.0>
%fvec2 = constant %fvec_type <float 0.0, float 0.0, float 0.0, float 0.0>
-implementation ; Functions:
define bool %ivectest1() {
%v1 = load %ivec_type* getelementptr(%ivec_type* %ivec1, i32 0)
diff --git a/test/Feature/packed_struct.ll b/test/Feature/packed_struct.ll
index 861d0bba70..b6934d4210 100755
--- a/test/Feature/packed_struct.ll
+++ b/test/Feature/packed_struct.ll
@@ -12,7 +12,6 @@
@E1 = global <{i8, i32, i32}> <{i8 1, i32 2, i32 3}>
@E2 = global {i8, i32, i32} {i8 4, i32 5, i32 6}
-implementation ; Functions:
define i32 @main()
{
diff --git a/test/Integer/BitArith.ll b/test/Integer/BitArith.ll
index e9c2cde30c..350a984994 100644
--- a/test/Integer/BitArith.ll
+++ b/test/Integer/BitArith.ll
@@ -5,7 +5,6 @@
declare void @"foo"(i31 %i, i63 %j, i10 %k)
-implementation
; foo test basic arith operations
define void @"foo"(i31 %i, i63 %j, i10 %k)
diff --git a/test/Integer/BitBit.ll b/test/Integer/BitBit.ll
index 944d51e799..420bbe5a5f 100644
--- a/test/Integer/BitBit.ll
+++ b/test/Integer/BitBit.ll
@@ -4,7 +4,6 @@
declare void @"foo"(i31 %i, i33 %j)
-implementation
; foo test basic bitwise operations
define void @"foo"(i31 %i, i33 %j)
diff --git a/test/Integer/BitCast.ll b/test/Integer/BitCast.ll
index 53f66f6630..c589ff0766 100644
--- a/test/Integer/BitCast.ll
+++ b/test/Integer/BitCast.ll
@@ -4,7 +4,6 @@
declare void @"foo"(i31 %i, i1280 %j, i1 %k, float %f)
-implementation
; foo test basic arith operations
define void @"foo"(i31 %i, i1280 %j, i1 %k, float %f)
diff --git a/test/Integer/BitIcmp.ll b/test/Integer/BitIcmp.ll
index 6c2a79bd7c..c22461224d 100644
--- a/test/Integer/BitIcmp.ll
+++ b/test/Integer/BitIcmp.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
define i55 @"simpleIcmp"(i55 %i0, i55 %j0)
begin
diff --git a/test/Integer/BitMem.ll b/test/Integer/BitMem.ll
index 5e46fb5465..2c093bc990 100644
--- a/test/Integer/BitMem.ll
+++ b/test/Integer/BitMem.ll
@@ -4,7 +4,6 @@
declare void @"foo"()
-implementation
; foo test basic arith operations
define void @"foo"() {
diff --git a/test/Integer/BitMisc.ll b/test/Integer/BitMisc.ll
index 3bdbee5bb9..8ce4d4add7 100644
--- a/test/Integer/BitMisc.ll
+++ b/test/Integer/BitMisc.ll
@@ -14,7 +14,6 @@
@ZeroInit = global { [100 x i19 ], [40 x float ] } { [100 x i19] zeroinitializer,
[40 x float] zeroinitializer }
-implementation
define i19 @"foo"(i19 %blah)
begin
diff --git a/test/Integer/BitPacked.ll b/test/Integer/BitPacked.ll
index 26c9ee95c7..d363a81e73 100644
--- a/test/Integer/BitPacked.ll
+++ b/test/Integer/BitPacked.ll
@@ -5,7 +5,6 @@
@foo1 = external global <4 x float>;
@foo2 = external global <2 x i10>;
-implementation ; Functions:
define void @main()
{
diff --git a/test/Integer/basictest_bt.ll b/test/Integer/basictest_bt.ll
index e5771075b1..5c98856d06 100644
--- a/test/Integer/basictest_bt.ll
+++ b/test/Integer/basictest_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation ; Functions:
; Test "stripped" format where nothing is symbolic... this is how the bytecode
; format looks anyways (except for negative vs positive offsets)...
diff --git a/test/Integer/cfgstructures_bt.ll b/test/Integer/cfgstructures_bt.ll
index 1dbceb65fc..09aec1fed2 100644
--- a/test/Integer/cfgstructures_bt.ll
+++ b/test/Integer/cfgstructures_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
;; This is an irreducible flow graph
diff --git a/test/Integer/constexpr_bt.ll b/test/Integer/constexpr_bt.ll
index 1faa287e52..fc8b06d4f4 100644
--- a/test/Integer/constexpr_bt.ll
+++ b/test/Integer/constexpr_bt.ll
@@ -81,5 +81,4 @@ global float 0.0
;;---------------------------------------------------
-implementation
diff --git a/test/Integer/constpointer_bt.ll b/test/Integer/constpointer_bt.ll
index 5d541571bb..6be9ec336a 100644
--- a/test/Integer/constpointer_bt.ll
+++ b/test/Integer/constpointer_bt.ll
@@ -29,5 +29,4 @@ declare void @"f"() ;; External method
@somestr = constant [11x i8] c"hello world"
@sptr2 = global [11x i8]* @somestr
-implementation
diff --git a/test/Integer/forwardreftest_bt.ll b/test/Integer/forwardreftest_bt.ll
index 6e2936d84e..5d73eff2f5 100644
--- a/test/Integer/forwardreftest_bt.ll
+++ b/test/Integer/forwardreftest_bt.ll
@@ -9,7 +9,6 @@
type i55(i55(i55)*)
%thisfuncty = type i55 (i55) *
-implementation
declare void @F(%thisfuncty, %thisfuncty, %thisfuncty)
diff --git a/test/Integer/globalvars_bt.ll b/test/Integer/globalvars_bt.ll
index 702f57edcb..5c43185574 100644
--- a/test/Integer/globalvars_bt.ll
+++ b/test/Integer/globalvars_bt.ll
@@ -15,7 +15,6 @@
@ZeroInit = global { [100 x i27 ], [40 x float ] } { [100 x i27] zeroinitializer,
[40 x float] zeroinitializer }
-implementation
define i27 @"foo"(i27 %blah)
begin
diff --git a/test/Integer/indirectcall2_bt.ll b/test/Integer/indirectcall2_bt.ll
index 1652f1691c..5b7c68df22 100644
--- a/test/Integer/indirectcall2_bt.ll
+++ b/test/Integer/indirectcall2_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
define i63 @"test"(i63 %X)
begin
diff --git a/test/Integer/indirectcall_bt.ll b/test/Integer/indirectcall_bt.ll
index 67cff4e754..d586fca821 100644
--- a/test/Integer/indirectcall_bt.ll
+++ b/test/Integer/indirectcall_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
declare i32 @"atoi"(i8 *)
diff --git a/test/Integer/opaquetypes_bt.ll b/test/Integer/opaquetypes_bt.ll
index f5c6635927..a1ba799c2c 100644
--- a/test/Integer/opaquetypes_bt.ll
+++ b/test/Integer/opaquetypes_bt.ll
@@ -55,7 +55,6 @@ type %BBB
%Y1 = type { { \3 * }, \2 * }
%Z1 = type { { \3 * }, [12x\3] *, { { { \5 * } } } }
-implementation
diff --git a/test/Integer/packed_bt.ll b/test/Integer/packed_bt.ll
index a2fa127759..5a2045d6a2 100644
--- a/test/Integer/packed_bt.ll
+++ b/test/Integer/packed_bt.ll
@@ -5,7 +5,6 @@
@foo1 = external global <4 x float>;
@foo2 = external global <2 x i10>;
-implementation ; Functions:
define void @main()
{
diff --git a/test/Integer/packed_struct_bt.ll b/test/Integer/packed_struct_bt.ll
index abd303527f..a2ccd1d06c 100644
--- a/test/Integer/packed_struct_bt.ll
+++ b/test/Integer/packed_struct_bt.ll
@@ -12,7 +12,6 @@
@E1 = global <{i8, i35, i35}> <{i8 1, i35 2, i35 3}>
@E2 = global {i8, i35, i35} {i8 4, i35 5, i35 6}
-implementation ; Functions:
define i35 @main()
{
diff --git a/test/Integer/paramattrs_bt.ll b/test/Integer/paramattrs_bt.ll
index ac382728f8..7959fa0fe5 100644
--- a/test/Integer/paramattrs_bt.ll
+++ b/test/Integer/paramattrs_bt.ll
@@ -8,7 +8,6 @@
declare i16 @"test"(i16 sext %arg) sext
declare i8 @"test2" (i16 zext %a2) zext
-implementation
define i33 @main(i33 %argc, i8 **%argv) {
%val = trunc i33 %argc to i16
diff --git a/test/Integer/prototype_bt.ll b/test/Integer/prototype_bt.ll
index f1be2aaaa7..2236e8bf38 100644
--- a/test/Integer/prototype_bt.ll
+++ b/test/Integer/prototype_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
declare i31 @"bar"(i31 %in)
diff --git a/test/Integer/recursivetype_bt.ll b/test/Integer/recursivetype_bt.ll
index 08a1413bfc..d5ce3f5dd4 100644
--- a/test/Integer/recursivetype_bt.ll
+++ b/test/Integer/recursivetype_bt.ll
@@ -43,7 +43,6 @@
declare i8 *@"malloc"(i32)
;;**********************
-implementation
;;**********************
define void @"InsertIntoListTail"(%list** %L, i36 %Data)
diff --git a/test/Integer/simplecalltest_bt.ll b/test/Integer/simplecalltest_bt.ll
index e7c675af4a..45dc0f1aac 100644
--- a/test/Integer/simplecalltest_bt.ll
+++ b/test/Integer/simplecalltest_bt.ll
@@ -4,7 +4,6 @@
%FunTy = type i31(i31)
-implementation
define void @"invoke"(%FunTy *%x)
begin
diff --git a/test/Integer/small_bt.ll b/test/Integer/small_bt.ll
index f82c8c95c8..00fcace0fb 100644
--- a/test/Integer/small_bt.ll
+++ b/test/Integer/small_bt.ll
@@ -4,7 +4,6 @@
%x = type i19
-implementation
define i19 @"foo"(i19 %in)
begin
diff --git a/test/Integer/testalloca_bt.ll b/test/Integer/testalloca_bt.ll
index 267c061959..e8e73c5087 100644
--- a/test/Integer/testalloca_bt.ll
+++ b/test/Integer/testalloca_bt.ll
@@ -6,7 +6,6 @@
%inners = type {float, {i8 } }
%struct = type { i33 , {float, {i8 } } , i64 }
-implementation
define i33 @testfunction(i33 %i0, i33 %j0)
begin
diff --git a/test/Integer/testarith_bt.ll b/test/Integer/testarith_bt.ll
index f962e393d3..0820399a30 100644
--- a/test/Integer/testarith_bt.ll
+++ b/test/Integer/testarith_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
define i31 @"simpleArith"(i31 %i0, i31 %j0)
begin
diff --git a/test/Integer/testconstants_bt.ll b/test/Integer/testconstants_bt.ll
index 71cbf1310a..8ca49cf524 100644
--- a/test/Integer/testconstants_bt.ll
+++ b/test/Integer/testconstants_bt.ll
@@ -6,7 +6,6 @@
@array = constant [2 x i55] [ i55 12, i55 52 ]
constant { i55, i55 } { i55 4, i55 3 }
-implementation
define [2 x i55]* @testfunction(i55 %i0, i55 %j0)
begin
diff --git a/test/Integer/testicmp_bt.ll b/test/Integer/testicmp_bt.ll
index 4dc6d98306..40a2465b5a 100644
--- a/test/Integer/testicmp_bt.ll
+++ b/test/Integer/testicmp_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
define i31 @"simpleIcmp"(i31 %i0, i31 %j0)
begin
diff --git a/test/Integer/testlogical_bt.ll b/test/Integer/testlogical_bt.ll
index cd8a9499a6..a2c927d5d7 100644
--- a/test/Integer/testlogical_bt.ll
+++ b/test/Integer/testlogical_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
define i31 @"simpleAdd"(i31 %i0, i31 %j0)
begin
diff --git a/test/Integer/testlogical_new_bt.ll b/test/Integer/testlogical_new_bt.ll
index 349b4ab95f..49a26dc07b 100644
--- a/test/Integer/testlogical_new_bt.ll
+++ b/test/Integer/testlogical_new_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
define i31 @"simpleAdd"(i31 %i0, i31 %j0)
begin
diff --git a/test/Integer/testmemory_bt.ll b/test/Integer/testmemory_bt.ll
index fe0465c659..e503c56a33 100644
--- a/test/Integer/testmemory_bt.ll
+++ b/test/Integer/testmemory_bt.ll
@@ -6,7 +6,6 @@
%struct = type { i31 , {float, {i9 } } , i64 }
%complexty = type {i31, {[4 x i9 *], float}, double}
-implementation
define i31 @"main"()
begin
diff --git a/test/Integer/testswitch_bt.ll b/test/Integer/testswitch_bt.ll
index 0ea2ac97b3..bf7cdc510d 100644
--- a/test/Integer/testswitch_bt.ll
+++ b/test/Integer/testswitch_bt.ll
@@ -4,7 +4,6 @@
%i35 = type i35
-implementation
define i35 @"squared"(%i35 %i0)
begin
diff --git a/test/Integer/testvarargs_bt.ll b/test/Integer/testvarargs_bt.ll
index 68cb36414c..a645c84ef3 100644
--- a/test/Integer/testvarargs_bt.ll
+++ b/test/Integer/testvarargs_bt.ll
@@ -2,7 +2,6 @@
; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
; RUN: diff %t1.ll %t2.ll
-implementation
declare i31 @"printf"(i8*, ...) ;; Prototype for: i32 __builtin_printf(const char*, ...)
diff --git a/test/Integer/undefined_bt.ll b/test/Integer/undefined_bt.ll
index a1fb61aca6..7eba59039b 100644
--- a/test/Integer/undefined_bt.ll
+++ b/test/Integer/undefined_bt.ll
@@ -5,7 +5,6 @@
@X = global i31 undef
-implementation
declare i32 @"atoi"(i8 *)
diff --git a/test/Integer/unreachable_bt.ll b/test/Integer/unreachable_bt.ll
index 60b7bf8eb9..cb65d4b9ec 100644
--- a/test/Integer/unreachable_bt.ll
+++ b/test/Integer/unreachable_bt.ll
@@ -3,7 +3,6 @@
; RUN: diff %t1.ll %t2.ll
-implementation
declare void @bar()
diff --git a/test/Integer/varargs_bt.ll b/test/Integer/varargs_bt.ll
index 36f96a3494..e740fd36b4 100644
--- a/test/Integer/varargs_bt.ll
+++ b/test/Integer/varargs_bt.ll
@@ -5,7 +5,6 @@
; Demonstrate all of the variable argument handling intrinsic functions plus
; the va_arg instruction.
-implementation
declare void @llvm.va_start(i8** %ap)
declare void @llvm.va_copy(i8** %aq, i8** %ap)
declare void @llvm.va_end(i8** %ap)
diff --git a/test/Integer/varargs_new_bt.ll b/test/Integer/varargs_new_bt.ll
index baa055ede9..59bb3f2969 100644
--- a/test/Integer/varargs_new_bt.ll
+++ b/test/Integer/varargs_new_bt.ll
@@ -5,7 +5,6 @@
; Demonstrate all of the variable argument handling intrinsic functions plus
; the va_arg instruction.
-implementation ; Functions:
declare void @llvm.va_start(i8**)
declare void @llvm.va_copy(i8**, i8*)
declare void @llvm.va_end(i8**)
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: