From: Reid Spencer Date: Wed, 28 Mar 2007 02:38:26 +0000 (+0000) Subject: Remove use of implementation keyword. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=5373b721c0c76c54f948b9097ba7f4737dbab730;p=oota-llvm.git Remove use of implementation keyword. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35412 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll b/test/Analysis/BasicAA/2007-01-13-BasePointerBadNoAlias.ll index f742c18fd3b..f5e2780d30c 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 ; [#uses=2] diff --git a/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll b/test/Analysis/Dominators/2007-01-14-BreakCritEdges.ll index 5e8fce72eed..e6eb0008d64 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 520153baead..671aba574c8 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 130c02e1c32..a5bd309a696 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 10eb96443ca..8592a519278 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 fcdb7bd8d8d..4c6648f30ad 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 e5fed6aa34f..32daf839f0f 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 5b698f3c377..5a62401fe18 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 0bb664ee309..f927ef43ca1 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 fa1641d1678..4dbfe8d670e 100644 --- a/test/CodeGen/ARM/call_nolink.ll +++ b/test/CodeGen/ARM/call_nolink.ll @@ -8,7 +8,6 @@ @numi = external global 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 7fbfd1235d8..8add4b41eab 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 91ce648c2ad..c5994733c95 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 09c31a4c224..835dc317284 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 46728ac9669..c73fa1fcdc9 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 20849cf819d..f253b30136f 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 e496b81ca15..5f3162ea116 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 5c64869626b..b1aad3f4514 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 6f51864352b..c4d57639872 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 d91af727d44..5a3d3b5d9c1 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 2e67f8f0d25..3a7d393db89 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 8825e346ef2..43d685188ec 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 6b64e438515..c98c89a537a 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 56f3b37c789..ef245a281a7 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 0fc180310df..0195226bd5e 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 ; [#uses=1] @X = weak global i32 0 ; [#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 27f890fb1b8..da0a4f40e78 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 9b18f119bec..78ea6d71487 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 30c750e3794..d1364508d11 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 49d0523486d..eb2f30dbc93 100755 --- a/test/Feature/packed_cmp.ll +++ b/test/Feature/packed_cmp.ll @@ -13,7 +13,6 @@ %fvec1 = constant %fvec_type %fvec2 = constant %fvec_type -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 861d0bba702..b6934d4210a 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 e9c2cde30c2..350a9849947 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 944d51e799f..420bbe5a5fc 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 53f66f66305..c589ff07667 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 6c2a79bd7c3..c22461224d0 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 5e46fb54651..2c093bc9902 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 3bdbee5bb94..8ce4d4add7d 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 26c9ee95c7c..d363a81e734 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 e5771075b1b..5c98856d06b 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 1dbceb65fc0..09aec1fed21 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 1faa287e521..fc8b06d4f40 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 5d541571bb4..6be9ec336a3 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 6e2936d84e6..5d73eff2f5a 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 702f57edcb5..5c43185574d 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 1652f1691c0..5b7c68df22c 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 67cff4e754f..d586fca821f 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 f5c66359278..a1ba799c2c2 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 a2fa1277598..5a2045d6a29 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 abd303527fd..a2ccd1d06cd 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 ac382728f8f..7959fa0fe59 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 f1be2aaaa7f..2236e8bf38f 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 08a1413bfc8..d5ce3f5dd40 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 e7c675af4ad..45dc0f1aaca 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 f82c8c95c81..00fcace0fbe 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 267c061959f..e8e73c50878 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 f962e393d36..0820399a309 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 71cbf1310a2..8ca49cf5242 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 4dc6d98306d..40a2465b5a4 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 cd8a9499a6c..a2c927d5d7f 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 349b4ab95ff..49a26dc07b0 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 fe0465c659c..e503c56a33e 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 0ea2ac97b31..bf7cdc510d6 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 68cb36414c4..a645c84ef3e 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 a1fb61aca65..7eba59039b9 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 60b7bf8eb92..cb65d4b9ec8 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 36f96a3494f..e740fd36b47 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 baa055ede9a..59bb3f2969e 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 b3c12ffe1fa..893d82b9f5e 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 6e459308824..8dc5b88cce4 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 da28f595a35..d60da44b7f1 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 c63fe8dedb7..0e08cb0d9d8 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 a4379c49c86..925009214f1 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 e83849ed8f6..e06b07c61d1 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 11e504a1824..53b9e23f4bf 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 690f0e1df2f..e66eeff12d3 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 6201c72d85b..0f87a53160f 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 b11b8bc24fb..4c394f6a164 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 e83c97612d9..ba849e22f86 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 58f3bc9f3f0..36b1102580c 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 16518bb44e1..72fd97ac79f 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 993a37685e2..51b87fe2a20 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 c0a9971ecfe..b8f87836887 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 0d72d447ffa..6b1c772dd59 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 111a1b07fff..4704018b394 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 d804a34f6e4..54e905eb104 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 8daa9cc4426..116d70e7e62 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 91273243515..b9d7e82f288 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 a53903a05f0..1ed1e693b88 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> diff --git a/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll b/test/Transforms/ScalarRepl/2007-03-19-CanonicalizeMemcpy.ll index 1ba904bd0b2..769ec199b84 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 f7f30173817..932e7130a6d 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 de94fe11c45..883e41c1a18 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: