[poolalloc] r230915 - Update IR in tests to accomodate r230794: explicit type param for load
Will Dietz
wdietz2 at illinois.edu
Sun Mar 1 14:10:47 PST 2015
Author: wdietz2
Date: Sun Mar 1 16:10:46 2015
New Revision: 230915
URL: http://llvm.org/viewvc/llvm-project?rev=230915&view=rev
Log:
Update IR in tests to accomodate r230794: explicit type param for load
Used migration scripts from http://reviews.llvm.org/D7649.
Modified:
poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch.ll
poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll
poolalloc/trunk/test/dsa/callgraph/calltargets_variadic.ll
poolalloc/trunk/test/dsa/callgraph/class.ll
poolalloc/trunk/test/dsa/callgraph/externfuncs.ll
poolalloc/trunk/test/dsa/callgraph/fptr.ll
poolalloc/trunk/test/dsa/callgraph/inheritance1.ll
poolalloc/trunk/test/dsa/callgraph/inheritance2.ll
poolalloc/trunk/test/dsa/callgraph/inheritance3.ll
poolalloc/trunk/test/dsa/callgraph/loop1.ll
poolalloc/trunk/test/dsa/callgraph/loop2.ll
poolalloc/trunk/test/dsa/callgraph/merge.ll
poolalloc/trunk/test/dsa/callgraph/pr7799.ll
poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll
poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll
poolalloc/trunk/test/dsa/callgraph/test1.ll
poolalloc/trunk/test/dsa/callgraph/testIncomplete.ll
poolalloc/trunk/test/dsa/callgraph/varargs.ll
poolalloc/trunk/test/dsa/equivs/no-callees.ll
poolalloc/trunk/test/dsa/extern/extern.ll
poolalloc/trunk/test/dsa/extern/extern2.ll
poolalloc/trunk/test/dsa/extern/extern3.ll
poolalloc/trunk/test/dsa/extern/extern_global2.ll
poolalloc/trunk/test/dsa/extern/extern_global_escape.ll
poolalloc/trunk/test/dsa/local/arrayPointers.ll
poolalloc/trunk/test/dsa/local/arrayPointers1.ll
poolalloc/trunk/test/dsa/local/arrayPointers2.ll
poolalloc/trunk/test/dsa/local/arrayPointers3.ll
poolalloc/trunk/test/dsa/local/array_in_struct.ll
poolalloc/trunk/test/dsa/local/array_of_struct.ll
poolalloc/trunk/test/dsa/local/arrays.ll
poolalloc/trunk/test/dsa/local/arrays1.ll
poolalloc/trunk/test/dsa/local/arrays2.ll
poolalloc/trunk/test/dsa/local/arrays3.ll
poolalloc/trunk/test/dsa/local/arrays4.ll
poolalloc/trunk/test/dsa/local/bitfields1.ll
poolalloc/trunk/test/dsa/local/bitfields2.ll
poolalloc/trunk/test/dsa/local/bitfields3.ll
poolalloc/trunk/test/dsa/local/flags.ll
poolalloc/trunk/test/dsa/local/malloc.ll
poolalloc/trunk/test/dsa/local/multidimarray.ll
poolalloc/trunk/test/dsa/local/ptr.ll
poolalloc/trunk/test/dsa/local/ptr1.ll
poolalloc/trunk/test/dsa/local/ptr2.ll
poolalloc/trunk/test/dsa/local/struct.ll
poolalloc/trunk/test/dsa/local/struct1.ll
poolalloc/trunk/test/dsa/local/struct2.ll
poolalloc/trunk/test/dsa/local/struct3.ll
poolalloc/trunk/test/dsa/local/struct4.ll
poolalloc/trunk/test/dsa/local/structFirstField.ll
poolalloc/trunk/test/dsa/local/union_P21.ll
poolalloc/trunk/test/dsa/local/union_P2I.ll
poolalloc/trunk/test/dsa/local/union_P2I_1.ll
poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll
poolalloc/trunk/test/dsa/regression/2010-07-16.MissingIndirectCallee.ll
poolalloc/trunk/test/dsa/regression/2010-07-16.SimpleLoop.ll
poolalloc/trunk/test/dsa/regression/2010-08-19-SimpleCallGraph.ll
poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll
poolalloc/trunk/test/dsa/regression/2012-09-25.RCForwarding.ll
poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll
poolalloc/trunk/test/dsa/regression/2012-11-20.TDUnresolvedIncomplete.ll
poolalloc/trunk/test/dsa/td/ExternFuncNodeTest1.ll
poolalloc/trunk/test/dsa/td/ExternFuncNodeTest2.ll
poolalloc/trunk/test/dsa/td/ExternFuncNodeTest3.ll
poolalloc/trunk/test/dsa/td/basic-global.ll
poolalloc/trunk/test/dsa/td/call.ll
poolalloc/trunk/test/dsa/td/call1.ll
poolalloc/trunk/test/dsa/td/call2.ll
poolalloc/trunk/test/dsa/td/checkIncomplete.ll
poolalloc/trunk/test/dsa/td/checkIncomplete1.ll
poolalloc/trunk/test/dsa/td/fptr.ll
poolalloc/trunk/test/dsa/td/mergeArgs.ll
poolalloc/trunk/test/dsa/td/mergeArgs1.ll
poolalloc/trunk/test/dsa/td/params.ll
poolalloc/trunk/test/dsa/td/params1.ll
poolalloc/trunk/test/dsa/td/recur.ll
poolalloc/trunk/test/dsa/td/recur1.ll
poolalloc/trunk/test/dsa/td/recur2.ll
poolalloc/trunk/test/dsa/td/scc-global.ll
poolalloc/trunk/test/dsa/td/testcase.ll
poolalloc/trunk/test/dsa/types/mrv.ll
poolalloc/trunk/test/dsa/types/mrv1.ll
poolalloc/trunk/test/dsa/types/union.ll
poolalloc/trunk/test/dsa/types/union1.ll
poolalloc/trunk/test/dsa/types/union2.ll
poolalloc/trunk/test/dsa/types/union3.ll
poolalloc/trunk/test/dsa/types/union4.ll
poolalloc/trunk/test/dsa/types/union_arrays.ll
poolalloc/trunk/test/dsa/var_arg/basic.ll
poolalloc/trunk/test/dsa/var_arg/basic_32.ll
poolalloc/trunk/test/dsa/var_arg/basic_64.ll
poolalloc/trunk/test/dsa/var_arg/print.ll
poolalloc/trunk/test/dsa/var_arg/va_copy_32.ll
poolalloc/trunk/test/dsa/var_arg/va_copy_64.ll
poolalloc/trunk/test/pa/clone/Incomplete.ll
Modified: poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch.ll Sun Mar 1 16:10:46 2015
@@ -14,12 +14,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %i, i32* %i_addr
store i32* null, i32** %0, align 8
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -31,12 +31,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store float %f, float* %f_addr
store i32* null, i32** %0, align 8
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -47,8 +47,8 @@ entry:
store i32* (i32)* @B, i32* (i32)** @FP, align 8
store i32* (i32)* bitcast (i32* (float)* @A to i32* (i32)*), i32* (i32)** @FP, align 8
store i32 5, i32* %i, align 4
- %0 = load i32* (i32)** @FP, align 8 ; <i32* (i32)*> [#uses=1]
- %1 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %0 = load i32* (i32)*, i32* (i32)** @FP, align 8 ; <i32* (i32)*> [#uses=1]
+ %1 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%2 = call i32* %0(i32 %1) nounwind ; <i32*> [#uses=0]
br label %return
Modified: poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll Sun Mar 1 16:10:46 2015
@@ -17,16 +17,16 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store float %f, float* %f_addr
- %1 = load float* %f_addr, align 4 ; <float> [#uses=1]
+ %1 = load float, float* %f_addr, align 4 ; <float> [#uses=1]
%2 = fpext float %1 to double ; <double> [#uses=1]
%3 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([4 x i8]* @.str, i64 0, i64 0), double %2) nounwind ; <i32> [#uses=0]
store i32* null, i32** %0, align 8
- %4 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -39,15 +39,15 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store double %d, double* %d_addr
- %1 = load double* %d_addr, align 8 ; <double> [#uses=1]
+ %1 = load double, double* %d_addr, align 8 ; <double> [#uses=1]
%2 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([4 x i8]* @.str1, i64 0, i64 0), double %1) nounwind ; <i32> [#uses=0]
store i32* null, i32** %0, align 8
- %3 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %3, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -58,8 +58,8 @@ entry:
store i32* (double)* @A, i32* (double)** @FP, align 8
store i32* (double)* bitcast (i32* (float)* @B to i32* (double)*), i32* (double)** @FP, align 8
store double 5.000000e+00, double* %d, align 8
- %0 = load i32* (double)** @FP, align 8 ; <i32* (double)*> [#uses=1]
- %1 = load double* %d, align 8 ; <double> [#uses=1]
+ %0 = load i32* (double)*, i32* (double)** @FP, align 8 ; <i32* (double)*> [#uses=1]
+ %1 = load double, double* %d, align 8 ; <double> [#uses=1]
%2 = call i32* %0(double %1) nounwind ; <i32*> [#uses=0]
br label %return
Modified: poolalloc/trunk/test/dsa/callgraph/calltargets_variadic.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/calltargets_variadic.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/calltargets_variadic.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/calltargets_variadic.ll Sun Mar 1 16:10:46 2015
@@ -13,12 +13,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %i, i32* %i_addr
store i32* null, i32** %0, align 8
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -30,12 +30,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %i, i32* %i_addr
store i32* null, i32** %0, align 8
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -46,8 +46,8 @@ entry:
store i32* (i32)* @B, i32* (i32)** @FP, align 8
store i32* (i32)* bitcast (i32* (i32, ...)* @A to i32* (i32)*), i32* (i32)** @FP, align 8
store i32 5, i32* %i, align 4
- %0 = load i32* (i32)** @FP, align 8 ; <i32* (i32)*> [#uses=1]
- %1 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %0 = load i32* (i32)*, i32* (i32)** @FP, align 8 ; <i32* (i32)*> [#uses=1]
+ %1 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%2 = call i32* %0(i32 %1) nounwind ; <i32*> [#uses=0]
br label %return
Modified: poolalloc/trunk/test/dsa/callgraph/class.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/class.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/class.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/class.ll Sun Mar 1 16:10:46 2015
@@ -60,14 +60,14 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%2 = getelementptr inbounds %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %3 = load i32 (...)*** %2, align 8 ; <i32 (...)**> [#uses=1]
+ %3 = load i32 (...)**, i32 (...)*** %2, align 8 ; <i32 (...)**> [#uses=1]
%4 = getelementptr inbounds i32 (...)** %3, i64 1 ; <i32 (...)**> [#uses=1]
- %5 = load i32 (...)** %4, align 1 ; <i32 (...)*> [#uses=1]
+ %5 = load i32 (...)*, i32 (...)** %4, align 1 ; <i32 (...)*> [#uses=1]
%6 = bitcast i32 (...)* %5 to void (%struct.DerivedClass1*)* ; <void (%struct.DerivedClass1*)*> [#uses=1]
- %7 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %7 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
call void %6(%struct.DerivedClass1* %7)
br label %return
@@ -94,12 +94,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %i, i32* %i_addr
store %struct.BaseClass* @ob, %struct.BaseClass** %0, align 8
- %1 = load %struct.BaseClass** %0, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %1 = load %struct.BaseClass*, %struct.BaseClass** %0, align 8 ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %1, %struct.BaseClass** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load %struct.BaseClass** %retval ; <%struct.BaseClass*> [#uses=1]
+ %retval1 = load %struct.BaseClass*, %struct.BaseClass** %retval ; <%struct.BaseClass*> [#uses=1]
ret %struct.BaseClass* %retval1
}
@@ -111,21 +111,21 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = call %struct.BaseClass* @_ZL4initi(i32 2) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %1, %struct.BaseClass** %p, align 8
- %2 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %2 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%3 = getelementptr inbounds %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %4 = load i32 (...)*** %3, align 8 ; <i32 (...)**> [#uses=1]
+ %4 = load i32 (...)**, i32 (...)*** %3, align 8 ; <i32 (...)**> [#uses=1]
%5 = getelementptr inbounds i32 (...)** %4, i64 0 ; <i32 (...)**> [#uses=1]
- %6 = load i32 (...)** %5, align 1 ; <i32 (...)*> [#uses=1]
+ %6 = load i32 (...)*, i32 (...)** %5, align 1 ; <i32 (...)*> [#uses=1]
%7 = bitcast i32 (...)* %6 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %8 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %8 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %7(%struct.BaseClass* %8)
store i32 0, i32* %0, align 4
- %9 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %9, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -134,7 +134,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([4 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -148,7 +148,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([4 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -162,10 +162,10 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
- %2 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%4 = getelementptr inbounds %struct.BaseClass* %3, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([4 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
@@ -182,12 +182,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %__initialize_p, i32* %__initialize_p_addr
store i32 %__priority, i32* %__priority_addr
- %0 = load i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
%1 = icmp eq i32 %0, 1 ; <i1> [#uses=1]
br i1 %1, label %bb, label %bb2
bb: ; preds = %entry
- %2 = load i32* %__priority_addr, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %__priority_addr, align 4 ; <i32> [#uses=1]
%3 = icmp eq i32 %2, 65535 ; <i1> [#uses=1]
br i1 %3, label %bb1, label %bb2
Modified: poolalloc/trunk/test/dsa/callgraph/externfuncs.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/externfuncs.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/externfuncs.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/externfuncs.ll Sun Mar 1 16:10:46 2015
@@ -33,7 +33,7 @@ define internal void @callIndirectExtern
entry:
%0 = alloca i32* ()*
store i32* ()* @externFunc2, i32* ()** %0
- %fp = load i32* ()** %0
+ %fp = load i32* ()*, i32* ()** %0
%res = call i32* ()* %fp() nounwind
ret void
}
@@ -55,7 +55,7 @@ entry:
%3 = call i32* ()* ()* @externFunc3() nounwind
store i32* ()* %3, i32* ()** %0
store i32* ()* @externFunc4, i32* ()** %0
- %res = load i32* ()** %0
+ %res = load i32* ()*, i32* ()** %0
ret i32* ()* %res
}
Modified: poolalloc/trunk/test/dsa/callgraph/fptr.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/fptr.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/fptr.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/fptr.ll Sun Mar 1 16:10:46 2015
@@ -33,12 +33,12 @@ entry:
%F = alloca void (i8*)* ; <void (i8*)**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store void (i8*)* bitcast (void (void (i8*)**)* @A to void (i8*)*), void (i8*)** %F, align 8
- %0 = load void (i8*)** %F, align 8 ; <void (i8*)*> [#uses=1]
+ %0 = load void (i8*)*, void (i8*)** %F, align 8 ; <void (i8*)*> [#uses=1]
%F1 = bitcast void (i8*)** %F to i8* ; <i8*> [#uses=1]
call void %0(i8* %F1) nounwind
br label %return
return: ; preds = %entry
- %retval2 = load i32* %retval ; <i32> [#uses=1]
+ %retval2 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval2
}
Modified: poolalloc/trunk/test/dsa/callgraph/inheritance1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance1.ll Sun Mar 1 16:10:46 2015
@@ -68,42 +68,42 @@ entry:
call void @_ZN13DerivedClass1C1Ev(%struct.DerivedClass1* %derivedObject1) nounwind
call void @_ZN13DerivedClass2C1Ev(%struct.DerivedClass2* %derivedObject2) nounwind
store %struct.BaseClass* %ob, %struct.BaseClass** %p, align 8
- %1 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %1 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%2 = getelementptr inbounds %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %3 = load i32 (...)*** %2, align 8 ; <i32 (...)**> [#uses=1]
+ %3 = load i32 (...)**, i32 (...)*** %2, align 8 ; <i32 (...)**> [#uses=1]
%4 = getelementptr inbounds i32 (...)** %3, i64 0 ; <i32 (...)**> [#uses=1]
- %5 = load i32 (...)** %4, align 1 ; <i32 (...)*> [#uses=1]
+ %5 = load i32 (...)*, i32 (...)** %4, align 1 ; <i32 (...)*> [#uses=1]
%6 = bitcast i32 (...)* %5 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %7 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %7 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %6(%struct.BaseClass* %7)
%8 = getelementptr inbounds %struct.DerivedClass1* %derivedObject1, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %8, %struct.BaseClass** %p, align 8
- %9 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %9 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%10 = getelementptr inbounds %struct.BaseClass* %9, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %11 = load i32 (...)*** %10, align 8 ; <i32 (...)**> [#uses=1]
+ %11 = load i32 (...)**, i32 (...)*** %10, align 8 ; <i32 (...)**> [#uses=1]
%12 = getelementptr inbounds i32 (...)** %11, i64 0 ; <i32 (...)**> [#uses=1]
- %13 = load i32 (...)** %12, align 1 ; <i32 (...)*> [#uses=1]
+ %13 = load i32 (...)*, i32 (...)** %12, align 1 ; <i32 (...)*> [#uses=1]
%14 = bitcast i32 (...)* %13 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %15 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %15 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %14(%struct.BaseClass* %15)
%16 = getelementptr inbounds %struct.DerivedClass2* %derivedObject2, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
%17 = getelementptr inbounds %struct.DerivedClass1* %16, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %17, %struct.BaseClass** %p, align 8
- %18 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %18 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%19 = getelementptr inbounds %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %20 = load i32 (...)*** %19, align 8 ; <i32 (...)**> [#uses=1]
+ %20 = load i32 (...)**, i32 (...)*** %19, align 8 ; <i32 (...)**> [#uses=1]
%21 = getelementptr inbounds i32 (...)** %20, i64 0 ; <i32 (...)**> [#uses=1]
- %22 = load i32 (...)** %21, align 1 ; <i32 (...)*> [#uses=1]
+ %22 = load i32 (...)*, i32 (...)** %21, align 1 ; <i32 (...)*> [#uses=1]
%23 = bitcast i32 (...)* %22 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %24 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %24 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %23(%struct.BaseClass* %24)
store i32 0, i32* %0, align 4
- %25 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %25, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -121,7 +121,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -147,7 +147,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -161,10 +161,10 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
- %2 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%4 = getelementptr inbounds %struct.BaseClass* %3, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
@@ -191,10 +191,10 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
- %2 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%4 = getelementptr inbounds %struct.BaseClass* %3, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
@@ -209,10 +209,10 @@ entry:
%this_addr = alloca %struct.DerivedClass2* ; <%struct.DerivedClass2**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass2* %this, %struct.DerivedClass2** %this_addr
- %0 = load %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
+ %0 = load %struct.DerivedClass2*, %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass2* %0, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
call void @_ZN13DerivedClass1C2Ev(%struct.DerivedClass1* %1) nounwind
- %2 = load %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
+ %2 = load %struct.DerivedClass2*, %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass2* %2, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
%4 = getelementptr inbounds %struct.DerivedClass1* %3, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%5 = getelementptr inbounds %struct.BaseClass* %4, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
@@ -244,12 +244,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %__initialize_p, i32* %__initialize_p_addr
store i32 %__priority, i32* %__priority_addr
- %0 = load i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
%1 = icmp eq i32 %0, 1 ; <i1> [#uses=1]
br i1 %1, label %bb, label %bb2
bb: ; preds = %entry
- %2 = load i32* %__priority_addr, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %__priority_addr, align 4 ; <i32> [#uses=1]
%3 = icmp eq i32 %2, 65535 ; <i1> [#uses=1]
br i1 %3, label %bb1, label %bb2
Modified: poolalloc/trunk/test/dsa/callgraph/inheritance2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance2.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance2.ll Sun Mar 1 16:10:46 2015
@@ -74,7 +74,7 @@ entry:
%0 = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=4]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %i, i32* %i_addr
- %1 = load i32* %i_addr, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %i_addr, align 4 ; <i32> [#uses=1]
%2 = icmp eq i32 %1, 1 ; <i1> [#uses=1]
br i1 %2, label %bb, label %bb1
@@ -83,7 +83,7 @@ bb:
br label %bb6
bb1: ; preds = %entry
- %3 = load i32* %i_addr, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %i_addr, align 4 ; <i32> [#uses=1]
%4 = icmp eq i32 %3, 2 ; <i1> [#uses=1]
br i1 %4, label %bb2, label %bb3
@@ -92,7 +92,7 @@ bb2:
br label %bb6
bb3: ; preds = %bb1
- %5 = load i32* %i_addr, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %i_addr, align 4 ; <i32> [#uses=1]
%6 = icmp eq i32 %5, 3 ; <i1> [#uses=1]
br i1 %6, label %bb4, label %bb5
@@ -104,12 +104,12 @@ bb5:
br label %return
bb6: ; preds = %bb4, %bb2, %bb
- %7 = load %struct.BaseClass** %0, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %7 = load %struct.BaseClass*, %struct.BaseClass** %0, align 8 ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %7, %struct.BaseClass** %retval, align 8
br label %return
return: ; preds = %bb6, %bb5
- %retval7 = load %struct.BaseClass** %retval ; <%struct.BaseClass*> [#uses=1]
+ %retval7 = load %struct.BaseClass*, %struct.BaseClass** %retval ; <%struct.BaseClass*> [#uses=1]
ret %struct.BaseClass* %retval7
}
@@ -121,41 +121,41 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = call %struct.BaseClass* @_Z4initi(i32 2) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %1, %struct.BaseClass** %p, align 8
- %2 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %2 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%3 = getelementptr inbounds %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %4 = load i32 (...)*** %3, align 8 ; <i32 (...)**> [#uses=1]
+ %4 = load i32 (...)**, i32 (...)*** %3, align 8 ; <i32 (...)**> [#uses=1]
%5 = getelementptr inbounds i32 (...)** %4, i64 0 ; <i32 (...)**> [#uses=1]
- %6 = load i32 (...)** %5, align 1 ; <i32 (...)*> [#uses=1]
+ %6 = load i32 (...)*, i32 (...)** %5, align 1 ; <i32 (...)*> [#uses=1]
%7 = bitcast i32 (...)* %6 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %8 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %8 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %7(%struct.BaseClass* %8)
%9 = call %struct.BaseClass* @_Z4initi(i32 3) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %9, %struct.BaseClass** %p, align 8
- %10 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %10 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%11 = getelementptr inbounds %struct.BaseClass* %10, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %12 = load i32 (...)*** %11, align 8 ; <i32 (...)**> [#uses=1]
+ %12 = load i32 (...)**, i32 (...)*** %11, align 8 ; <i32 (...)**> [#uses=1]
%13 = getelementptr inbounds i32 (...)** %12, i64 0 ; <i32 (...)**> [#uses=1]
- %14 = load i32 (...)** %13, align 1 ; <i32 (...)*> [#uses=1]
+ %14 = load i32 (...)*, i32 (...)** %13, align 1 ; <i32 (...)*> [#uses=1]
%15 = bitcast i32 (...)* %14 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %16 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %16 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %15(%struct.BaseClass* %16)
%17 = call %struct.BaseClass* @_Z4initi(i32 4) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %17, %struct.BaseClass** %p, align 8
- %18 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %18 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%19 = getelementptr inbounds %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %20 = load i32 (...)*** %19, align 8 ; <i32 (...)**> [#uses=1]
+ %20 = load i32 (...)**, i32 (...)*** %19, align 8 ; <i32 (...)**> [#uses=1]
%21 = getelementptr inbounds i32 (...)** %20, i64 0 ; <i32 (...)**> [#uses=1]
- %22 = load i32 (...)** %21, align 1 ; <i32 (...)*> [#uses=1]
+ %22 = load i32 (...)*, i32 (...)** %21, align 1 ; <i32 (...)*> [#uses=1]
%23 = bitcast i32 (...)* %22 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %24 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %24 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %23(%struct.BaseClass* %24)
store i32 0, i32* %0, align 4
- %25 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %25, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -202,7 +202,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -216,7 +216,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -230,10 +230,10 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
- %2 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%4 = getelementptr inbounds %struct.BaseClass* %3, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
@@ -248,10 +248,10 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
- %2 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%4 = getelementptr inbounds %struct.BaseClass* %3, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
@@ -266,10 +266,10 @@ entry:
%this_addr = alloca %struct.DerivedClass2* ; <%struct.DerivedClass2**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass2* %this, %struct.DerivedClass2** %this_addr
- %0 = load %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
+ %0 = load %struct.DerivedClass2*, %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass2* %0, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
call void @_ZN13DerivedClass1C2Ev(%struct.DerivedClass1* %1) nounwind
- %2 = load %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
+ %2 = load %struct.DerivedClass2*, %struct.DerivedClass2** %this_addr, align 8 ; <%struct.DerivedClass2*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass2* %2, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
%4 = getelementptr inbounds %struct.DerivedClass1* %3, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%5 = getelementptr inbounds %struct.BaseClass* %4, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
@@ -287,12 +287,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %__initialize_p, i32* %__initialize_p_addr
store i32 %__priority, i32* %__priority_addr
- %0 = load i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
%1 = icmp eq i32 %0, 1 ; <i1> [#uses=1]
br i1 %1, label %bb, label %bb2
bb: ; preds = %entry
- %2 = load i32* %__priority_addr, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %__priority_addr, align 4 ; <i32> [#uses=1]
%3 = icmp eq i32 %2, 65535 ; <i1> [#uses=1]
br i1 %3, label %bb1, label %bb2
Modified: poolalloc/trunk/test/dsa/callgraph/inheritance3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance3.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance3.ll Sun Mar 1 16:10:46 2015
@@ -69,7 +69,7 @@ entry:
%0 = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %i, i32* %i_addr
- %1 = load i32* %i_addr, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %i_addr, align 4 ; <i32> [#uses=1]
%2 = icmp eq i32 %1, 1 ; <i1> [#uses=1]
br i1 %2, label %bb, label %bb1
@@ -78,7 +78,7 @@ bb:
br label %bb4
bb1: ; preds = %entry
- %3 = load i32* %i_addr, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %i_addr, align 4 ; <i32> [#uses=1]
%4 = icmp eq i32 %3, 2 ; <i1> [#uses=1]
br i1 %4, label %bb2, label %bb3
@@ -90,12 +90,12 @@ bb3:
br label %return
bb4: ; preds = %bb2, %bb
- %5 = load %struct.BaseClass** %0, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %5 = load %struct.BaseClass*, %struct.BaseClass** %0, align 8 ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %5, %struct.BaseClass** %retval, align 8
br label %return
return: ; preds = %bb4, %bb3
- %retval5 = load %struct.BaseClass** %retval ; <%struct.BaseClass*> [#uses=1]
+ %retval5 = load %struct.BaseClass*, %struct.BaseClass** %retval ; <%struct.BaseClass*> [#uses=1]
ret %struct.BaseClass* %retval5
}
@@ -105,13 +105,13 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%0 = call %struct.BaseClass* @_Z4initi(i32 2) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %0, %struct.BaseClass** %p, align 8
- %1 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %1 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%2 = getelementptr inbounds %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %3 = load i32 (...)*** %2, align 8 ; <i32 (...)**> [#uses=1]
+ %3 = load i32 (...)**, i32 (...)*** %2, align 8 ; <i32 (...)**> [#uses=1]
%4 = getelementptr inbounds i32 (...)** %3, i64 0 ; <i32 (...)**> [#uses=1]
- %5 = load i32 (...)** %4, align 1 ; <i32 (...)*> [#uses=1]
+ %5 = load i32 (...)*, i32 (...)** %4, align 1 ; <i32 (...)*> [#uses=1]
%6 = bitcast i32 (...)* %5 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %7 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %7 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %6(%struct.BaseClass* %7)
br label %return
@@ -127,42 +127,42 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = call %struct.BaseClass* @_Z4initi(i32 2) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %1, %struct.BaseClass** %p, align 8
- %2 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %2 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%3 = getelementptr inbounds %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %4 = load i32 (...)*** %3, align 8 ; <i32 (...)**> [#uses=1]
+ %4 = load i32 (...)**, i32 (...)*** %3, align 8 ; <i32 (...)**> [#uses=1]
%5 = getelementptr inbounds i32 (...)** %4, i64 0 ; <i32 (...)**> [#uses=1]
- %6 = load i32 (...)** %5, align 1 ; <i32 (...)*> [#uses=1]
+ %6 = load i32 (...)*, i32 (...)** %5, align 1 ; <i32 (...)*> [#uses=1]
%7 = bitcast i32 (...)* %6 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %8 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %8 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %7(%struct.BaseClass* %8)
%9 = call %struct.BaseClass* @_Z4initi(i32 3) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %9, %struct.BaseClass** %p, align 8
- %10 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %10 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%11 = getelementptr inbounds %struct.BaseClass* %10, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %12 = load i32 (...)*** %11, align 8 ; <i32 (...)**> [#uses=1]
+ %12 = load i32 (...)**, i32 (...)*** %11, align 8 ; <i32 (...)**> [#uses=1]
%13 = getelementptr inbounds i32 (...)** %12, i64 0 ; <i32 (...)**> [#uses=1]
- %14 = load i32 (...)** %13, align 1 ; <i32 (...)*> [#uses=1]
+ %14 = load i32 (...)*, i32 (...)** %13, align 1 ; <i32 (...)*> [#uses=1]
%15 = bitcast i32 (...)* %14 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %16 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %16 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %15(%struct.BaseClass* %16)
%17 = call %struct.BaseClass* @_Z4initi(i32 4) nounwind ; <%struct.BaseClass*> [#uses=1]
store %struct.BaseClass* %17, %struct.BaseClass** %p, align 8
- %18 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %18 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
%19 = getelementptr inbounds %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
- %20 = load i32 (...)*** %19, align 8 ; <i32 (...)**> [#uses=1]
+ %20 = load i32 (...)**, i32 (...)*** %19, align 8 ; <i32 (...)**> [#uses=1]
%21 = getelementptr inbounds i32 (...)** %20, i64 0 ; <i32 (...)**> [#uses=1]
- %22 = load i32 (...)** %21, align 1 ; <i32 (...)*> [#uses=1]
+ %22 = load i32 (...)*, i32 (...)** %21, align 1 ; <i32 (...)*> [#uses=1]
%23 = bitcast i32 (...)* %22 to void (%struct.BaseClass*)* ; <void (%struct.BaseClass*)*> [#uses=1]
- %24 = load %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %24 = load %struct.BaseClass*, %struct.BaseClass** %p, align 8 ; <%struct.BaseClass*> [#uses=1]
call void %23(%struct.BaseClass* %24)
call void @_Z4funcv()
store i32 0, i32* %0, align 4
- %25 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %25, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -197,7 +197,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -211,7 +211,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = load %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
+ %0 = load %struct.BaseClass*, %struct.BaseClass** %this_addr, align 8 ; <%struct.BaseClass*> [#uses=1]
%1 = getelementptr inbounds %struct.BaseClass* %0, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
@@ -225,10 +225,10 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=3]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %0 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%1 = getelementptr inbounds %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
- %2 = load %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
+ %2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
%3 = getelementptr inbounds %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
%4 = getelementptr inbounds %struct.BaseClass* %3, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
@@ -245,12 +245,12 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %__initialize_p, i32* %__initialize_p_addr
store i32 %__priority, i32* %__priority_addr
- %0 = load i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %__initialize_p_addr, align 4 ; <i32> [#uses=1]
%1 = icmp eq i32 %0, 1 ; <i1> [#uses=1]
br i1 %1, label %bb, label %bb2
bb: ; preds = %entry
- %2 = load i32* %__priority_addr, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %__priority_addr, align 4 ; <i32> [#uses=1]
%3 = icmp eq i32 %2, 65535 ; <i1> [#uses=1]
br i1 %3, label %bb1, label %bb2
Modified: poolalloc/trunk/test/dsa/callgraph/loop1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/loop1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/loop1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/loop1.ll Sun Mar 1 16:10:46 2015
@@ -18,7 +18,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -29,7 +29,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -51,12 +51,12 @@ entry:
%retval = alloca i32* ; <i32**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i8* %f, i8** %f_addr
- %0 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %0 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
call void @D(i32* (i32*)* %0) nounwind
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -66,21 +66,21 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* (i32*)* bitcast (i32* ()* @A to i32* (i32*)*), i32* (i32*)** @FP, align 8
- %1 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %1 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
%2 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%3 = bitcast i8* %2 to i32* ; <i32*> [#uses=1]
%4 = call i32* %1(i32* %3) nounwind ; <i32*> [#uses=0]
- %5 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %5 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
%6 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%7 = bitcast i8* %6 to i32* ; <i32*> [#uses=1]
%8 = call i32* %5(i32* %7) nounwind ; <i32*> [#uses=1]
store i32* %8, i32** %0, align 8
- %9 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %9 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %9, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -91,7 +91,7 @@ entry:
%o_addr = alloca %struct.S* ; <%struct.S**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.S* %o, %struct.S** %o_addr
- %0 = load %struct.S** %o_addr, align 8 ; <%struct.S*> [#uses=1]
+ %0 = load %struct.S*, %struct.S** %o_addr, align 8 ; <%struct.S*> [#uses=1]
%1 = getelementptr inbounds %struct.S* %0, i32 0, i32 0 ; <i32* (i32*)**> [#uses=1]
store i32* (i32*)* bitcast (i32* ()* @B to i32* (i32*)*), i32* (i32*)** %1, align 8
br label %return
@@ -107,11 +107,11 @@ entry:
%0 = call noalias i8* @malloc(i64 8) nounwind ; <i8*> [#uses=1]
%1 = bitcast i8* %0 to %struct.S* ; <%struct.S*> [#uses=1]
store %struct.S* %1, %struct.S** %t, align 8
- %2 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
- %3 = load %struct.S** %t, align 8 ; <%struct.S*> [#uses=1]
+ %2 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %3 = load %struct.S*, %struct.S** %t, align 8 ; <%struct.S*> [#uses=1]
%4 = getelementptr inbounds %struct.S* %3, i32 0, i32 0 ; <i32* (i32*)**> [#uses=1]
store i32* (i32*)* %2, i32* (i32*)** %4, align 8
- %5 = load %struct.S** %t, align 8 ; <%struct.S*> [#uses=1]
+ %5 = load %struct.S*, %struct.S** %t, align 8 ; <%struct.S*> [#uses=1]
call void @init2(%struct.S* %5) nounwind
br label %return
@@ -128,6 +128,6 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/callgraph/loop2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/loop2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/loop2.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/loop2.ll Sun Mar 1 16:10:46 2015
@@ -15,7 +15,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -26,7 +26,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -48,12 +48,12 @@ entry:
%retval = alloca i32* ; <i32**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i8* %f, i8** %f_addr
- %0 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %0 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
call void @D(i32* (i32*)* %0) nounwind
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -66,23 +66,23 @@ entry:
store i32* (i32*)* bitcast (i32* ()* @A to i32* (i32*)*), i32* (i32*)** @FP, align 8
store i32* (i8*)* @SetFP, i32* (i8*)** %setter, align 8
%1 = call noalias i8* @malloc(i64 3) nounwind ; <i8*> [#uses=1]
- %2 = load i32* (i8*)** %setter, align 8 ; <i32* (i8*)*> [#uses=1]
+ %2 = load i32* (i8*)*, i32* (i8*)** %setter, align 8 ; <i32* (i8*)*> [#uses=1]
%3 = call i32* %2(i8* %1) nounwind ; <i32*> [#uses=0]
- %4 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %4 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
%5 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%6 = bitcast i8* %5 to i32* ; <i32*> [#uses=1]
%7 = call i32* %4(i32* %6) nounwind ; <i32*> [#uses=0]
- %8 = load i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
+ %8 = load i32* (i32*)*, i32* (i32*)** @FP, align 8 ; <i32* (i32*)*> [#uses=1]
%9 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%10 = bitcast i8* %9 to i32* ; <i32*> [#uses=1]
%11 = call i32* %8(i32* %10) nounwind ; <i32*> [#uses=1]
store i32* %11, i32** %0, align 8
- %12 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %12 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %12, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -96,6 +96,6 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/callgraph/merge.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/merge.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/merge.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/merge.ll Sun Mar 1 16:10:46 2015
@@ -47,7 +47,7 @@ entry:
store void ()* @B, void ()** %fp, align 8
store void ()* @A, void ()** %fp1, align 8
store void ()* @D, void ()** %fp, align 8
- %0 = load void ()** %fp, align 8 ; <void ()*> [#uses=1]
+ %0 = load void ()*, void ()** %fp, align 8 ; <void ()*> [#uses=1]
call void %0() nounwind
br label %return
Modified: poolalloc/trunk/test/dsa/callgraph/pr7799.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/pr7799.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/pr7799.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/pr7799.ll Sun Mar 1 16:10:46 2015
@@ -36,7 +36,7 @@ entry:
%0 = sext i32 %argc to i64 ; <i64> [#uses=1]
%1 = getelementptr inbounds [2 x %struct.combo]* @farray, i64 0, i64 %0 ; <%struct.combo*> [#uses=1]
%2 = getelementptr inbounds %struct.combo* %1, i32 0, i32 1 ; <i32 (i32)**> [#uses=1]
- %3 = load i32 (i32)** %2, align 8 ; <i32 (i32)*> [#uses=1]
+ %3 = load i32 (i32)*, i32 (i32)** %2, align 8 ; <i32 (i32)*> [#uses=1]
%4 = call i32 %3(i32 %argc) nounwind ; <i32> [#uses=1]
br label %return
Modified: poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll Sun Mar 1 16:10:46 2015
@@ -18,12 +18,12 @@ entry:
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 1, i32* %0, align 4
- %1 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %1, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -33,12 +33,12 @@ entry:
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 2, i32* %0, align 4
- %1 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %1, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -54,33 +54,33 @@ entry:
br label %bb3
bb: ; preds = %bb3
- %1 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%2 = sext i32 %1 to i64 ; <i64> [#uses=1]
%3 = getelementptr inbounds [2 x %struct.parse_table]* @table, i64 0, i64 %2 ; <%struct.parse_table*> [#uses=1]
%4 = getelementptr inbounds %struct.parse_table* %3, i32 0, i32 0 ; <i8**> [#uses=1]
- %5 = load i8** %4, align 8 ; <i8*> [#uses=1]
- %6 = load i8** %s_addr, align 8 ; <i8*> [#uses=1]
+ %5 = load i8*, i8** %4, align 8 ; <i8*> [#uses=1]
+ %6 = load i8*, i8** %s_addr, align 8 ; <i8*> [#uses=1]
%7 = call i32 (...)* bitcast (i32 (i8*, i8*)* @strcmp to i32 (...)*)(i8* %5, i8* %6) nounwind readonly ; <i32> [#uses=1]
%8 = icmp eq i32 %7, 0 ; <i1> [#uses=1]
br i1 %8, label %bb1, label %bb2
bb1: ; preds = %bb
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = sext i32 %9 to i64 ; <i64> [#uses=1]
%11 = getelementptr inbounds [2 x %struct.parse_table]* @table, i64 0, i64 %10 ; <%struct.parse_table*> [#uses=1]
%12 = getelementptr inbounds %struct.parse_table* %11, i32 0, i32 1 ; <i32 ()**> [#uses=1]
- %13 = load i32 ()** %12, align 8 ; <i32 ()*> [#uses=1]
+ %13 = load i32 ()*, i32 ()** %12, align 8 ; <i32 ()*> [#uses=1]
store i32 ()* %13, i32 ()** %0, align 8
br label %bb5
bb2: ; preds = %bb
- %14 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %14 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%15 = add nsw i32 %14, 1 ; <i32> [#uses=1]
store i32 %15, i32* %i, align 4
br label %bb3
bb3: ; preds = %bb2, %entry
- %16 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%17 = icmp sle i32 %16, 1 ; <i1> [#uses=1]
br i1 %17, label %bb, label %bb4
@@ -89,12 +89,12 @@ bb4:
br label %bb5
bb5: ; preds = %bb4, %bb1
- %18 = load i32 ()** %0, align 8 ; <i32 ()*> [#uses=1]
+ %18 = load i32 ()*, i32 ()** %0, align 8 ; <i32 ()*> [#uses=1]
store i32 ()* %18, i32 ()** %retval, align 8
br label %return
return: ; preds = %bb5
- %retval6 = load i32 ()** %retval ; <i32 ()*> [#uses=1]
+ %retval6 = load i32 ()*, i32 ()** %retval ; <i32 ()*> [#uses=1]
ret i32 ()* %retval6
}
@@ -109,17 +109,17 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %argc, i32* %argc_addr
store i8** %argv, i8*** %argv_addr
- %0 = load i8*** %argv_addr, align 8 ; <i8**> [#uses=1]
+ %0 = load i8**, i8*** %argv_addr, align 8 ; <i8**> [#uses=1]
%1 = getelementptr inbounds i8** %0, i64 1 ; <i8**> [#uses=1]
- %2 = load i8** %1, align 1 ; <i8*> [#uses=1]
+ %2 = load i8*, i8** %1, align 1 ; <i8*> [#uses=1]
%3 = call i32 ()* (i8*)* @find_p_func(i8* %2) nounwind ; <i32 ()*> [#uses=1]
store i32 ()* %3, i32 ()** %parse_func, align 8
- %4 = load i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
+ %4 = load i32 ()*, i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
%5 = icmp ne i32 ()* %4, null ; <i1> [#uses=1]
br i1 %5, label %bb, label %bb1
bb: ; preds = %entry
- %6 = load i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
+ %6 = load i32 ()*, i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
%7 = call i32 %6() nounwind ; <i32> [#uses=0]
br label %bb1
@@ -127,6 +127,6 @@ bb1:
br label %return
return: ; preds = %bb1
- %retval2 = load i32* %retval ; <i32> [#uses=1]
+ %retval2 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval2
}
Modified: poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll Sun Mar 1 16:10:46 2015
@@ -17,12 +17,12 @@ entry:
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 1, i32* %0, align 4
- %1 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %1, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -32,12 +32,12 @@ entry:
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 2, i32* %0, align 4
- %1 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %1, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -53,33 +53,33 @@ entry:
br label %bb3
bb: ; preds = %bb3
- %1 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%2 = sext i32 %1 to i64 ; <i64> [#uses=1]
%3 = getelementptr inbounds [2 x %struct.parse_table]* @table, i64 0, i64 %2 ; <%struct.parse_table*> [#uses=1]
%4 = getelementptr inbounds %struct.parse_table* %3, i32 0, i32 0 ; <i8**> [#uses=1]
- %5 = load i8** %4, align 8 ; <i8*> [#uses=1]
- %6 = load i8** %s_addr, align 8 ; <i8*> [#uses=1]
+ %5 = load i8*, i8** %4, align 8 ; <i8*> [#uses=1]
+ %6 = load i8*, i8** %s_addr, align 8 ; <i8*> [#uses=1]
%7 = call i32 (...)* bitcast (i32 (i8*, i8*)* @strcmp to i32 (...)*)(i8* %5, i8* %6) nounwind readonly ; <i32> [#uses=1]
%8 = icmp eq i32 %7, 0 ; <i1> [#uses=1]
br i1 %8, label %bb1, label %bb2
bb1: ; preds = %bb
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = sext i32 %9 to i64 ; <i64> [#uses=1]
%11 = getelementptr inbounds [2 x %struct.parse_table]* @table, i64 0, i64 %10 ; <%struct.parse_table*> [#uses=1]
%12 = getelementptr inbounds %struct.parse_table* %11, i32 0, i32 1 ; <i32 ()**> [#uses=1]
- %13 = load i32 ()** %12, align 8 ; <i32 ()*> [#uses=1]
+ %13 = load i32 ()*, i32 ()** %12, align 8 ; <i32 ()*> [#uses=1]
store i32 ()* %13, i32 ()** %0, align 8
br label %bb5
bb2: ; preds = %bb
- %14 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %14 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%15 = add nsw i32 %14, 1 ; <i32> [#uses=1]
store i32 %15, i32* %i, align 4
br label %bb3
bb3: ; preds = %bb2, %entry
- %16 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%17 = icmp sle i32 %16, 1 ; <i1> [#uses=1]
br i1 %17, label %bb, label %bb4
@@ -88,12 +88,12 @@ bb4:
br label %bb5
bb5: ; preds = %bb4, %bb1
- %18 = load i32 ()** %0, align 8 ; <i32 ()*> [#uses=1]
+ %18 = load i32 ()*, i32 ()** %0, align 8 ; <i32 ()*> [#uses=1]
store i32 ()* %18, i32 ()** %retval, align 8
br label %return
return: ; preds = %bb5
- %retval6 = load i32 ()** %retval ; <i32 ()*> [#uses=1]
+ %retval6 = load i32 ()*, i32 ()** %retval ; <i32 ()*> [#uses=1]
ret i32 ()* %retval6
}
@@ -108,17 +108,17 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 %argc, i32* %argc_addr
store i8** %argv, i8*** %argv_addr
- %0 = load i8*** %argv_addr, align 8 ; <i8**> [#uses=1]
+ %0 = load i8**, i8*** %argv_addr, align 8 ; <i8**> [#uses=1]
%1 = getelementptr inbounds i8** %0, i64 1 ; <i8**> [#uses=1]
- %2 = load i8** %1, align 1 ; <i8*> [#uses=1]
+ %2 = load i8*, i8** %1, align 1 ; <i8*> [#uses=1]
%3 = call i32 ()* (i8*)* @find_p_func(i8* %2) nounwind ; <i32 ()*> [#uses=1]
store i32 ()* %3, i32 ()** %parse_func, align 8
- %4 = load i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
+ %4 = load i32 ()*, i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
%5 = icmp ne i32 ()* %4, null ; <i1> [#uses=1]
br i1 %5, label %bb, label %bb1
bb: ; preds = %entry
- %6 = load i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
+ %6 = load i32 ()*, i32 ()** %parse_func, align 8 ; <i32 ()*> [#uses=1]
%7 = call i32 %6() nounwind ; <i32> [#uses=0]
br label %bb1
@@ -126,6 +126,6 @@ bb1:
br label %return
return: ; preds = %bb1
- %retval2 = load i32* %retval ; <i32> [#uses=1]
+ %retval2 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval2
}
Modified: poolalloc/trunk/test/dsa/callgraph/test1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/test1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/test1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/test1.ll Sun Mar 1 16:10:46 2015
@@ -17,31 +17,31 @@ entry:
%t = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.gen_readio* %f, %struct.gen_readio** %f_addr
- %1 = load %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
+ %1 = load %struct.gen_readio*, %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
%2 = getelementptr inbounds %struct.gen_readio* %1, i32 0, i32 0 ; <i32 (i8*)**> [#uses=1]
- %3 = load i32 (i8*)** %2, align 8 ; <i32 (i8*)*> [#uses=1]
- %4 = load %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
+ %3 = load i32 (i8*)*, i32 (i8*)** %2, align 8 ; <i32 (i8*)*> [#uses=1]
+ %4 = load %struct.gen_readio*, %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
%5 = getelementptr inbounds %struct.gen_readio* %4, i32 0, i32 2 ; <i8**> [#uses=1]
- %6 = load i8** %5, align 8 ; <i8*> [#uses=1]
+ %6 = load i8*, i8** %5, align 8 ; <i8*> [#uses=1]
%7 = call i32 %3(i8* %6) nounwind ; <i32> [#uses=1]
store i32 %7, i32* %t, align 4
- %8 = load %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
+ %8 = load %struct.gen_readio*, %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
%9 = getelementptr inbounds %struct.gen_readio* %8, i32 0, i32 1 ; <void (i32, i8*)**> [#uses=1]
- %10 = load void (i32, i8*)** %9, align 8 ; <void (i32, i8*)*> [#uses=1]
- %11 = load %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
+ %10 = load void (i32, i8*)*, void (i32, i8*)** %9, align 8 ; <void (i32, i8*)*> [#uses=1]
+ %11 = load %struct.gen_readio*, %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
%12 = getelementptr inbounds %struct.gen_readio* %11, i32 0, i32 2 ; <i8**> [#uses=1]
- %13 = load i8** %12, align 8 ; <i8*> [#uses=1]
- %14 = load i32* %t, align 4 ; <i32> [#uses=1]
+ %13 = load i8*, i8** %12, align 8 ; <i8*> [#uses=1]
+ %14 = load i32, i32* %t, align 4 ; <i32> [#uses=1]
call void %10(i32 %14, i8* %13) nounwind
%15 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%16 = bitcast i8* %15 to i32* ; <i32*> [#uses=1]
store i32* %16, i32** %0, align 8
- %17 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %17 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %17, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -54,9 +54,9 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.gen_readio* %f, %struct.gen_readio** %f_addr
store i32 (i8*)* %fcn, i32 (i8*)** %fcn_addr
- %0 = load %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
+ %0 = load %struct.gen_readio*, %struct.gen_readio** %f_addr, align 8 ; <%struct.gen_readio*> [#uses=1]
%1 = getelementptr inbounds %struct.gen_readio* %0, i32 0, i32 0 ; <i32 (i8*)**> [#uses=1]
- %2 = load i32 (i8*)** %fcn_addr, align 8 ; <i32 (i8*)*> [#uses=1]
+ %2 = load i32 (i8*)*, i32 (i8*)** %fcn_addr, align 8 ; <i32 (i8*)*> [#uses=1]
store i32 (i8*)* %2, i32 (i8*)** %1, align 8
br label %return
@@ -77,23 +77,23 @@ entry:
%1 = getelementptr inbounds %struct.gen_readio* %s, i32 0, i32 1 ; <void (i32, i8*)**> [#uses=1]
store void (i32, i8*)* bitcast (void (i32, %struct.FILE*)* @f_ungetc to void (i32, i8*)*), void (i32, i8*)** %1, align 8
%2 = getelementptr inbounds %struct.gen_readio* %s, i32 0, i32 2 ; <i8**> [#uses=1]
- %3 = load %struct.FILE** %f_addr, align 8 ; <%struct.FILE*> [#uses=1]
+ %3 = load %struct.FILE*, %struct.FILE** %f_addr, align 8 ; <%struct.FILE*> [#uses=1]
%4 = bitcast %struct.FILE* %3 to i8* ; <i8*> [#uses=1]
store i8* %4, i8** %2, align 8
%5 = getelementptr inbounds %struct.gen_readio* %s, i32 0, i32 1 ; <void (i32, i8*)**> [#uses=1]
- %6 = load void (i32, i8*)** %5, align 8 ; <void (i32, i8*)*> [#uses=1]
+ %6 = load void (i32, i8*)*, void (i32, i8*)** %5, align 8 ; <void (i32, i8*)*> [#uses=1]
%7 = getelementptr inbounds %struct.gen_readio* %s, i32 0, i32 2 ; <i8**> [#uses=1]
- %8 = load i8** %7, align 8 ; <i8*> [#uses=1]
- %9 = load i32* %c, align 4 ; <i32> [#uses=1]
+ %8 = load i8*, i8** %7, align 8 ; <i8*> [#uses=1]
+ %9 = load i32, i32* %c, align 4 ; <i32> [#uses=1]
call void %6(i32 %9, i8* %8) nounwind
%10 = call i32* @lreadr(%struct.gen_readio* %s) nounwind ; <i32*> [#uses=1]
store i32* %10, i32** %0, align 8
- %11 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %11 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %11, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/callgraph/testIncomplete.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/testIncomplete.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/testIncomplete.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/testIncomplete.ll Sun Mar 1 16:10:46 2015
@@ -20,18 +20,18 @@ entry:
%0 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%1 = bitcast i8* %0 to i32* ; <i32*> [#uses=1]
store i32* %1, i32** %x, align 8
- %2 = load i8** %fp_addr, align 8 ; <i8*> [#uses=1]
+ %2 = load i8*, i8** %fp_addr, align 8 ; <i8*> [#uses=1]
%3 = bitcast i8* %2 to i32* (i8*)** ; <i32* (i8*)**> [#uses=1]
store i32* (i8*)** %3, i32* (i8*)*** %fp1, align 8
- %4 = load i32* (i8*)*** %fp1, align 8 ; <i32* (i8*)**> [#uses=1]
- %5 = load i32* (i8*)** %4, align 8 ; <i32* (i8*)*> [#uses=1]
- %6 = load i32** %x, align 8 ; <i32*> [#uses=1]
+ %4 = load i32* (i8*)**, i32* (i8*)*** %fp1, align 8 ; <i32* (i8*)**> [#uses=1]
+ %5 = load i32* (i8*)*, i32* (i8*)** %4, align 8 ; <i32* (i8*)*> [#uses=1]
+ %6 = load i32*, i32** %x, align 8 ; <i32*> [#uses=1]
%7 = bitcast i32* %6 to i8* ; <i8*> [#uses=1]
%8 = call i32* %5(i8* %7) nounwind ; <i32*> [#uses=0]
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -46,7 +46,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -59,7 +59,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -75,13 +75,13 @@ entry:
store i32* (i8*)* @B, i32* (i8*)** %fp1, align 8
store i32* (i8*)* @C, i32* (i8*)** %fp1, align 8
store i32* (i8*)* @D, i32* (i8*)** %fp1, align 8
- %0 = load i32* (i8*)** %fp, align 8 ; <i32* (i8*)*> [#uses=1]
- %1 = load i32* (i8*)** %fp1, align 8 ; <i32* (i8*)*> [#uses=1]
+ %0 = load i32* (i8*)*, i32* (i8*)** %fp, align 8 ; <i32* (i8*)*> [#uses=1]
+ %1 = load i32* (i8*)*, i32* (i8*)** %fp1, align 8 ; <i32* (i8*)*> [#uses=1]
%2 = bitcast i32* (i8*)* %1 to i8* ; <i8*> [#uses=1]
%3 = call i32* %0(i8* %2) nounwind ; <i32*> [#uses=0]
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/callgraph/varargs.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/varargs.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/varargs.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/varargs.ll Sun Mar 1 16:10:46 2015
@@ -48,17 +48,17 @@ entry:
call void @llvm.va_start(i8* %ap12)
%0 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%1 = getelementptr inbounds %struct.__va_list_tag* %0, i32 0, i32 0 ; <i32*> [#uses=1]
- %2 = load i32* %1, align 8 ; <i32> [#uses=1]
+ %2 = load i32, i32* %1, align 8 ; <i32> [#uses=1]
%3 = icmp uge i32 %2, 48 ; <i1> [#uses=1]
br i1 %3, label %bb3, label %bb
bb: ; preds = %entry
%4 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%5 = getelementptr inbounds %struct.__va_list_tag* %4, i32 0, i32 3 ; <i8**> [#uses=1]
- %6 = load i8** %5, align 8 ; <i8*> [#uses=1]
+ %6 = load i8*, i8** %5, align 8 ; <i8*> [#uses=1]
%7 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%8 = getelementptr inbounds %struct.__va_list_tag* %7, i32 0, i32 0 ; <i32*> [#uses=1]
- %9 = load i32* %8, align 8 ; <i32> [#uses=1]
+ %9 = load i32, i32* %8, align 8 ; <i32> [#uses=1]
%10 = inttoptr i32 %9 to i8* ; <i8*> [#uses=1]
%11 = ptrtoint i8* %6 to i64 ; <i64> [#uses=1]
%12 = ptrtoint i8* %10 to i64 ; <i64> [#uses=1]
@@ -67,7 +67,7 @@ bb:
store i8* %14, i8** %addr.0, align 8
%15 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%16 = getelementptr inbounds %struct.__va_list_tag* %15, i32 0, i32 0 ; <i32*> [#uses=1]
- %17 = load i32* %16, align 8 ; <i32> [#uses=1]
+ %17 = load i32, i32* %16, align 8 ; <i32> [#uses=1]
%18 = add i32 %17, 8 ; <i32> [#uses=1]
%19 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%20 = getelementptr inbounds %struct.__va_list_tag* %19, i32 0, i32 0 ; <i32*> [#uses=1]
@@ -77,7 +77,7 @@ bb:
bb3: ; preds = %entry
%21 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%22 = getelementptr inbounds %struct.__va_list_tag* %21, i32 0, i32 2 ; <i8**> [#uses=1]
- %23 = load i8** %22, align 8 ; <i8*> [#uses=2]
+ %23 = load i8*, i8** %22, align 8 ; <i8*> [#uses=2]
store i8* %23, i8** %addr.0, align 8
%24 = getelementptr inbounds i8* %23, i64 8 ; <i8*> [#uses=1]
%25 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
@@ -86,29 +86,29 @@ bb3:
br label %bb4
bb4: ; preds = %bb3, %bb
- %27 = load i8** %addr.0, align 8 ; <i8*> [#uses=1]
+ %27 = load i8*, i8** %addr.0, align 8 ; <i8*> [#uses=1]
%28 = bitcast i8* %27 to void ()** ; <void ()**> [#uses=1]
- %29 = load void ()** %28, align 8 ; <void ()*> [#uses=1]
+ %29 = load void ()*, void ()** %28, align 8 ; <void ()*> [#uses=1]
store void ()* %29, void ()** %old, align 8
store i32 0, i32* %i, align 4
br label %bb9
bb5: ; preds = %bb9
- %30 = load void ()** %old, align 8 ; <void ()*> [#uses=1]
+ %30 = load void ()*, void ()** %old, align 8 ; <void ()*> [#uses=1]
call void %30() nounwind
%31 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%32 = getelementptr inbounds %struct.__va_list_tag* %31, i32 0, i32 0 ; <i32*> [#uses=1]
- %33 = load i32* %32, align 8 ; <i32> [#uses=1]
+ %33 = load i32, i32* %32, align 8 ; <i32> [#uses=1]
%34 = icmp uge i32 %33, 48 ; <i1> [#uses=1]
br i1 %34, label %bb7, label %bb6
bb6: ; preds = %bb5
%35 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%36 = getelementptr inbounds %struct.__va_list_tag* %35, i32 0, i32 3 ; <i8**> [#uses=1]
- %37 = load i8** %36, align 8 ; <i8*> [#uses=1]
+ %37 = load i8*, i8** %36, align 8 ; <i8*> [#uses=1]
%38 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%39 = getelementptr inbounds %struct.__va_list_tag* %38, i32 0, i32 0 ; <i32*> [#uses=1]
- %40 = load i32* %39, align 8 ; <i32> [#uses=1]
+ %40 = load i32, i32* %39, align 8 ; <i32> [#uses=1]
%41 = inttoptr i32 %40 to i8* ; <i8*> [#uses=1]
%42 = ptrtoint i8* %37 to i64 ; <i64> [#uses=1]
%43 = ptrtoint i8* %41 to i64 ; <i64> [#uses=1]
@@ -117,7 +117,7 @@ bb6:
store i8* %45, i8** %addr.2, align 8
%46 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%47 = getelementptr inbounds %struct.__va_list_tag* %46, i32 0, i32 0 ; <i32*> [#uses=1]
- %48 = load i32* %47, align 8 ; <i32> [#uses=1]
+ %48 = load i32, i32* %47, align 8 ; <i32> [#uses=1]
%49 = add i32 %48, 8 ; <i32> [#uses=1]
%50 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%51 = getelementptr inbounds %struct.__va_list_tag* %50, i32 0, i32 0 ; <i32*> [#uses=1]
@@ -127,7 +127,7 @@ bb6:
bb7: ; preds = %bb5
%52 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%53 = getelementptr inbounds %struct.__va_list_tag* %52, i32 0, i32 2 ; <i8**> [#uses=1]
- %54 = load i8** %53, align 8 ; <i8*> [#uses=2]
+ %54 = load i8*, i8** %53, align 8 ; <i8*> [#uses=2]
store i8* %54, i8** %addr.2, align 8
%55 = getelementptr inbounds i8* %54, i64 8 ; <i8*> [#uses=1]
%56 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
@@ -136,19 +136,19 @@ bb7:
br label %bb8
bb8: ; preds = %bb7, %bb6
- %58 = load i8** %addr.2, align 8 ; <i8*> [#uses=1]
+ %58 = load i8*, i8** %addr.2, align 8 ; <i8*> [#uses=1]
%59 = bitcast i8* %58 to i8** ; <i8**> [#uses=1]
- %60 = load i8** %59, align 8 ; <i8*> [#uses=1]
+ %60 = load i8*, i8** %59, align 8 ; <i8*> [#uses=1]
%61 = bitcast i8* %60 to void ()* ; <void ()*> [#uses=1]
store void ()* %61, void ()** %old, align 8
- %62 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %62 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%63 = add nsw i32 %62, 1 ; <i32> [#uses=1]
store i32 %63, i32* %i, align 4
br label %bb9
bb9: ; preds = %bb8, %bb4
- %64 = load i32* %i, align 4 ; <i32> [#uses=1]
- %65 = load i32* %count_addr, align 4 ; <i32> [#uses=1]
+ %64 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %65 = load i32, i32* %count_addr, align 4 ; <i32> [#uses=1]
%66 = icmp slt i32 %64, %65 ; <i1> [#uses=1]
br i1 %66, label %bb5, label %bb10
@@ -173,11 +173,11 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
call void (i32, ...)* @assign(i32 2, void ()* @A, void ()* @B) nounwind
store i32 1, i32* %0, align 4
- %1 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %1, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/equivs/no-callees.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/equivs/no-callees.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/equivs/no-callees.ll (original)
+++ poolalloc/trunk/test/dsa/equivs/no-callees.ll Sun Mar 1 16:10:46 2015
@@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gn
define i64 @main(i32 %argc, i8** %argv) uwtable {
entry:
- %fptr = load i64()** @FP
+ %fptr = load i64()*, i64()** @FP
%0 = call i64 %fptr()
ret i64 %0
}
Modified: poolalloc/trunk/test/dsa/extern/extern.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/extern/extern.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern.ll Sun Mar 1 16:10:46 2015
@@ -55,9 +55,9 @@ entry:
%ptr = tail call i32* ()* @getPointer() nounwind
%ptrExtern = tail call i32* (...)* @getPointerExtern() nounwind
%ptrViaExtern = tail call i32* ()* @getPointerViaExtern() nounwind
- %val1 = load i32* %ptr, align 4
- %val2 = load i32* %ptrExtern, align 4
- %val3 = load i32* %ptrViaExtern, align 4
+ %val1 = load i32, i32* %ptr, align 4
+ %val2 = load i32, i32* %ptrExtern, align 4
+ %val3 = load i32, i32* %ptrViaExtern, align 4
%sum_partial = add i32 %val1, %val2
%sum = add i32 %sum_partial, %val3
ret i32 %sum
Modified: poolalloc/trunk/test/dsa/extern/extern2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/extern/extern2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern2.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern2.ll Sun Mar 1 16:10:46 2015
@@ -24,7 +24,7 @@ target triple = "x86_64-unknown-linux-gn
define internal i32 @takesPointer(i32* nocapture %ptr) nounwind readonly {
entry:
- %0 = load i32* %ptr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %ptr, align 4 ; <i32> [#uses=1]
ret i32 %0
}
Modified: poolalloc/trunk/test/dsa/extern/extern3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/extern/extern3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern3.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern3.ll Sun Mar 1 16:10:46 2015
@@ -29,7 +29,7 @@ entry:
;RUN: dsaopt %s -dsa-td -analyze -verify-flags "takesPointer:ptr+E-I"
define i32 @takesPointer(i32* %ptr) nounwind {
entry:
- %0 = load i32* %ptr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %ptr, align 4 ; <i32> [#uses=1]
ret i32 %0
}
@@ -47,7 +47,7 @@ entry:
;RUN: dsaopt %s -dsa-td -analyze -verify-flags "takesPointerInternal:ptr-IE"
define internal i32 @takesPointerInternal(i32* %ptr) nounwind {
entry:
- %0 = load i32* %ptr, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %ptr, align 4 ; <i32> [#uses=1]
ret i32 %0
}
Modified: poolalloc/trunk/test/dsa/extern/extern_global2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/extern/extern_global2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern_global2.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern_global2.ll Sun Mar 1 16:10:46 2015
@@ -23,8 +23,8 @@ entry:
%a_addr = alloca i32** ; <i32***> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32** %a, i32*** %a_addr
- %0 = load i32** @G, align 8 ; <i32*> [#uses=1]
- %1 = load i32*** %a_addr, align 8 ; <i32**> [#uses=1]
+ %0 = load i32*, i32** @G, align 8 ; <i32*> [#uses=1]
+ %1 = load i32**, i32*** %a_addr, align 8 ; <i32**> [#uses=1]
store i32* %0, i32** %1, align 8
br label %return
@@ -56,10 +56,10 @@ entry:
%a = alloca i32* ; <i32**> [#uses=2]
%val = alloca i32 ; <i32*> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
- %0 = load i32** @G, align 8 ; <i32*> [#uses=1]
+ %0 = load i32*, i32** @G, align 8 ; <i32*> [#uses=1]
store i32* %0, i32** %a, align 8
- %1 = load i32** %a, align 8 ; <i32*> [#uses=1]
- %2 = load i32* %1, align 4 ; <i32> [#uses=1]
+ %1 = load i32*, i32** %a, align 8 ; <i32*> [#uses=1]
+ %2 = load i32, i32* %1, align 4 ; <i32> [#uses=1]
store i32 %2, i32* %val, align 4
br label %return
@@ -76,7 +76,7 @@ entry:
%f_addr = alloca void (i32**)* ; <void (i32**)**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store void (i32**)* %f, void (i32**)** %f_addr
- %0 = load void (i32**)** %f_addr, align 8 ; <void (i32**)*> [#uses=1]
+ %0 = load void (i32**)*, void (i32**)** %f_addr, align 8 ; <void (i32**)*> [#uses=1]
call void @external(void (i32**)* %0) nounwind
br label %return
@@ -100,7 +100,7 @@ entry:
%f = alloca void (i32**)* ; <void (i32**)**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store void (i32**)* @C, void (i32**)** %f, align 8
- %0 = load void (i32**)** %f, align 8 ; <void (i32**)*> [#uses=1]
+ %0 = load void (i32**)*, void (i32**)** %f, align 8 ; <void (i32**)*> [#uses=1]
call void @externalize(void (i32**)* %0) nounwind
call void @B() nounwind
call void @B2() nounwind
Modified: poolalloc/trunk/test/dsa/extern/extern_global_escape.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/extern/extern_global_escape.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern_global_escape.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern_global_escape.ll Sun Mar 1 16:10:46 2015
@@ -23,7 +23,7 @@ target triple = "x86_64-unknown-linux-gn
; RUN: dsaopt %s -dsa-td -analyze -verify-flags "externallyVisible:ptr+E-I"
define void @externallyVisible(i32** %ptr) nounwind {
entry:
- %0 = load i32** %ptr, align 8
+ %0 = load i32*, i32** %ptr, align 8
store i32* %0, i32** @globalptr, align 8
ret void
}
@@ -35,7 +35,7 @@ entry:
define void @usesGlobalPtr() nounwind {
entry:
%ptr = alloca i32* ; <i32**> [#uses=1]
- %0 = load i32** @globalptr, align 8 ; <i32*> [#uses=1]
+ %0 = load i32*, i32** @globalptr, align 8 ; <i32*> [#uses=1]
store i32* %0, i32** %ptr, align 8
ret void
}
Modified: poolalloc/trunk/test/dsa/local/arrayPointers.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers.ll Sun Mar 1 16:10:46 2015
@@ -18,7 +18,7 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32 10, i32* %nrows, align 4
store i32 10, i32* %ncolumns, align 4
- %0 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%1 = sext i32 %0 to i64 ; <i64> [#uses=1]
%2 = mul i64 %1, 8 ; <i64> [#uses=1]
%3 = call noalias i8* @malloc(i64 %2) nounwind ; <i8*> [#uses=1]
@@ -28,24 +28,24 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %5 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%6 = sext i32 %5 to i64 ; <i64> [#uses=1]
%7 = mul i64 %6, 4 ; <i64> [#uses=1]
%8 = call noalias i8* @malloc(i64 %7) nounwind ; <i8*> [#uses=1]
%9 = bitcast i8* %8 to i32* ; <i32*> [#uses=1]
- %10 = load i32*** %array, align 8 ; <i32**> [#uses=1]
- %11 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %10 = load i32**, i32*** %array, align 8 ; <i32**> [#uses=1]
+ %11 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%12 = sext i32 %11 to i64 ; <i64> [#uses=1]
%13 = getelementptr inbounds i32** %10, i64 %12 ; <i32**> [#uses=1]
store i32* %9, i32** %13, align 1
- %14 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %14 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%15 = add nsw i32 %14, 1 ; <i32> [#uses=1]
store i32 %15, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %16 = load i32* %i, align 4 ; <i32> [#uses=1]
- %17 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %17 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%18 = icmp slt i32 %16, %17 ; <i1> [#uses=1]
br i1 %18, label %bb, label %bb2
@@ -58,38 +58,38 @@ bb3:
br label %bb5
bb4: ; preds = %bb5
- %19 = load i32*** %array, align 8 ; <i32**> [#uses=1]
- %20 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %19 = load i32**, i32*** %array, align 8 ; <i32**> [#uses=1]
+ %20 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%21 = sext i32 %20 to i64 ; <i64> [#uses=1]
%22 = getelementptr inbounds i32** %19, i64 %21 ; <i32**> [#uses=1]
- %23 = load i32** %22, align 1 ; <i32*> [#uses=1]
- %24 = load i32* %i, align 4 ; <i32> [#uses=1]
- %25 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %23 = load i32*, i32** %22, align 1 ; <i32*> [#uses=1]
+ %24 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%26 = add nsw i32 %24, %25 ; <i32> [#uses=1]
- %27 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %27 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%28 = sext i32 %27 to i64 ; <i64> [#uses=1]
%29 = getelementptr inbounds i32* %23, i64 %28 ; <i32*> [#uses=1]
store i32 %26, i32* %29, align 1
- %30 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %30 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%31 = add nsw i32 %30, 1 ; <i32> [#uses=1]
store i32 %31, i32* %j, align 4
br label %bb5
bb5: ; preds = %bb4, %bb3
- %32 = load i32* %j, align 4 ; <i32> [#uses=1]
- %33 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %32 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
+ %33 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%34 = icmp slt i32 %32, %33 ; <i1> [#uses=1]
br i1 %34, label %bb4, label %bb6
bb6: ; preds = %bb5
- %35 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %35 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%36 = add nsw i32 %35, 1 ; <i32> [#uses=1]
store i32 %36, i32* %i, align 4
br label %bb7
bb7: ; preds = %bb6, %bb2
- %37 = load i32* %i, align 4 ; <i32> [#uses=1]
- %38 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %37 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %38 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%39 = icmp slt i32 %37, %38 ; <i1> [#uses=1]
br i1 %39, label %bb3, label %bb8
Modified: poolalloc/trunk/test/dsa/local/arrayPointers1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers1.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers1.ll Sun Mar 1 16:10:46 2015
@@ -21,8 +21,8 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %0 = load i32* %i, align 4 ; <i32> [#uses=1]
- %1 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%2 = sext i32 %1 to i64 ; <i64> [#uses=1]
%3 = mul i64 %2, 4 ; <i64> [#uses=1]
%4 = call noalias i8* @malloc(i64 %3) nounwind ; <i8*> [#uses=1]
@@ -30,14 +30,14 @@ bb:
%6 = sext i32 %0 to i64 ; <i64> [#uses=1]
%7 = getelementptr inbounds [10 x i32*]* %array, i64 0, i64 %6 ; <i32**> [#uses=1]
store i32* %5, i32** %7, align 8
- %8 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%9 = add nsw i32 %8, 1 ; <i32> [#uses=1]
store i32 %9, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %10 = load i32* %i, align 4 ; <i32> [#uses=1]
- %11 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %11 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%12 = icmp slt i32 %10, %11 ; <i1> [#uses=1]
br i1 %12, label %bb, label %bb2
@@ -50,37 +50,37 @@ bb3:
br label %bb5
bb4: ; preds = %bb5
- %13 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %13 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%14 = sext i32 %13 to i64 ; <i64> [#uses=1]
%15 = getelementptr inbounds [10 x i32*]* %array, i64 0, i64 %14 ; <i32**> [#uses=1]
- %16 = load i32** %15, align 8 ; <i32*> [#uses=1]
- %17 = load i32* %i, align 4 ; <i32> [#uses=1]
- %18 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %16 = load i32*, i32** %15, align 8 ; <i32*> [#uses=1]
+ %17 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %18 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%19 = add nsw i32 %17, %18 ; <i32> [#uses=1]
- %20 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %20 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%21 = sext i32 %20 to i64 ; <i64> [#uses=1]
%22 = getelementptr inbounds i32* %16, i64 %21 ; <i32*> [#uses=1]
store i32 %19, i32* %22, align 1
- %23 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %23 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%24 = add nsw i32 %23, 1 ; <i32> [#uses=1]
store i32 %24, i32* %j, align 4
br label %bb5
bb5: ; preds = %bb4, %bb3
- %25 = load i32* %j, align 4 ; <i32> [#uses=1]
- %26 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
+ %26 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%27 = icmp slt i32 %25, %26 ; <i1> [#uses=1]
br i1 %27, label %bb4, label %bb6
bb6: ; preds = %bb5
- %28 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %28 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%29 = add nsw i32 %28, 1 ; <i32> [#uses=1]
store i32 %29, i32* %i, align 4
br label %bb7
bb7: ; preds = %bb6, %bb2
- %30 = load i32* %i, align 4 ; <i32> [#uses=1]
- %31 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %30 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %31 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%32 = icmp slt i32 %30, %31 ; <i1> [#uses=1]
br i1 %32, label %bb3, label %bb8
Modified: poolalloc/trunk/test/dsa/local/arrayPointers2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers2.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers2.ll Sun Mar 1 16:10:46 2015
@@ -24,8 +24,8 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %0 = load i32* %i, align 4 ; <i32> [#uses=1]
- %1 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%2 = sext i32 %1 to i64 ; <i64> [#uses=1]
%3 = mul i64 %2, 12 ; <i64> [#uses=1]
%4 = call noalias i8* @malloc(i64 %3) nounwind ; <i8*> [#uses=1]
@@ -33,14 +33,14 @@ bb:
%6 = sext i32 %0 to i64 ; <i64> [#uses=1]
%7 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %6 ; <%struct.structType**> [#uses=1]
store %struct.structType* %5, %struct.structType** %7, align 8
- %8 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%9 = add nsw i32 %8, 1 ; <i32> [#uses=1]
store i32 %9, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %10 = load i32* %i, align 4 ; <i32> [#uses=1]
- %11 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %11 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%12 = icmp slt i32 %10, %11 ; <i1> [#uses=1]
br i1 %12, label %bb, label %bb2
@@ -53,63 +53,63 @@ bb3:
br label %bb5
bb4: ; preds = %bb5
- %13 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %13 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%14 = sext i32 %13 to i64 ; <i64> [#uses=1]
%15 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %14 ; <%struct.structType**> [#uses=1]
- %16 = load %struct.structType** %15, align 8 ; <%struct.structType*> [#uses=1]
- %17 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %16 = load %struct.structType*, %struct.structType** %15, align 8 ; <%struct.structType*> [#uses=1]
+ %17 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%18 = sext i32 %17 to i64 ; <i64> [#uses=1]
%19 = getelementptr inbounds %struct.structType* %16, i64 %18 ; <%struct.structType*> [#uses=1]
%20 = getelementptr inbounds %struct.structType* %19, i32 0, i32 0 ; <i32*> [#uses=1]
- %21 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %21 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %21, i32* %20, align 4
- %22 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %22 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%23 = add nsw i32 %22, 1 ; <i32> [#uses=1]
store i32 %23, i32* %j, align 4
br label %bb5
bb5: ; preds = %bb4, %bb3
- %24 = load i32* %j, align 4 ; <i32> [#uses=1]
- %25 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %24 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%26 = icmp slt i32 %24, %25 ; <i1> [#uses=1]
br i1 %26, label %bb4, label %bb6
bb6: ; preds = %bb5
- %27 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %27 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%28 = sext i32 %27 to i64 ; <i64> [#uses=1]
%29 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %28 ; <%struct.structType**> [#uses=1]
- %30 = load %struct.structType** %29, align 8 ; <%struct.structType*> [#uses=1]
- %31 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %30 = load %struct.structType*, %struct.structType** %29, align 8 ; <%struct.structType*> [#uses=1]
+ %31 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%32 = sext i32 %31 to i64 ; <i64> [#uses=1]
%33 = getelementptr inbounds %struct.structType* %30, i64 %32 ; <%struct.structType*> [#uses=1]
%34 = getelementptr inbounds %struct.structType* %33, i32 0, i32 1 ; <i32*> [#uses=1]
- %35 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %35 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
store i32 %35, i32* %34, align 4
- %36 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %36 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%37 = sext i32 %36 to i64 ; <i64> [#uses=1]
%38 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %37 ; <%struct.structType**> [#uses=1]
- %39 = load %struct.structType** %38, align 8 ; <%struct.structType*> [#uses=1]
- %40 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %39 = load %struct.structType*, %struct.structType** %38, align 8 ; <%struct.structType*> [#uses=1]
+ %40 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%41 = sext i32 %40 to i64 ; <i64> [#uses=1]
%42 = getelementptr inbounds %struct.structType* %39, i64 %41 ; <%struct.structType*> [#uses=1]
- %43 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %43 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%44 = sitofp i32 %43 to double ; <double> [#uses=1]
%45 = fdiv double %44, 2.000000e+00 ; <double> [#uses=1]
- %46 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %46 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%47 = sitofp i32 %46 to double ; <double> [#uses=1]
%48 = fdiv double %47, 2.000000e+00 ; <double> [#uses=1]
%49 = fadd double %45, %48 ; <double> [#uses=1]
%50 = fptrunc double %49 to float ; <float> [#uses=1]
%51 = getelementptr inbounds %struct.structType* %42, i32 0, i32 2 ; <float*> [#uses=1]
store float %50, float* %51, align 4
- %52 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %52 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%53 = add nsw i32 %52, 1 ; <i32> [#uses=1]
store i32 %53, i32* %i, align 4
br label %bb7
bb7: ; preds = %bb6, %bb2
- %54 = load i32* %i, align 4 ; <i32> [#uses=1]
- %55 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %54 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %55 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%56 = icmp slt i32 %54, %55 ; <i1> [#uses=1]
br i1 %56, label %bb3, label %bb8
Modified: poolalloc/trunk/test/dsa/local/arrayPointers3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers3.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers3.ll Sun Mar 1 16:10:46 2015
@@ -36,63 +36,63 @@ bb:
br label %bb4
bb3: ; preds = %bb4
- %2 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%3 = sext i32 %2 to i64 ; <i64> [#uses=1]
%4 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %3 ; <%struct.structType**> [#uses=1]
- %5 = load %struct.structType** %4, align 8 ; <%struct.structType*> [#uses=1]
- %6 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %5 = load %struct.structType*, %struct.structType** %4, align 8 ; <%struct.structType*> [#uses=1]
+ %6 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%7 = sext i32 %6 to i64 ; <i64> [#uses=1]
%8 = getelementptr inbounds %struct.structType* %5, i64 %7 ; <%struct.structType*> [#uses=1]
%9 = getelementptr inbounds %struct.structType* %8, i32 0, i32 0 ; <i32*> [#uses=1]
- %10 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %10, i32* %9, align 4
- %11 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %11 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%12 = add nsw i32 %11, 1 ; <i32> [#uses=1]
store i32 %12, i32* %j, align 4
br label %bb4
bb4: ; preds = %bb3, %bb
- %13 = load i32* %j, align 4 ; <i32> [#uses=1]
- %14 = load i32* %ncolumns, align 4 ; <i32> [#uses=1]
+ %13 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
+ %14 = load i32, i32* %ncolumns, align 4 ; <i32> [#uses=1]
%15 = icmp slt i32 %13, %14 ; <i1> [#uses=1]
br i1 %15, label %bb3, label %bb5
bb5: ; preds = %bb4
- %16 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%17 = sext i32 %16 to i64 ; <i64> [#uses=1]
%18 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %17 ; <%struct.structType**> [#uses=1]
- %19 = load %struct.structType** %18, align 8 ; <%struct.structType*> [#uses=1]
- %20 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %19 = load %struct.structType*, %struct.structType** %18, align 8 ; <%struct.structType*> [#uses=1]
+ %20 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%21 = sext i32 %20 to i64 ; <i64> [#uses=1]
%22 = getelementptr inbounds %struct.structType* %19, i64 %21 ; <%struct.structType*> [#uses=1]
%23 = getelementptr inbounds %struct.structType* %22, i32 0, i32 1 ; <i32*> [#uses=1]
- %24 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %24 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
store i32 %24, i32* %23, align 4
- %25 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%26 = sext i32 %25 to i64 ; <i64> [#uses=1]
%27 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 %26 ; <%struct.structType**> [#uses=1]
- %28 = load %struct.structType** %27, align 8 ; <%struct.structType*> [#uses=1]
- %29 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %28 = load %struct.structType*, %struct.structType** %27, align 8 ; <%struct.structType*> [#uses=1]
+ %29 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%30 = sext i32 %29 to i64 ; <i64> [#uses=1]
%31 = getelementptr inbounds %struct.structType* %28, i64 %30 ; <%struct.structType*> [#uses=1]
- %32 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %32 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%33 = sitofp i32 %32 to double ; <double> [#uses=1]
%34 = fdiv double %33, 2.000000e+00 ; <double> [#uses=1]
- %35 = load i32* %j, align 4 ; <i32> [#uses=1]
+ %35 = load i32, i32* %j, align 4 ; <i32> [#uses=1]
%36 = sitofp i32 %35 to double ; <double> [#uses=1]
%37 = fdiv double %36, 2.000000e+00 ; <double> [#uses=1]
%38 = fadd double %34, %37 ; <double> [#uses=1]
%39 = fptrunc double %38 to float ; <float> [#uses=1]
%40 = getelementptr inbounds %struct.structType* %31, i32 0, i32 2 ; <float*> [#uses=1]
store float %39, float* %40, align 4
- %41 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %41 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%42 = add nsw i32 %41, 1 ; <i32> [#uses=1]
store i32 %42, i32* %i, align 4
br label %bb6
bb6: ; preds = %bb5, %entry
- %43 = load i32* %i, align 4 ; <i32> [#uses=1]
- %44 = load i32* %nrows, align 4 ; <i32> [#uses=1]
+ %43 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %44 = load i32, i32* %nrows, align 4 ; <i32> [#uses=1]
%45 = icmp slt i32 %43, %44 ; <i1> [#uses=1]
br i1 %45, label %bb, label %bb7
Modified: poolalloc/trunk/test/dsa/local/array_in_struct.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/array_in_struct.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/array_in_struct.ll (original)
+++ poolalloc/trunk/test/dsa/local/array_in_struct.ll Sun Mar 1 16:10:46 2015
@@ -21,21 +21,21 @@ entry:
%r2 = alloca float ; <float*> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%0 = call i32 (i8*, ...)* @scanf(i8* noalias getelementptr inbounds ([4 x i8]* @.str, i64 0, i64 0), i32* %z) nounwind ; <i32> [#uses=0]
- %1 = load i32* %z, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %z, align 4 ; <i32> [#uses=1]
%2 = getelementptr inbounds %struct.sType* %arr, i32 0, i32 1 ; <[10 x i32]*> [#uses=1]
%3 = sext i32 %1 to i64 ; <i64> [#uses=1]
%4 = getelementptr inbounds [10 x i32]* %2, i64 0, i64 %3 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
store i32 %5, i32* %t, align 4
%6 = getelementptr inbounds %struct.sType* %arr, i32 0, i32 2 ; <i32*> [#uses=1]
- %7 = load i32* %6, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %6, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %r, align 4
%8 = getelementptr inbounds %struct.sType* %arr, i32 0, i32 1 ; <[10 x i32]*> [#uses=1]
%9 = getelementptr inbounds [10 x i32]* %8, i64 0, i64 5 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 4 ; <i32> [#uses=1]
store i32 %10, i32* %r1, align 4
%11 = getelementptr inbounds %struct.sType* %arr, i32 0, i32 0 ; <i32*> [#uses=1]
- %12 = load i32* %11, align 4 ; <i32> [#uses=1]
+ %12 = load i32, i32* %11, align 4 ; <i32> [#uses=1]
%13 = sitofp i32 %12 to float ; <float> [#uses=1]
store float %13, float* %r2, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/local/array_of_struct.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/array_of_struct.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/array_of_struct.ll (original)
+++ poolalloc/trunk/test/dsa/local/array_of_struct.ll Sun Mar 1 16:10:46 2015
@@ -16,17 +16,17 @@ entry:
%t = alloca i32 ; <i32*> [#uses=1]
%t1 = alloca i32 ; <i32*> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
- %0 = load i32* %z, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %z, align 4 ; <i32> [#uses=1]
%1 = sext i32 %0 to i64 ; <i64> [#uses=1]
%2 = getelementptr inbounds [10 x %struct.sType]* %arr, i64 0, i64 %1 ; <%struct.sType*> [#uses=1]
%3 = getelementptr inbounds %struct.sType* %2, i32 0, i32 1 ; <i32*> [#uses=1]
- %4 = load i32* %3, align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* %3, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %t, align 4
- %5 = load i32* %z, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %z, align 4 ; <i32> [#uses=1]
%6 = sext i32 %5 to i64 ; <i64> [#uses=1]
%7 = getelementptr inbounds [10 x %struct.sType]* %arr, i64 0, i64 %6 ; <%struct.sType*> [#uses=1]
%8 = getelementptr inbounds %struct.sType* %7, i32 0, i32 0 ; <i32*> [#uses=1]
- %9 = load i32* %8, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %8, align 4 ; <i32> [#uses=1]
store i32 %9, i32* %t1, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/local/arrays.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays.ll Sun Mar 1 16:10:46 2015
@@ -21,24 +21,24 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %2 = load i32** %arr, align 8 ; <i32*> [#uses=1]
- %3 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %2 = load i32*, i32** %arr, align 8 ; <i32*> [#uses=1]
+ %3 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%4 = sext i32 %3 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds i32* %2, i64 %4 ; <i32*> [#uses=1]
- %6 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %6 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %6, i32* %5, align 1
- %7 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%8 = add nsw i32 %7, 1 ; <i32> [#uses=1]
store i32 %8, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = icmp sle i32 %9, 9 ; <i1> [#uses=1]
br i1 %10, label %bb, label %bb2
bb2: ; preds = %bb1
- %11 = load i32** %arr, align 8 ; <i32*> [#uses=1]
+ %11 = load i32*, i32** %arr, align 8 ; <i32*> [#uses=1]
%12 = getelementptr inbounds i32* %11, i64 5 ; <i32*> [#uses=1]
store i32* %12, i32** %b, align 8
store i32** %arr, i32*** %c, align 8
Modified: poolalloc/trunk/test/dsa/local/arrays1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays1.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays1.ll Sun Mar 1 16:10:46 2015
@@ -25,47 +25,47 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %2 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
- %3 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %2 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %3 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%4 = sext i32 %3 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds %struct.StructType* %2, i64 %4 ; <%struct.StructType*> [#uses=1]
%6 = getelementptr inbounds %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
- %7 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %6, align 8
- %8 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = sext i32 %9 to i64 ; <i64> [#uses=1]
%11 = getelementptr inbounds %struct.StructType* %8, i64 %10 ; <%struct.StructType*> [#uses=1]
- %12 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
- %13 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %12 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %13 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%14 = sext i32 %13 to i64 ; <i64> [#uses=1]
%15 = getelementptr inbounds %struct.StructType* %12, i64 %14 ; <%struct.StructType*> [#uses=1]
%16 = getelementptr inbounds %struct.StructType* %15, i32 0, i32 0 ; <i32*> [#uses=1]
%17 = getelementptr inbounds %struct.StructType* %11, i32 0, i32 1 ; <i32**> [#uses=1]
store i32* %16, i32** %17, align 8
- %18 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %18 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%19 = add nsw i32 %18, 1 ; <i32> [#uses=1]
store i32 %19, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %20 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %20 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%21 = icmp sle i32 %20, 9 ; <i1> [#uses=1]
br i1 %21, label %bb, label %bb2
bb2: ; preds = %bb1
- %22 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %22 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
%23 = getelementptr inbounds %struct.StructType* %22, i64 0 ; <%struct.StructType*> [#uses=2]
%24 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%25 = getelementptr inbounds %struct.StructType* %23, i32 0, i32 0 ; <i32*> [#uses=1]
- %26 = load i32* %25, align 1 ; <i32> [#uses=1]
+ %26 = load i32, i32* %25, align 1 ; <i32> [#uses=1]
store i32 %26, i32* %24, align 1
%27 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
%28 = getelementptr inbounds %struct.StructType* %23, i32 0, i32 1 ; <i32**> [#uses=1]
- %29 = load i32** %28, align 1 ; <i32*> [#uses=1]
+ %29 = load i32*, i32** %28, align 1 ; <i32*> [#uses=1]
store i32* %29, i32** %27, align 1
%30 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
- %31 = load i32** %30, align 8 ; <i32*> [#uses=1]
+ %31 = load i32*, i32** %30, align 8 ; <i32*> [#uses=1]
store i32* %31, i32** %c, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/arrays2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays2.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays2.ll Sun Mar 1 16:10:46 2015
@@ -22,36 +22,36 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %2 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
- %3 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %2 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %3 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%4 = sext i32 %3 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds %struct.StructType* %2, i64 %4 ; <%struct.StructType*> [#uses=1]
%6 = getelementptr inbounds %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
- %7 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %6, align 8
- %8 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%9 = add nsw i32 %8, 1 ; <i32> [#uses=1]
store i32 %9, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %10 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%11 = icmp sle i32 %10, 9 ; <i1> [#uses=1]
br i1 %11, label %bb, label %bb2
bb2: ; preds = %bb1
- %12 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %12 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
%13 = getelementptr inbounds %struct.StructType* %12, i64 0 ; <%struct.StructType*> [#uses=2]
%14 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%15 = getelementptr inbounds %struct.StructType* %13, i32 0, i32 0 ; <i32*> [#uses=1]
- %16 = load i32* %15, align 1 ; <i32> [#uses=1]
+ %16 = load i32, i32* %15, align 1 ; <i32> [#uses=1]
store i32 %16, i32* %14, align 1
%17 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
%18 = getelementptr inbounds %struct.StructType* %13, i32 0, i32 1 ; <i32**> [#uses=1]
- %19 = load i32** %18, align 1 ; <i32*> [#uses=1]
+ %19 = load i32*, i32** %18, align 1 ; <i32*> [#uses=1]
store i32* %19, i32** %17, align 1
%20 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
- %21 = load i32** %20, align 8 ; <i32*> [#uses=1]
+ %21 = load i32*, i32** %20, align 8 ; <i32*> [#uses=1]
store i32* %21, i32** %c, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/arrays3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays3.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays3.ll Sun Mar 1 16:10:46 2015
@@ -23,47 +23,47 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %2 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
- %3 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %2 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %3 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%4 = sext i32 %3 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds %struct.StructType* %2, i64 %4 ; <%struct.StructType*> [#uses=1]
%6 = getelementptr inbounds %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
- %7 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %6, align 8
- %8 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = sext i32 %9 to i64 ; <i64> [#uses=1]
%11 = getelementptr inbounds %struct.StructType* %8, i64 %10 ; <%struct.StructType*> [#uses=1]
%12 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%13 = bitcast i8* %12 to i32* ; <i32*> [#uses=1]
%14 = getelementptr inbounds %struct.StructType* %11, i32 0, i32 1 ; <i32**> [#uses=1]
store i32* %13, i32** %14, align 8
- %15 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %15 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%16 = add nsw i32 %15, 1 ; <i32> [#uses=1]
store i32 %16, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %17 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %17 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%18 = icmp sle i32 %17, 9 ; <i1> [#uses=1]
br i1 %18, label %bb, label %bb2
bb2: ; preds = %bb1
- %19 = load %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
+ %19 = load %struct.StructType*, %struct.StructType** %tmp, align 8 ; <%struct.StructType*> [#uses=1]
%20 = getelementptr inbounds %struct.StructType* %19, i64 1 ; <%struct.StructType*> [#uses=2]
%21 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%22 = getelementptr inbounds %struct.StructType* %20, i32 0, i32 0 ; <i32*> [#uses=1]
- %23 = load i32* %22, align 1 ; <i32> [#uses=1]
+ %23 = load i32, i32* %22, align 1 ; <i32> [#uses=1]
store i32 %23, i32* %21, align 1
%24 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
%25 = getelementptr inbounds %struct.StructType* %20, i32 0, i32 1 ; <i32**> [#uses=1]
- %26 = load i32** %25, align 1 ; <i32*> [#uses=1]
+ %26 = load i32*, i32** %25, align 1 ; <i32*> [#uses=1]
store i32* %26, i32** %24, align 1
%27 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
- %28 = load i32** %27, align 8 ; <i32*> [#uses=1]
+ %28 = load i32*, i32** %27, align 8 ; <i32*> [#uses=1]
store i32* %28, i32** %c, align 8
store %struct.StructType* %s2, %struct.StructType** %ptr, align 8
- %29 = load %struct.StructType** %ptr, align 8 ; <%struct.StructType*> [#uses=1]
+ %29 = load %struct.StructType*, %struct.StructType** %ptr, align 8 ; <%struct.StructType*> [#uses=1]
%30 = getelementptr inbounds %struct.StructType* %29, i64 1 ; <%struct.StructType*> [#uses=1]
store %struct.StructType* %30, %struct.StructType** %ptr1, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/arrays4.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays4.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays4.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays4.ll Sun Mar 1 16:10:46 2015
@@ -19,19 +19,19 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %0 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%1 = sext i32 %0 to i64 ; <i64> [#uses=1]
%2 = getelementptr inbounds [10 x %struct.StructType]* %tmp, i64 0, i64 %1 ; <%struct.StructType*> [#uses=1]
%3 = getelementptr inbounds %struct.StructType* %2, i32 0, i32 0 ; <i32*> [#uses=1]
- %4 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %3, align 8
- %5 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%6 = add nsw i32 %5, 1 ; <i32> [#uses=1]
store i32 %6, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %7 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%8 = icmp sle i32 %7, 9 ; <i1> [#uses=1]
br i1 %8, label %bb, label %bb2
@@ -39,14 +39,14 @@ bb2:
%9 = getelementptr inbounds [10 x %struct.StructType]* %tmp, i64 0, i64 0 ; <%struct.StructType*> [#uses=2]
%10 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%11 = getelementptr inbounds %struct.StructType* %9, i32 0, i32 0 ; <i32*> [#uses=1]
- %12 = load i32* %11, align 8 ; <i32> [#uses=1]
+ %12 = load i32, i32* %11, align 8 ; <i32> [#uses=1]
store i32 %12, i32* %10, align 8
%13 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
%14 = getelementptr inbounds %struct.StructType* %9, i32 0, i32 1 ; <i32**> [#uses=1]
- %15 = load i32** %14, align 8 ; <i32*> [#uses=1]
+ %15 = load i32*, i32** %14, align 8 ; <i32*> [#uses=1]
store i32* %15, i32** %13, align 8
%16 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
- %17 = load i32** %16, align 8 ; <i32*> [#uses=1]
+ %17 = load i32*, i32** %16, align 8 ; <i32*> [#uses=1]
store i32* %17, i32** %c, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/bitfields1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields1.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields1.ll Sun Mar 1 16:10:46 2015
@@ -22,68 +22,68 @@ entry:
%1 = call noalias i8* @malloc(i64 8) nounwind ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to %union.I_format_t* ; <%union.I_format_t*> [#uses=1]
store %union.I_format_t* %2, %union.I_format_t** %ia, align 8
- %3 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %3 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%4 = getelementptr inbounds %union.I_format_t* %3, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 -1346502640, i32* %4, align 4
- %5 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %5 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%6 = getelementptr inbounds %union.I_format_t* %5, i32 0, i32 0 ; <i32*> [#uses=1]
- %7 = load i32* %6, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %6, align 4 ; <i32> [#uses=1]
%8 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([18 x i8]* @.str, i64 0, i64 0), i32 %7) nounwind ; <i32> [#uses=0]
- %9 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %9 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%10 = getelementptr inbounds %union.I_format_t* %9, i32 0, i32 0 ; <i32*> [#uses=1]
%11 = bitcast i32* %10 to %struct.anon* ; <%struct.anon*> [#uses=1]
%12 = getelementptr inbounds %struct.anon* %11, i32 0, i32 2 ; <i8*> [#uses=1]
- %13 = load i8* %12, align 1 ; <i8> [#uses=1]
+ %13 = load i8, i8* %12, align 1 ; <i8> [#uses=1]
%14 = shl i8 %13, 2 ; <i8> [#uses=1]
%15 = lshr i8 %14, 2 ; <i8> [#uses=1]
%16 = trunc i8 %15 to i6 ; <i6> [#uses=1]
%17 = zext i6 %16 to i32 ; <i32> [#uses=1]
%18 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8]* @.str1, i64 0, i64 0), i32 %17) nounwind ; <i32> [#uses=0]
- %19 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %19 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%20 = getelementptr inbounds %union.I_format_t* %19, i32 0, i32 0 ; <i32*> [#uses=1]
%21 = bitcast i32* %20 to %struct.anon* ; <%struct.anon*> [#uses=1]
%22 = getelementptr inbounds %struct.anon* %21, i32 0, i32 0 ; <i16*> [#uses=1]
%23 = bitcast i16* %22 to i32* ; <i32*> [#uses=1]
- %24 = load i32* %23, align 1 ; <i32> [#uses=1]
+ %24 = load i32, i32* %23, align 1 ; <i32> [#uses=1]
%25 = shl i32 %24, 1 ; <i32> [#uses=1]
%26 = lshr i32 %25, 27 ; <i32> [#uses=1]
%27 = trunc i32 %26 to i5 ; <i5> [#uses=1]
%28 = zext i5 %27 to i32 ; <i32> [#uses=1]
- %29 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %29 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%30 = getelementptr inbounds %union.I_format_t* %29, i32 0, i32 0 ; <i32*> [#uses=1]
%31 = bitcast i32* %30 to %struct.anon* ; <%struct.anon*> [#uses=1]
%32 = getelementptr inbounds %struct.anon* %31, i32 0, i32 0 ; <i16*> [#uses=1]
%33 = bitcast i16* %32 to i32* ; <i32*> [#uses=1]
- %34 = load i32* %33, align 1 ; <i32> [#uses=1]
+ %34 = load i32, i32* %33, align 1 ; <i32> [#uses=1]
%35 = shl i32 %34, 11 ; <i32> [#uses=1]
%36 = lshr i32 %35, 27 ; <i32> [#uses=1]
%37 = trunc i32 %36 to i5 ; <i5> [#uses=1]
%38 = zext i5 %37 to i32 ; <i32> [#uses=1]
- %39 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %39 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%40 = getelementptr inbounds %union.I_format_t* %39, i32 0, i32 0 ; <i32*> [#uses=1]
%41 = bitcast i32* %40 to %struct.anon* ; <%struct.anon*> [#uses=1]
%42 = getelementptr inbounds %struct.anon* %41, i32 0, i32 0 ; <i16*> [#uses=1]
%43 = bitcast i16* %42 to i32* ; <i32*> [#uses=1]
- %44 = load i32* %43, align 1 ; <i32> [#uses=1]
+ %44 = load i32, i32* %43, align 1 ; <i32> [#uses=1]
%45 = shl i32 %44, 6 ; <i32> [#uses=1]
%46 = lshr i32 %45, 27 ; <i32> [#uses=1]
%47 = trunc i32 %46 to i5 ; <i5> [#uses=1]
%48 = zext i5 %47 to i32 ; <i32> [#uses=1]
%49 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([23 x i8]* @.str2, i64 0, i64 0), i32 %48, i32 %38, i32 %28) nounwind ; <i32> [#uses=0]
- %50 = load %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
+ %50 = load %union.I_format_t*, %union.I_format_t** %ia, align 8 ; <%union.I_format_t*> [#uses=1]
%51 = getelementptr inbounds %union.I_format_t* %50, i32 0, i32 0 ; <i32*> [#uses=1]
%52 = bitcast i32* %51 to %struct.anon* ; <%struct.anon*> [#uses=1]
%53 = getelementptr inbounds %struct.anon* %52, i32 0, i32 0 ; <i16*> [#uses=1]
- %54 = load i16* %53, align 1 ; <i16> [#uses=1]
+ %54 = load i16, i16* %53, align 1 ; <i16> [#uses=1]
%55 = sext i16 %54 to i32 ; <i32> [#uses=1]
%56 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8]* @.str3, i64 0, i64 0), i32 %55) nounwind ; <i32> [#uses=0]
store i32 0, i32* %0, align 4
- %57 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %57 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %57, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/local/bitfields2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields2.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields2.ll Sun Mar 1 16:10:46 2015
@@ -27,36 +27,36 @@ entry:
%n = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = getelementptr inbounds [4 x i32]* %codes, i32 0, i32 0 ; <i32*> [#uses=1]
- %2 = load i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 0), align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 0), align 4 ; <i32> [#uses=1]
store i32 %2, i32* %1, align 4
%3 = getelementptr inbounds [4 x i32]* %codes, i32 0, i32 1 ; <i32*> [#uses=1]
- %4 = load i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 1), align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 1), align 4 ; <i32> [#uses=1]
store i32 %4, i32* %3, align 4
%5 = getelementptr inbounds [4 x i32]* %codes, i32 0, i32 2 ; <i32*> [#uses=1]
- %6 = load i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 2), align 4 ; <i32> [#uses=1]
+ %6 = load i32, i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 2), align 4 ; <i32> [#uses=1]
store i32 %6, i32* %5, align 4
%7 = getelementptr inbounds [4 x i32]* %codes, i32 0, i32 3 ; <i32*> [#uses=1]
- %8 = load i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 3), align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* getelementptr inbounds ([4 x i32]* @C.0.1960, i64 0, i64 3), align 4 ; <i32> [#uses=1]
store i32 %8, i32* %7, align 4
store i32 4, i32* %n, align 4
store i32 0, i32* %i, align 4
br label %bb4
bb: ; preds = %bb4
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = sext i32 %9 to i64 ; <i64> [#uses=1]
%11 = getelementptr inbounds [4 x i32]* %codes, i64 0, i64 %10 ; <i32*> [#uses=1]
- %12 = load i32* %11, align 4 ; <i32> [#uses=1]
+ %12 = load i32, i32* %11, align 4 ; <i32> [#uses=1]
%13 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 %12, i32* %13, align 4
%14 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
- %15 = load i32* %14, align 4 ; <i32> [#uses=1]
+ %15 = load i32, i32* %14, align 4 ; <i32> [#uses=1]
%16 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([18 x i8]* @.str, i64 0, i64 0), i32 %15) nounwind ; <i32> [#uses=0]
%17 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
%18 = bitcast i32* %17 to %0* ; <%0*> [#uses=1]
%19 = getelementptr inbounds %0* %18, i32 0, i32 0 ; <i16*> [#uses=1]
%20 = bitcast i16* %19 to i32* ; <i32*> [#uses=1]
- %21 = load i32* %20, align 1 ; <i32> [#uses=1]
+ %21 = load i32, i32* %20, align 1 ; <i32> [#uses=1]
%22 = lshr i32 %21, 26 ; <i32> [#uses=1]
%23 = trunc i32 %22 to i6 ; <i6> [#uses=1]
%24 = zext i6 %23 to i32 ; <i32> [#uses=1]
@@ -65,7 +65,7 @@ bb:
%27 = bitcast i32* %26 to %0* ; <%0*> [#uses=1]
%28 = getelementptr inbounds %0* %27, i32 0, i32 0 ; <i16*> [#uses=1]
%29 = bitcast i16* %28 to i32* ; <i32*> [#uses=1]
- %30 = load i32* %29, align 1 ; <i32> [#uses=1]
+ %30 = load i32, i32* %29, align 1 ; <i32> [#uses=1]
%31 = shl i32 %30, 11 ; <i32> [#uses=1]
%32 = lshr i32 %31, 27 ; <i32> [#uses=1]
%33 = trunc i32 %32 to i5 ; <i5> [#uses=1]
@@ -74,7 +74,7 @@ bb:
%36 = bitcast i32* %35 to %0* ; <%0*> [#uses=1]
%37 = getelementptr inbounds %0* %36, i32 0, i32 0 ; <i16*> [#uses=1]
%38 = bitcast i16* %37 to i32* ; <i32*> [#uses=1]
- %39 = load i32* %38, align 1 ; <i32> [#uses=1]
+ %39 = load i32, i32* %38, align 1 ; <i32> [#uses=1]
%40 = shl i32 %39, 6 ; <i32> [#uses=1]
%41 = lshr i32 %40, 27 ; <i32> [#uses=1]
%42 = trunc i32 %41 to i5 ; <i5> [#uses=1]
@@ -84,7 +84,7 @@ bb:
%46 = bitcast i32* %45 to %0* ; <%0*> [#uses=1]
%47 = getelementptr inbounds %0* %46, i32 0, i32 0 ; <i16*> [#uses=1]
%48 = bitcast i16* %47 to i32* ; <i32*> [#uses=1]
- %49 = load i32* %48, align 1 ; <i32> [#uses=1]
+ %49 = load i32, i32* %48, align 1 ; <i32> [#uses=1]
%50 = lshr i32 %49, 26 ; <i32> [#uses=1]
%51 = trunc i32 %50 to i6 ; <i6> [#uses=1]
%52 = icmp eq i6 %51, 0 ; <i1> [#uses=1]
@@ -94,7 +94,7 @@ bb1:
%53 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
%54 = bitcast i32* %53 to %struct.anon* ; <%struct.anon*> [#uses=1]
%55 = getelementptr inbounds %struct.anon* %54, i32 0, i32 0 ; <i16*> [#uses=1]
- %56 = load i16* %55, align 1 ; <i16> [#uses=1]
+ %56 = load i16, i16* %55, align 1 ; <i16> [#uses=1]
%57 = shl i16 %56, 10 ; <i16> [#uses=1]
%58 = lshr i16 %57, 10 ; <i16> [#uses=1]
%59 = trunc i16 %58 to i6 ; <i6> [#uses=1]
@@ -102,7 +102,7 @@ bb1:
%61 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
%62 = bitcast i32* %61 to %struct.anon* ; <%struct.anon*> [#uses=1]
%63 = getelementptr inbounds %struct.anon* %62, i32 0, i32 0 ; <i16*> [#uses=1]
- %64 = load i16* %63, align 1 ; <i16> [#uses=1]
+ %64 = load i16, i16* %63, align 1 ; <i16> [#uses=1]
%65 = shl i16 %64, 5 ; <i16> [#uses=1]
%66 = lshr i16 %65, 11 ; <i16> [#uses=1]
%67 = trunc i16 %66 to i5 ; <i5> [#uses=1]
@@ -110,7 +110,7 @@ bb1:
%69 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
%70 = bitcast i32* %69 to %struct.anon* ; <%struct.anon*> [#uses=1]
%71 = getelementptr inbounds %struct.anon* %70, i32 0, i32 0 ; <i16*> [#uses=1]
- %72 = load i16* %71, align 1 ; <i16> [#uses=1]
+ %72 = load i16, i16* %71, align 1 ; <i16> [#uses=1]
%73 = lshr i16 %72, 11 ; <i16> [#uses=1]
%74 = trunc i16 %73 to i5 ; <i5> [#uses=1]
%75 = zext i5 %74 to i32 ; <i32> [#uses=1]
@@ -121,31 +121,31 @@ bb2:
%77 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
%78 = bitcast i32* %77 to %0* ; <%0*> [#uses=1]
%79 = getelementptr inbounds %0* %78, i32 0, i32 0 ; <i16*> [#uses=1]
- %80 = load i16* %79, align 1 ; <i16> [#uses=1]
+ %80 = load i16, i16* %79, align 1 ; <i16> [#uses=1]
%81 = sext i16 %80 to i32 ; <i32> [#uses=1]
%82 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8]* @.str4, i64 0, i64 0), i32 %81) nounwind ; <i32> [#uses=0]
br label %bb3
bb3: ; preds = %bb2, %bb1
- %83 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %83 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%84 = add nsw i32 %83, 1 ; <i32> [#uses=1]
store i32 %84, i32* %i, align 4
br label %bb4
bb4: ; preds = %bb3, %entry
- %85 = load i32* %i, align 4 ; <i32> [#uses=1]
- %86 = load i32* %n, align 4 ; <i32> [#uses=1]
+ %85 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %86 = load i32, i32* %n, align 4 ; <i32> [#uses=1]
%87 = icmp slt i32 %85, %86 ; <i1> [#uses=1]
br i1 %87, label %bb, label %bb5
bb5: ; preds = %bb4
store i32 0, i32* %0, align 4
- %88 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %88 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %88, i32* %retval, align 4
br label %return
return: ; preds = %bb5
- %retval6 = load i32* %retval ; <i32> [#uses=1]
+ %retval6 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval6
}
Modified: poolalloc/trunk/test/dsa/local/bitfields3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields3.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields3.ll Sun Mar 1 16:10:46 2015
@@ -23,15 +23,15 @@ entry:
%t = alloca %struct.taxonomy, align 4 ; <%struct.taxonomy*> [#uses=7]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = getelementptr inbounds %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=1]
- %2 = load i32* bitcast (%0* @C.0.1944 to i32*), align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* bitcast (%0* @C.0.1944 to i32*), align 4 ; <i32> [#uses=1]
store i32 %2, i32* %1, align 4
%3 = getelementptr inbounds %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=2]
- %4 = load i32* %3, align 1 ; <i32> [#uses=1]
+ %4 = load i32, i32* %3, align 1 ; <i32> [#uses=1]
%5 = and i32 %4, -4 ; <i32> [#uses=1]
%6 = or i32 %5, 1 ; <i32> [#uses=1]
store i32 %6, i32* %3, align 1
%7 = getelementptr inbounds %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=2]
- %8 = load i32* %7, align 1 ; <i32> [#uses=1]
+ %8 = load i32, i32* %7, align 1 ; <i32> [#uses=1]
%9 = and i32 %8, -61 ; <i32> [#uses=1]
%10 = or i32 %9, 28 ; <i32> [#uses=1]
store i32 %10, i32* %7, align 1
@@ -39,37 +39,37 @@ entry:
%12 = bitcast %struct.taxonomy* %t to %1* ; <%1*> [#uses=1]
%elt = getelementptr inbounds %1* %12, i32 0, i32 0 ; <i64*> [#uses=1]
%13 = bitcast i64* %elt to i32* ; <i32*> [#uses=1]
- %14 = load i32* %13 ; <i32> [#uses=1]
+ %14 = load i32, i32* %13 ; <i32> [#uses=1]
%15 = zext i32 %14 to i64 ; <i64> [#uses=1]
%16 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([16 x i8]* @.str1, i64 0, i64 0), i64 %15) nounwind ; <i32> [#uses=0]
%17 = getelementptr inbounds %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=1]
- %18 = load i32* %17, align 1 ; <i32> [#uses=1]
+ %18 = load i32, i32* %17, align 1 ; <i32> [#uses=1]
%19 = shl i32 %18, 30 ; <i32> [#uses=1]
%20 = lshr i32 %19, 30 ; <i32> [#uses=1]
%21 = trunc i32 %20 to i2 ; <i2> [#uses=1]
%22 = zext i2 %21 to i32 ; <i32> [#uses=1]
%23 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([13 x i8]* @.str2, i64 0, i64 0), i32 %22) nounwind ; <i32> [#uses=0]
%24 = getelementptr inbounds %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=1]
- %25 = load i32* %24, align 1 ; <i32> [#uses=1]
+ %25 = load i32, i32* %24, align 1 ; <i32> [#uses=1]
%26 = shl i32 %25, 26 ; <i32> [#uses=1]
%27 = lshr i32 %26, 28 ; <i32> [#uses=1]
%28 = trunc i32 %27 to i4 ; <i4> [#uses=1]
%29 = zext i4 %28 to i32 ; <i32> [#uses=1]
%30 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8]* @.str3, i64 0, i64 0), i32 %29) nounwind ; <i32> [#uses=0]
%31 = getelementptr inbounds %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=1]
- %32 = load i32* %31, align 1 ; <i32> [#uses=1]
+ %32 = load i32, i32* %31, align 1 ; <i32> [#uses=1]
%33 = shl i32 %32, 14 ; <i32> [#uses=1]
%34 = lshr i32 %33, 20 ; <i32> [#uses=1]
%35 = trunc i32 %34 to i12 ; <i12> [#uses=1]
%36 = zext i12 %35 to i32 ; <i32> [#uses=1]
%37 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8]* @.str4, i64 0, i64 0), i32 %36) nounwind ; <i32> [#uses=0]
store i32 0, i32* %0, align 4
- %38 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %38 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %38, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/local/flags.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/flags.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/flags.ll (original)
+++ poolalloc/trunk/test/dsa/local/flags.ll Sun Mar 1 16:10:46 2015
@@ -58,32 +58,32 @@ entry:
%6 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%7 = bitcast i8* %6 to i32* ; <i32*> [#uses=1]
store i32* %7, i32** %heap_d, align 8
- %8 = load i32* %stack_c, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %stack_c, align 4 ; <i32> [#uses=1]
store i32 %8, i32* %stack_b, align 4
- %9 = load i32** %heap_c, align 8 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 4 ; <i32> [#uses=1]
- %11 = load i32** %heap_b, align 8 ; <i32*> [#uses=1]
+ %9 = load i32*, i32** %heap_c, align 8 ; <i32*> [#uses=1]
+ %10 = load i32, i32* %9, align 4 ; <i32> [#uses=1]
+ %11 = load i32*, i32** %heap_b, align 8 ; <i32*> [#uses=1]
store i32 %10, i32* %11, align 4
- %12 = load i32* @global_c, align 4 ; <i32> [#uses=1]
+ %12 = load i32, i32* @global_c, align 4 ; <i32> [#uses=1]
store i32 %12, i32* @global_b, align 4
- %13 = load i32* @global_d, align 4 ; <i32> [#uses=1]
+ %13 = load i32, i32* @global_d, align 4 ; <i32> [#uses=1]
store i32 %13, i32* %stack_d, align 4
- %14 = load i32** %heap_d, align 8 ; <i32*> [#uses=1]
- %15 = load i32* %14, align 4 ; <i32> [#uses=1]
+ %14 = load i32*, i32** %heap_d, align 8 ; <i32*> [#uses=1]
+ %15 = load i32, i32* %14, align 4 ; <i32> [#uses=1]
store i32 %15, i32* @global_d, align 4
- %16 = load i32** %heap_d, align 8 ; <i32*> [#uses=1]
- %17 = load i32* %stack_d, align 4 ; <i32> [#uses=1]
+ %16 = load i32*, i32** %heap_d, align 8 ; <i32*> [#uses=1]
+ %17 = load i32, i32* %stack_d, align 4 ; <i32> [#uses=1]
store i32 %17, i32* %16, align 4
- %18 = load i32** %heap_a, align 8 ; <i32*> [#uses=1]
+ %18 = load i32*, i32** %heap_a, align 8 ; <i32*> [#uses=1]
%19 = bitcast i32* %18 to i8* ; <i8*> [#uses=1]
call void @free(i8* %19) nounwind
- %20 = load i32** %heap_b, align 8 ; <i32*> [#uses=1]
+ %20 = load i32*, i32** %heap_b, align 8 ; <i32*> [#uses=1]
%21 = bitcast i32* %20 to i8* ; <i8*> [#uses=1]
call void @free(i8* %21) nounwind
- %22 = load i32** %heap_c, align 8 ; <i32*> [#uses=1]
+ %22 = load i32*, i32** %heap_c, align 8 ; <i32*> [#uses=1]
%23 = bitcast i32* %22 to i8* ; <i8*> [#uses=1]
call void @free(i8* %23) nounwind
- %24 = load i32** %heap_d, align 8 ; <i32*> [#uses=1]
+ %24 = load i32*, i32** %heap_d, align 8 ; <i32*> [#uses=1]
%25 = bitcast i32* %24 to i8* ; <i8*> [#uses=1]
call void @free(i8* %25) nounwind
br label %return
Modified: poolalloc/trunk/test/dsa/local/malloc.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/malloc.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/malloc.ll (original)
+++ poolalloc/trunk/test/dsa/local/malloc.ll Sun Mar 1 16:10:46 2015
@@ -19,15 +19,15 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%c = call noalias i8* @malloc(i64 100) nounwind ; <i8*> [#uses=1]
store i8* %c, i8** %b, align 8
- %d = load i8** %b, align 8 ; <i8*> [#uses=1]
+ %d = load i8*, i8** %b, align 8 ; <i8*> [#uses=1]
call void @free(i8* %d) nounwind
store i32 0, i32* %a, align 4
- %e = load i32* %a, align 4 ; <i32> [#uses=1]
+ %e = load i32, i32* %a, align 4 ; <i32> [#uses=1]
store i32 %e, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/local/multidimarray.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/multidimarray.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/multidimarray.ll (original)
+++ poolalloc/trunk/test/dsa/local/multidimarray.ll Sun Mar 1 16:10:46 2015
@@ -20,20 +20,20 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %0 = load i32* %i, align 4 ; <i32> [#uses=1]
- %1 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%2 = sext i32 %0 to i64 ; <i64> [#uses=1]
%3 = getelementptr inbounds [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 %2 ; <[20 x %struct.StructType]*> [#uses=1]
%4 = sext i32 %1 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds [20 x %struct.StructType]* %3, i64 0, i64 %4 ; <%struct.StructType*> [#uses=1]
%6 = getelementptr inbounds %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
- %7 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %6, align 8
- %8 = load i32* %i, align 4 ; <i32> [#uses=1]
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
- %10 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%11 = sub nsw i32 %10, 1 ; <i32> [#uses=1]
- %12 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %12 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%13 = sub nsw i32 %12, 1 ; <i32> [#uses=1]
%14 = sext i32 %11 to i64 ; <i64> [#uses=1]
%15 = getelementptr inbounds [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 %14 ; <[20 x %struct.StructType]*> [#uses=1]
@@ -45,13 +45,13 @@ bb:
%21 = getelementptr inbounds [20 x %struct.StructType]* %19, i64 0, i64 %20 ; <%struct.StructType*> [#uses=1]
%22 = getelementptr inbounds %struct.StructType* %21, i32 0, i32 1 ; <%struct.StructType**> [#uses=1]
store %struct.StructType* %17, %struct.StructType** %22, align 8
- %23 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %23 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%24 = add nsw i32 %23, 1 ; <i32> [#uses=1]
store i32 %24, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %25 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%26 = icmp sle i32 %25, 9 ; <i1> [#uses=1]
br i1 %26, label %bb, label %bb2
@@ -60,14 +60,14 @@ bb2:
%28 = getelementptr inbounds [20 x %struct.StructType]* %27, i64 0, i64 1 ; <%struct.StructType*> [#uses=2]
%29 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%30 = getelementptr inbounds %struct.StructType* %28, i32 0, i32 0 ; <i32*> [#uses=1]
- %31 = load i32* %30, align 8 ; <i32> [#uses=1]
+ %31 = load i32, i32* %30, align 8 ; <i32> [#uses=1]
store i32 %31, i32* %29, align 8
%32 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <%struct.StructType**> [#uses=1]
%33 = getelementptr inbounds %struct.StructType* %28, i32 0, i32 1 ; <%struct.StructType**> [#uses=1]
- %34 = load %struct.StructType** %33, align 8 ; <%struct.StructType*> [#uses=1]
+ %34 = load %struct.StructType*, %struct.StructType** %33, align 8 ; <%struct.StructType*> [#uses=1]
store %struct.StructType* %34, %struct.StructType** %32, align 8
%35 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <%struct.StructType**> [#uses=1]
- %36 = load %struct.StructType** %35, align 8 ; <%struct.StructType*> [#uses=1]
+ %36 = load %struct.StructType*, %struct.StructType** %35, align 8 ; <%struct.StructType*> [#uses=1]
store %struct.StructType* %36, %struct.StructType** %c, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/ptr.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/ptr.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/ptr.ll (original)
+++ poolalloc/trunk/test/dsa/local/ptr.ll Sun Mar 1 16:10:46 2015
@@ -18,11 +18,11 @@ entry:
store i32 10, i32* %a, align 4
store i32* %a, i32** %b, align 8
store i32** %b, i32*** %c, align 8
- %0 = load i32*** %c, align 8 ; <i32**> [#uses=1]
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %0 = load i32**, i32*** %c, align 8 ; <i32**> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %d, align 8
- %2 = load i32** %d, align 8 ; <i32*> [#uses=1]
- %3 = load i32* %2, align 4 ; <i32> [#uses=1]
+ %2 = load i32*, i32** %d, align 8 ; <i32*> [#uses=1]
+ %3 = load i32, i32* %2, align 4 ; <i32> [#uses=1]
store i32 %3, i32* %e, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/local/ptr1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/ptr1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/ptr1.ll (original)
+++ poolalloc/trunk/test/dsa/local/ptr1.ll Sun Mar 1 16:10:46 2015
@@ -21,8 +21,8 @@ entry:
store i32 20, i32* %a1, align 4
store i32* %a, i32** %b, align 8
store i32* %a1, i32** %b1, align 8
- %0 = load i32* %a, align 4 ; <i32> [#uses=1]
- %1 = load i32* %a1, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %a, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %a1, align 4 ; <i32> [#uses=1]
%2 = icmp sgt i32 %0, %1 ; <i1> [#uses=1]
br i1 %2, label %bb, label %bb1
@@ -35,11 +35,11 @@ bb1:
br label %bb2
bb2: ; preds = %bb1, %bb
- %3 = load i32*** %c, align 8 ; <i32**> [#uses=1]
- %4 = load i32** %3, align 8 ; <i32*> [#uses=1]
+ %3 = load i32**, i32*** %c, align 8 ; <i32**> [#uses=1]
+ %4 = load i32*, i32** %3, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %d, align 8
- %5 = load i32** %d, align 8 ; <i32*> [#uses=1]
- %6 = load i32* %5, align 4 ; <i32> [#uses=1]
+ %5 = load i32*, i32** %d, align 8 ; <i32*> [#uses=1]
+ %6 = load i32, i32* %5, align 4 ; <i32> [#uses=1]
store i32 %6, i32* %e, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/local/ptr2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/ptr2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/ptr2.ll (original)
+++ poolalloc/trunk/test/dsa/local/ptr2.ll Sun Mar 1 16:10:46 2015
@@ -25,8 +25,8 @@ entry:
store i32 20, i32* %a1, align 4
store i32* %a, i32** %b, align 8
store i32* %a1, i32** %b1, align 8
- %0 = load i32* %a, align 4 ; <i32> [#uses=1]
- %1 = load i32* %a1, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %a, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %a1, align 4 ; <i32> [#uses=1]
%2 = icmp sgt i32 %0, %1 ; <i1> [#uses=1]
br i1 %2, label %bb, label %bb1
@@ -39,15 +39,15 @@ bb1:
br label %bb2
bb2: ; preds = %bb1, %bb
- %3 = load i32*** %c, align 8 ; <i32**> [#uses=1]
- %4 = load i32** %3, align 8 ; <i32*> [#uses=1]
+ %3 = load i32**, i32*** %c, align 8 ; <i32**> [#uses=1]
+ %4 = load i32*, i32** %3, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %d, align 8
- %5 = load i32** %d, align 8 ; <i32*> [#uses=1]
- %6 = load i32* %5, align 4 ; <i32> [#uses=1]
+ %5 = load i32*, i32** %d, align 8 ; <i32*> [#uses=1]
+ %6 = load i32, i32* %5, align 4 ; <i32> [#uses=1]
store i32 %6, i32* %e, align 4
- %7 = load i32** %d, align 8 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %d, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %f, align 8
- %8 = load i32*** %c, align 8 ; <i32**> [#uses=1]
+ %8 = load i32**, i32*** %c, align 8 ; <i32**> [#uses=1]
store i32** %8, i32*** %g, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/struct.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct.ll Sun Mar 1 16:10:46 2015
@@ -22,17 +22,17 @@ entry:
%2 = getelementptr inbounds %struct.StructType* %s1, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 10, i32* %2, align 8
%3 = getelementptr inbounds %struct.StructType* %s1, i32 0, i32 1 ; <i32**> [#uses=1]
- %4 = load i32** %tmp, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %tmp, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %3, align 8
%5 = getelementptr inbounds %struct.StructType* %s1, i32 0, i32 0 ; <i32*> [#uses=1]
store i32* %5, i32** %c, align 8
%6 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%7 = getelementptr inbounds %struct.StructType* %s1, i32 0, i32 0 ; <i32*> [#uses=1]
- %8 = load i32* %7, align 8 ; <i32> [#uses=1]
+ %8 = load i32, i32* %7, align 8 ; <i32> [#uses=1]
store i32 %8, i32* %6, align 8
%9 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
%10 = getelementptr inbounds %struct.StructType* %s1, i32 0, i32 1 ; <i32**> [#uses=1]
- %11 = load i32** %10, align 8 ; <i32*> [#uses=1]
+ %11 = load i32*, i32** %10, align 8 ; <i32*> [#uses=1]
store i32* %11, i32** %9, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/struct1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct1.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct1.ll Sun Mar 1 16:10:46 2015
@@ -20,24 +20,24 @@ entry:
%2 = call noalias i8* @malloc(i64 16) nounwind ; <i8*> [#uses=1]
%3 = bitcast i8* %2 to %struct.StructType* ; <%struct.StructType*> [#uses=1]
store %struct.StructType* %3, %struct.StructType** %s1, align 8
- %4 = load %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=1]
+ %4 = load %struct.StructType*, %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=1]
%5 = getelementptr inbounds %struct.StructType* %4, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 10, i32* %5, align 8
- %6 = load %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=1]
+ %6 = load %struct.StructType*, %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=1]
%7 = getelementptr inbounds %struct.StructType* %6, i32 0, i32 1 ; <i32**> [#uses=1]
- %8 = load i32** %tmp, align 8 ; <i32*> [#uses=1]
+ %8 = load i32*, i32** %tmp, align 8 ; <i32*> [#uses=1]
store i32* %8, i32** %7, align 8
- %9 = load %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=1]
+ %9 = load %struct.StructType*, %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=1]
%10 = getelementptr inbounds %struct.StructType* %9, i32 0, i32 0 ; <i32*> [#uses=1]
store i32* %10, i32** %c, align 8
- %11 = load %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=2]
+ %11 = load %struct.StructType*, %struct.StructType** %s1, align 8 ; <%struct.StructType*> [#uses=2]
%12 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
%13 = getelementptr inbounds %struct.StructType* %11, i32 0, i32 0 ; <i32*> [#uses=1]
- %14 = load i32* %13, align 8 ; <i32> [#uses=1]
+ %14 = load i32, i32* %13, align 8 ; <i32> [#uses=1]
store i32 %14, i32* %12, align 8
%15 = getelementptr inbounds %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
%16 = getelementptr inbounds %struct.StructType* %11, i32 0, i32 1 ; <i32**> [#uses=1]
- %17 = load i32** %16, align 8 ; <i32*> [#uses=1]
+ %17 = load i32*, i32** %16, align 8 ; <i32*> [#uses=1]
store i32* %17, i32** %15, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/struct2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct2.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct2.ll Sun Mar 1 16:10:46 2015
@@ -25,14 +25,14 @@ entry:
%2 = getelementptr inbounds %struct.R* %r, i32 0, i32 1 ; <i32**> [#uses=1]
store i32* %y, i32** %2, align 8
%r1 = bitcast %struct.R* %r to i64* ; <i64*> [#uses=1]
- %3 = load i64* %r1, align 8 ; <i64> [#uses=1]
+ %3 = load i64, i64* %r1, align 8 ; <i64> [#uses=1]
store i64 %3, i64* %d, align 8
store i32 0, i32* %0, align 4
- %4 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval3 = load i32* %retval ; <i32> [#uses=1]
+ %retval3 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval3
}
Modified: poolalloc/trunk/test/dsa/local/struct3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct3.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct3.ll Sun Mar 1 16:10:46 2015
@@ -35,21 +35,21 @@ entry:
%r1 = bitcast %struct.R* %r to %struct.T* ; <%struct.T*> [#uses=1]
store %struct.T* %r1, %struct.T** %p, align 8
%s2 = bitcast %struct.S* %s to %struct.T* ; <%struct.T*> [#uses=2]
- %4 = load %struct.T** %p, align 8 ; <%struct.T*> [#uses=2]
+ %4 = load %struct.T*, %struct.T** %p, align 8 ; <%struct.T*> [#uses=2]
%5 = getelementptr inbounds %struct.T* %4, i32 0, i32 0 ; <i32**> [#uses=1]
%6 = getelementptr inbounds %struct.T* %s2, i32 0, i32 0 ; <i32**> [#uses=1]
- %7 = load i32** %6, align 8 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %6, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %5, align 8
%8 = getelementptr inbounds %struct.T* %4, i32 0, i32 1 ; <i32**> [#uses=1]
%9 = getelementptr inbounds %struct.T* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
- %10 = load i32** %9, align 8 ; <i32*> [#uses=1]
+ %10 = load i32*, i32** %9, align 8 ; <i32*> [#uses=1]
store i32* %10, i32** %8, align 8
store i32 0, i32* %0, align 4
- %11 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %11 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %11, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval4 = load i32* %retval ; <i32> [#uses=1]
+ %retval4 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval4
}
Modified: poolalloc/trunk/test/dsa/local/struct4.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct4.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct4.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct4.ll Sun Mar 1 16:10:46 2015
@@ -28,16 +28,16 @@ entry:
store i8* %c, i8** %3, align 8
%r1 = bitcast %struct.R* %r to i32** ; <i32**> [#uses=1]
store i32** %r1, i32*** %p, align 8
- %4 = load i32*** %p, align 8 ; <i32**> [#uses=1]
- %5 = load i32** %4, align 8 ; <i32*> [#uses=1]
- %6 = load i32* %5, align 4 ; <i32> [#uses=1]
+ %4 = load i32**, i32*** %p, align 8 ; <i32**> [#uses=1]
+ %5 = load i32*, i32** %4, align 8 ; <i32*> [#uses=1]
+ %6 = load i32, i32* %5, align 4 ; <i32> [#uses=1]
store i32 %6, i32* %d, align 4
store i32 0, i32* %0, align 4
- %7 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval2 = load i32* %retval ; <i32> [#uses=1]
+ %retval2 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval2
}
Modified: poolalloc/trunk/test/dsa/local/structFirstField.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/structFirstField.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/structFirstField.ll (original)
+++ poolalloc/trunk/test/dsa/local/structFirstField.ll Sun Mar 1 16:10:46 2015
@@ -28,15 +28,15 @@ entry:
%q1 = bitcast i32** %q to %struct.S* ; <%struct.S*> [#uses=1]
%1 = getelementptr inbounds %struct.S* %0, i32 0, i32 0 ; <i32**> [#uses=1]
%2 = getelementptr inbounds %struct.S* %q1, i32 0, i32 0 ; <i32**> [#uses=1]
- %3 = load i32** %2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %2, align 8 ; <i32*> [#uses=1]
store i32* %3, i32** %1, align 8
- %4 = load %struct.S** %p, align 8 ; <%struct.S*> [#uses=1]
+ %4 = load %struct.S*, %struct.S** %p, align 8 ; <%struct.S*> [#uses=1]
%5 = getelementptr inbounds %struct.S* %4, i32 0, i32 0 ; <i32**> [#uses=1]
%6 = getelementptr inbounds %struct.S* %0, i32 0, i32 0 ; <i32**> [#uses=1]
- %7 = load i32** %6, align 8 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %6, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %5, align 8
%8 = getelementptr inbounds %struct.S* %s, i32 0, i32 0 ; <i32**> [#uses=1]
- %9 = load i32** %8, align 8 ; <i32*> [#uses=1]
+ %9 = load i32*, i32** %8, align 8 ; <i32*> [#uses=1]
store i32* %9, i32** %r, align 8
br label %return
Modified: poolalloc/trunk/test/dsa/local/union_P21.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/union_P21.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/union_P21.ll (original)
+++ poolalloc/trunk/test/dsa/local/union_P21.ll Sun Mar 1 16:10:46 2015
@@ -28,7 +28,7 @@ entry:
%3 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <i32**> [#uses=1]
%4 = bitcast i32** %3 to %struct.StructType* ; <%struct.StructType*> [#uses=1]
%5 = getelementptr inbounds %struct.StructType* %4, i32 0, i32 1 ; <i32*> [#uses=1]
- %6 = load i32* %5, align 4 ; <i32> [#uses=1]
+ %6 = load i32, i32* %5, align 4 ; <i32> [#uses=1]
store i32 %6, i32* %d, align 4
%7 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%8 = bitcast i8* %7 to i32* ; <i32*> [#uses=1]
@@ -37,12 +37,12 @@ entry:
%10 = getelementptr inbounds %union.UnionType* %obj1, i32 0, i32 0 ; <i32**> [#uses=1]
%11 = bitcast i32** %10 to %struct.StructType* ; <%struct.StructType*> [#uses=1]
%12 = getelementptr inbounds %struct.StructType* %11, i32 0, i32 0 ; <i32*> [#uses=1]
- %13 = load i32* %12, align 8 ; <i32> [#uses=1]
+ %13 = load i32, i32* %12, align 8 ; <i32> [#uses=1]
store i32 %13, i32* %e, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/local/union_P2I.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/union_P2I.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/union_P2I.ll (original)
+++ poolalloc/trunk/test/dsa/local/union_P2I.ll Sun Mar 1 16:10:46 2015
@@ -25,11 +25,11 @@ entry:
%2 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <[100 x %struct.StructType]*> [#uses=1]
%3 = getelementptr inbounds [100 x %struct.StructType]* %2, i64 0, i64 0 ; <%struct.StructType*> [#uses=1]
%4 = getelementptr inbounds %struct.StructType* %3, i32 0, i32 0 ; <%struct.StructType**> [#uses=1]
- %5 = load %struct.StructType** %4, align 8 ; <%struct.StructType*> [#uses=1]
+ %5 = load %struct.StructType*, %struct.StructType** %4, align 8 ; <%struct.StructType*> [#uses=1]
store %struct.StructType* %5, %struct.StructType** %ptr, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/local/union_P2I_1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/union_P2I_1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/union_P2I_1.ll (original)
+++ poolalloc/trunk/test/dsa/local/union_P2I_1.ll Sun Mar 1 16:10:46 2015
@@ -21,11 +21,11 @@ entry:
store i32 123456, i32* %2, align 4
%3 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <[100 x i32*]*> [#uses=1]
%4 = getelementptr inbounds [100 x i32*]* %3, i64 0, i64 3 ; <i32**> [#uses=1]
- %5 = load i32** %4, align 8 ; <i32*> [#uses=1]
+ %5 = load i32*, i32** %4, align 8 ; <i32*> [#uses=1]
store i32* %5, i32** %c, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll Sun Mar 1 16:10:46 2015
@@ -19,11 +19,11 @@ define fastcc void @InitEval() nounwind
InstIntFunc.exit17: ; preds = %bb.i16, %InstIntFunc.exit20
%tmp79 = tail call fastcc %struct.TypHeader* @NewBag(i32 16, i64 8) nounwind ; <%struct.TypHeader*> [#uses=2]
%tmp80 = getelementptr inbounds %struct.TypHeader* %tmp79, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
- %tmp81 = load %struct.TypHeader*** %tmp80, align 8 ; <%struct.TypHeader**> [#uses=1]
+ %tmp81 = load %struct.TypHeader**, %struct.TypHeader*** %tmp80, align 8 ; <%struct.TypHeader**> [#uses=1]
store %struct.TypHeader* bitcast (%struct.TypHeader* (%struct.TypHeader*)* @FunIsBound to %struct.TypHeader*), %struct.TypHeader** %tmp81
%tmp82 = tail call fastcc %struct.TypHeader* @FindIdent(i8* getelementptr inbounds ([8 x i8]* @.str8302, i64 0, i64 0)) nounwind ; <%struct.TypHeader*> [#uses=1]
%tmp83 = getelementptr inbounds %struct.TypHeader* %tmp82, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
- %tmp84 = load %struct.TypHeader*** %tmp83, align 8 ; <%struct.TypHeader**> [#uses=1]
+ %tmp84 = load %struct.TypHeader**, %struct.TypHeader*** %tmp83, align 8 ; <%struct.TypHeader**> [#uses=1]
br i1 undef, label %InstIntFunc.exit14, label %bb.i13
bb.i13: ; preds = %InstIntFunc.exit17
@@ -111,11 +111,11 @@ bb.i5.i409:
InstIntFunc.exit6.i410: ; preds = %bb.i5.i409, %InstIntFunc.exit9.i407
%tmp215 = tail call fastcc %struct.TypHeader* @NewBag(i32 16, i64 8) nounwind ; <%struct.TypHeader*> [#uses=2]
%tmp216 = getelementptr inbounds %struct.TypHeader* %tmp215, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
- %tmp217 = load %struct.TypHeader*** %tmp216, align 8 ; <%struct.TypHeader**> [#uses=1]
+ %tmp217 = load %struct.TypHeader**, %struct.TypHeader*** %tmp216, align 8 ; <%struct.TypHeader**> [#uses=1]
store %struct.TypHeader* bitcast (%struct.TypHeader* (%struct.TypHeader*)* @FunCoeffsCyc to %struct.TypHeader*), %struct.TypHeader** %tmp217
%tmp218 = tail call fastcc %struct.TypHeader* @FindIdent(i8* getelementptr inbounds ([10 x i8]* @.str4251, i64 0, i64 0)) nounwind ; <%struct.TypHeader*> [#uses=1]
%tmp219 = getelementptr inbounds %struct.TypHeader* %tmp218, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
- %tmp220 = load %struct.TypHeader*** %tmp219, align 8 ; <%struct.TypHeader**> [#uses=1]
+ %tmp220 = load %struct.TypHeader**, %struct.TypHeader*** %tmp219, align 8 ; <%struct.TypHeader**> [#uses=1]
br i1 undef, label %InstIntFunc.exit3.i413, label %bb.i2.i412
bb.i2.i412: ; preds = %InstIntFunc.exit6.i410
@@ -236,7 +236,7 @@ bb5:
bb8: ; preds = %entry
%tmp24 = tail call fastcc %struct.TypHeader* @NewBag(i32 78, i64 0) nounwind ; <%struct.TypHeader*> [#uses=1]
%tmp26 = getelementptr inbounds %struct.TypHeader* %tmp24, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
- %tmp27 = load %struct.TypHeader*** %tmp26, align 8 ; <%struct.TypHeader**> [#uses=1]
+ %tmp27 = load %struct.TypHeader**, %struct.TypHeader*** %tmp26, align 8 ; <%struct.TypHeader**> [#uses=1]
%tmp29 = bitcast %struct.TypHeader** %tmp27 to i8* ; <i8*> [#uses=1]
%tmp30 = tail call i8* @strncat(i8* %tmp29, i8* %name, i64 undef) nounwind ; <i8*> [#uses=0]
unreachable
@@ -250,9 +250,9 @@ bb8:
br label %bb10
bb10: ; preds = %bb8, %entry
- %tmp28 = load %struct.TypHeader** @HdIdenttab, align 8 ; <%struct.TypHeader*> [#uses=1]
+ %tmp28 = load %struct.TypHeader*, %struct.TypHeader** @HdIdenttab, align 8 ; <%struct.TypHeader*> [#uses=1]
%tmp32 = getelementptr inbounds %struct.TypHeader* %tmp28, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
- %tmp33 = load %struct.TypHeader*** %tmp32, align 8 ; <%struct.TypHeader**> [#uses=1]
+ %tmp33 = load %struct.TypHeader**, %struct.TypHeader*** %tmp32, align 8 ; <%struct.TypHeader**> [#uses=1]
br label %bb12
bb11: ; preds = %bb13
@@ -260,7 +260,7 @@ bb11:
bb12: ; preds = %bb11, %bb10
%tmp36 = getelementptr inbounds %struct.TypHeader** %tmp33, i64 undef ; <%struct.TypHeader**> [#uses=1]
- %tmp37 = load %struct.TypHeader** %tmp36, align 8 ; <%struct.TypHeader*> [#uses=2]
+ %tmp37 = load %struct.TypHeader*, %struct.TypHeader** %tmp36, align 8 ; <%struct.TypHeader*> [#uses=2]
br i1 undef, label %bb19, label %bb13
bb13: ; preds = %bb12
Modified: poolalloc/trunk/test/dsa/regression/2010-07-16.MissingIndirectCallee.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2010-07-16.MissingIndirectCallee.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-07-16.MissingIndirectCallee.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-07-16.MissingIndirectCallee.ll Sun Mar 1 16:10:46 2015
@@ -49,15 +49,15 @@ declare void @XS_MD5_digest(%struct.CV*
define %struct.OP* @Perl_pp_require_DIRECT() nounwind ssp {
entry:
- %tmp = load %struct.SV*** @PL_stack_sp, align 8 ; <%struct.SV**> [#uses=1]
- %tmp1 = load %struct.SV** %tmp, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp = load %struct.SV**, %struct.SV*** @PL_stack_sp, align 8 ; <%struct.SV**> [#uses=1]
+ %tmp1 = load %struct.SV*, %struct.SV** %tmp, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb12, label %bb11
bb11: ; preds = %entry
%tmp38 = getelementptr inbounds %struct.SV* %tmp1, i64 0, i32 0 ; <i8**> [#uses=1]
- %tmp43 = load i8** %tmp38, align 8 ; <i8*> [#uses=1]
+ %tmp43 = load i8*, i8** %tmp38, align 8 ; <i8*> [#uses=1]
%tmp44 = bitcast i8* %tmp43 to i8** ; <i8**> [#uses=1]
- %tmp45 = load i8** %tmp44, align 8 ; <i8*> [#uses=1]
+ %tmp45 = load i8*, i8** %tmp44, align 8 ; <i8*> [#uses=1]
br i1 undef, label %bb16, label %bb14
bb12: ; preds = %entry
@@ -85,12 +85,12 @@ bb34:
unreachable
bb35: ; preds = %bb32
- %tmp107 = load %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=2]
+ %tmp107 = load %struct.SV*, %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=2]
br i1 undef, label %bb1.i, label %bb.i4
bb.i4: ; preds = %bb35
%tmp109 = getelementptr inbounds %struct.SV* %tmp107, i64 0, i32 0 ; <i8**> [#uses=1]
- %tmp110 = load i8** %tmp109, align 8 ; <i8*> [#uses=1]
+ %tmp110 = load i8*, i8** %tmp109, align 8 ; <i8*> [#uses=1]
%tmp111 = bitcast i8* %tmp110 to %struct.SV* ; <%struct.SV*> [#uses=1]
store %struct.SV* %tmp111, %struct.SV** @PL_sv_root, align 8
%tmp115 = getelementptr inbounds %struct.SV* %tmp107, i64 0, i32 0 ; <i8**> [#uses=1]
@@ -100,9 +100,9 @@ bb1.i:
unreachable
bb36: ; preds = %bb48
- %tmp148 = load i8** %tmp115, align 8 ; <i8*> [#uses=1]
+ %tmp148 = load i8*, i8** %tmp115, align 8 ; <i8*> [#uses=1]
%tmp149 = bitcast i8* %tmp148 to i8** ; <i8**> [#uses=1]
- %tmp150 = load i8** %tmp149, align 8 ; <i8*> [#uses=1]
+ %tmp150 = load i8*, i8** %tmp149, align 8 ; <i8*> [#uses=1]
br label %bb46
bb46: ; preds = %bb36, %bb.i4
@@ -122,21 +122,21 @@ bb50:
define %struct.OP* @Perl_pp_goto_DIRECT() nounwind ssp {
entry:
- %tmp1 = load %struct.SV*** @PL_stack_sp, align 8 ; <%struct.SV**> [#uses=1]
- %tmp11 = load %struct.SV** %tmp1, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp1 = load %struct.SV**, %struct.SV*** @PL_stack_sp, align 8 ; <%struct.SV**> [#uses=1]
+ %tmp11 = load %struct.SV*, %struct.SV** %tmp1, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb117, label %bb1
bb1: ; preds = %entry
%tmp17 = getelementptr inbounds %struct.SV* %tmp11, i64 0, i32 0 ; <i8**> [#uses=1]
- %tmp18 = load i8** %tmp17, align 8 ; <i8*> [#uses=1]
+ %tmp18 = load i8*, i8** %tmp17, align 8 ; <i8*> [#uses=1]
%tmp19 = bitcast i8* %tmp18 to %struct.SV** ; <%struct.SV**> [#uses=1]
- %tmp20 = load %struct.SV** %tmp19, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp20 = load %struct.SV*, %struct.SV** %tmp19, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb2, label %bb117
bb2: ; preds = %bb1
%tmp25 = bitcast %struct.SV* %tmp20 to %struct.CV* ; <%struct.CV*> [#uses=3]
%tmp26 = getelementptr inbounds %struct.CV* %tmp25, i64 0, i32 0 ; <%struct.XPVCV**> [#uses=1]
- %tmp90 = load %struct.PERL_CONTEXT** undef, align 8 ; <%struct.PERL_CONTEXT*> [#uses=2]
+ %tmp90 = load %struct.PERL_CONTEXT*, %struct.PERL_CONTEXT** undef, align 8 ; <%struct.PERL_CONTEXT*> [#uses=2]
br i1 undef, label %bb.i.i, label %dopoptosub.exit
bb.i.i: ; preds = %bb2
@@ -209,9 +209,9 @@ bb48:
unreachable
bb49: ; preds = %bb47
- %tmp336 = load %struct.XPVCV** %tmp26, align 8 ; <%struct.XPVCV*> [#uses=1]
+ %tmp336 = load %struct.XPVCV*, %struct.XPVCV** %tmp26, align 8 ; <%struct.XPVCV*> [#uses=1]
%tmp337 = getelementptr inbounds %struct.XPVCV* %tmp336, i64 0, i32 10 ; <void (%struct.CV*)**> [#uses=1]
- %tmp338 = load void (%struct.CV*)** %tmp337, align 8 ; <void (%struct.CV*)*> [#uses=1]
+ %tmp338 = load void (%struct.CV*)*, void (%struct.CV*)** %tmp337, align 8 ; <void (%struct.CV*)*> [#uses=1]
call void %tmp338(%struct.CV* %tmp25) nounwind
unreachable
@@ -233,11 +233,11 @@ bb57:
bb61: ; preds = %bb57
%tmp446 = getelementptr inbounds %struct.SV** %tmp380, i64 undef ; <%struct.SV**> [#uses=1]
- %tmp447 = load %struct.SV** %tmp446, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp447 = load %struct.SV*, %struct.SV** %tmp446, align 8 ; <%struct.SV*> [#uses=1]
%tmp448 = getelementptr inbounds %struct.SV* %tmp447, i64 0, i32 0 ; <i8**> [#uses=1]
- %tmp449 = load i8** %tmp448, align 8 ; <i8*> [#uses=1]
+ %tmp449 = load i8*, i8** %tmp448, align 8 ; <i8*> [#uses=1]
%tmp450 = bitcast i8* %tmp449 to i8** ; <i8**> [#uses=1]
- %tmp451 = load i8** %tmp450, align 8 ; <i8*> [#uses=1]
+ %tmp451 = load i8*, i8** %tmp450, align 8 ; <i8*> [#uses=1]
br i1 undef, label %bb.nph28, label %bb79
bb.nph28: ; preds = %bb61
@@ -251,22 +251,22 @@ bb83:
br i1 undef, label %bb.i25, label %entry.bb1_crit_edge.i23
entry.bb1_crit_edge.i23: ; preds = %bb83
- %.pre1.i22 = load %union.ANY** @PL_savestack, align 8 ; <%union.ANY*> [#uses=2]
- %tmp620 = load %struct.SV*** @PL_curpad, align 8 ; <%struct.SV**> [#uses=1]
+ %.pre1.i22 = load %union.ANY*, %union.ANY** @PL_savestack, align 8 ; <%union.ANY*> [#uses=2]
+ %tmp620 = load %struct.SV**, %struct.SV*** @PL_curpad, align 8 ; <%struct.SV**> [#uses=1]
%tmp621 = getelementptr inbounds %union.ANY* %.pre1.i22, i64 undef, i32 0 ; <i8**> [#uses=1]
%tmp622 = bitcast %struct.SV** %tmp620 to i8* ; <i8*> [#uses=1]
store i8* %tmp622, i8** %tmp621, align 8
%tmp625 = getelementptr inbounds %union.ANY* %.pre1.i22, i64 undef, i32 0 ; <i8**> [#uses=1]
store i8* bitcast (%struct.SV*** @PL_curpad to i8*), i8** %tmp625, align 8
%tmp634 = getelementptr inbounds %struct.SV** %tmp380, i64 undef ; <%struct.SV**> [#uses=1]
- %tmp635 = load %struct.SV** %tmp634, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp635 = load %struct.SV*, %struct.SV** %tmp634, align 8 ; <%struct.SV*> [#uses=1]
%tmp636 = bitcast %struct.SV* %tmp635 to %struct.XPVAV** ; <%struct.XPVAV**> [#uses=1]
- %tmp637 = load %struct.XPVAV** %tmp636, align 8 ; <%struct.XPVAV*> [#uses=1]
+ %tmp637 = load %struct.XPVAV*, %struct.XPVAV** %tmp636, align 8 ; <%struct.XPVAV*> [#uses=1]
%tmp638 = getelementptr inbounds %struct.XPVAV* %tmp637, i64 0, i32 0 ; <i8**> [#uses=1]
- %tmp639 = load i8** %tmp638, align 8 ; <i8*> [#uses=1]
+ %tmp639 = load i8*, i8** %tmp638, align 8 ; <i8*> [#uses=1]
%tmp640 = bitcast i8* %tmp639 to %struct.SV** ; <%struct.SV**> [#uses=2]
store %struct.SV** %tmp640, %struct.SV*** @PL_curpad, align 8
- %tmp646 = load %struct.SV** %tmp640, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp646 = load %struct.SV*, %struct.SV** %tmp640, align 8 ; <%struct.SV*> [#uses=1]
%tmp664 = getelementptr inbounds %struct.PERL_CONTEXT* %tmp90, i64 undef, i32 1, i32 0, i32 7, i32 0, i32 4 ; <%struct.OP**> [#uses=1]
%.c4 = bitcast %struct.SV* %tmp646 to %struct.OP* ; <%struct.OP*> [#uses=1]
store %struct.OP* %.c4, %struct.OP** %tmp664
@@ -319,7 +319,7 @@ bb34:
define fastcc void @Perl_newXS_SPEC4() nounwind ssp {
entry:
- %tmp53 = load %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp53 = load %struct.SV*, %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb1.i, label %bb.i
bb.i: ; preds = %entry
@@ -334,7 +334,7 @@ bb25:
br label %bb26
bb26: ; preds = %bb25, %bb.i
- %tmp86 = load %struct.XPVCV** %tmp76, align 8 ; <%struct.XPVCV*> [#uses=1]
+ %tmp86 = load %struct.XPVCV*, %struct.XPVCV** %tmp76, align 8 ; <%struct.XPVCV*> [#uses=1]
%tmp87 = getelementptr inbounds %struct.XPVCV* %tmp86, i64 0, i32 10 ; <void (%struct.CV*)**> [#uses=1]
store void (%struct.CV*)* @XS_MD5_digest, void (%struct.CV*)** %tmp87, align 8
br i1 undef, label %bb30, label %bb28
Modified: poolalloc/trunk/test/dsa/regression/2010-07-16.SimpleLoop.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2010-07-16.SimpleLoop.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-07-16.SimpleLoop.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-07-16.SimpleLoop.ll Sun Mar 1 16:10:46 2015
@@ -309,7 +309,7 @@ bb.i37:
Perl_save_pptr.exit38: ; preds = %bb.i37, %Perl_save_pptr.exit33
%tmp404 = phi %union.ANY* [ undef, %bb.i37 ], [ %tmp139, %Perl_save_pptr.exit33 ] ; <%union.ANY*> [#uses=3]
- %tmp407 = load i8** @PL_lex_casestack, align 8 ; <i8*> [#uses=1]
+ %tmp407 = load i8*, i8** @PL_lex_casestack, align 8 ; <i8*> [#uses=1]
%tmp408 = getelementptr inbounds %union.ANY* %tmp404, i64 undef, i32 0 ; <i8**> [#uses=1]
store i8* %tmp407, i8** %tmp408, align 8
%tmp411 = getelementptr inbounds %union.ANY* %tmp404, i64 undef, i32 0 ; <i8**> [#uses=1]
@@ -478,7 +478,7 @@ bb6:
br i1 undef, label %bb.i2, label %bb8.Perl_push_scope.exit3_crit_edge
bb8.Perl_push_scope.exit3_crit_edge: ; preds = %bb6
- %tmp86 = load %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp86 = load %struct.SV*, %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb1.i, label %bb.i5
bb.i2: ; preds = %bb6
@@ -495,7 +495,7 @@ Perl_newSVpv.exit:
br i1 undef, label %bb.i4, label %Perl_push_scope.exit3.Perl_save_freesv.exit_crit_edge
Perl_push_scope.exit3.Perl_save_freesv.exit_crit_edge: ; preds = %Perl_newSVpv.exit
- %.pre14 = load %union.ANY** @PL_savestack, align 8 ; <%union.ANY*> [#uses=1]
+ %.pre14 = load %union.ANY*, %union.ANY** @PL_savestack, align 8 ; <%union.ANY*> [#uses=1]
%tmp116 = getelementptr inbounds %union.ANY* %.pre14, i64 undef, i32 0 ; <i8**> [#uses=1]
%tmp117 = bitcast %struct.SV* %sv.0.i to i8* ; <i8*> [#uses=1]
store i8* %tmp117, i8** %tmp116, align 8
@@ -642,13 +642,13 @@ entry:
define fastcc void @Perl_newXS_SPEC5() nounwind ssp {
entry:
- %tmp53 = load %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp53 = load %struct.SV*, %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb1.i, label %bb.i
bb.i: ; preds = %entry
%tmp64 = bitcast %struct.SV* %tmp53 to %struct.CV* ; <%struct.CV*> [#uses=1]
%tmp76 = getelementptr inbounds %struct.CV* %tmp64, i64 0, i32 0 ; <%struct.XPVCV**> [#uses=1]
- %tmp86 = load %struct.XPVCV** %tmp76, align 8 ; <%struct.XPVCV*> [#uses=1]
+ %tmp86 = load %struct.XPVCV*, %struct.XPVCV** %tmp76, align 8 ; <%struct.XPVCV*> [#uses=1]
%tmp87 = getelementptr inbounds %struct.XPVCV* %tmp86, i64 0, i32 10 ; <void (%struct.CV*)**> [#uses=1]
store void (%struct.CV*)* @XS_UNIVERSAL_isa, void (%struct.CV*)** %tmp87, align 8
unreachable
@@ -659,13 +659,13 @@ bb1.i:
define fastcc void @Perl_newXS_SPEC7() nounwind ssp {
entry:
- %tmp53 = load %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
+ %tmp53 = load %struct.SV*, %struct.SV** @PL_sv_root, align 8 ; <%struct.SV*> [#uses=1]
br i1 undef, label %bb1.i, label %bb.i
bb.i: ; preds = %entry
%tmp64 = bitcast %struct.SV* %tmp53 to %struct.CV* ; <%struct.CV*> [#uses=1]
%tmp76 = getelementptr inbounds %struct.CV* %tmp64, i64 0, i32 0 ; <%struct.XPVCV**> [#uses=1]
- %tmp86 = load %struct.XPVCV** %tmp76, align 8 ; <%struct.XPVCV*> [#uses=1]
+ %tmp86 = load %struct.XPVCV*, %struct.XPVCV** %tmp76, align 8 ; <%struct.XPVCV*> [#uses=1]
%tmp87 = getelementptr inbounds %struct.XPVCV* %tmp86, i64 0, i32 10 ; <void (%struct.CV*)**> [#uses=1]
store void (%struct.CV*)* @XS_UNIVERSAL_VERSION, void (%struct.CV*)** %tmp87, align 8
unreachable
Modified: poolalloc/trunk/test/dsa/regression/2010-08-19-SimpleCallGraph.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2010-08-19-SimpleCallGraph.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-08-19-SimpleCallGraph.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-08-19-SimpleCallGraph.ll Sun Mar 1 16:10:46 2015
@@ -12,19 +12,19 @@ entry:
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = getelementptr inbounds %struct.a* %bar, i32 0, i32 6 ; <i32*> [#uses=1]
- %2 = load i32* %1, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %1, align 4 ; <i32> [#uses=1]
%3 = getelementptr inbounds %struct.a* %bar, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 %2, i32* %3, align 4
%4 = getelementptr inbounds %struct.a* %bar, i32 0, i32 1 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
%6 = mul nsw i32 %5, 2 ; <i32> [#uses=1]
store i32 %6, i32* %0, align 4
- %7 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %7, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -34,27 +34,27 @@ entry:
%0 = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%1 = getelementptr inbounds %struct.a* %bar, i32 0, i32 6 ; <i32*> [#uses=1]
- %2 = load i32* %1, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %1, align 4 ; <i32> [#uses=1]
%3 = getelementptr inbounds %struct.a* %bar, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 %2, i32* %3, align 4
%4 = getelementptr inbounds %struct.a* %bar, i32 0, i32 0 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
%6 = getelementptr inbounds %struct.a* %bar, i32 0, i32 1 ; <i32*> [#uses=1]
- %7 = load i32* %6, align 4 ; <i32> [#uses=1]
+ %7 = load i32, i32* %6, align 4 ; <i32> [#uses=1]
%8 = add nsw i32 %5, %7 ; <i32> [#uses=1]
%9 = getelementptr inbounds %struct.a* %bar, i32 0, i32 2 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 4 ; <i32> [#uses=1]
%11 = add nsw i32 %8, %10 ; <i32> [#uses=1]
%12 = getelementptr inbounds %struct.a* %bar, i32 0, i32 7 ; <i32*> [#uses=1]
- %13 = load i32* %12, align 4 ; <i32> [#uses=1]
+ %13 = load i32, i32* %12, align 4 ; <i32> [#uses=1]
%14 = add nsw i32 %11, %13 ; <i32> [#uses=1]
store i32 %14, i32* %0, align 4
- %15 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %15 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %15, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
@@ -70,9 +70,9 @@ entry:
store i32 %argc, i32* %argc_addr
store i8** %argv, i8*** %argv_addr
%1 = getelementptr inbounds %struct.a* %data, i32 0, i32 0 ; <i32*> [#uses=1]
- %2 = load i32* %argc_addr, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %argc_addr, align 4 ; <i32> [#uses=1]
store i32 %2, i32* %1, align 4
- %3 = load i32* %argc_addr, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %argc_addr, align 4 ; <i32> [#uses=1]
%4 = icmp sle i32 %3, 1 ; <i1> [#uses=1]
br i1 %4, label %bb, label %bb1
@@ -85,16 +85,16 @@ bb1:
br label %bb2
bb2: ; preds = %bb1, %bb
- %5 = load i32 (%struct.a*)** %f, align 8 ; <i32 (%struct.a*)*> [#uses=1]
+ %5 = load i32 (%struct.a*)*, i32 (%struct.a*)** %f, align 8 ; <i32 (%struct.a*)*> [#uses=1]
%6 = call fastcc i32 %5(%struct.a* byval %data) nounwind ; <i32> [#uses=0]
%7 = getelementptr inbounds %struct.a* %data, i32 0, i32 0 ; <i32*> [#uses=1]
- %8 = load i32* %7, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %7, align 4 ; <i32> [#uses=1]
store i32 %8, i32* %0, align 4
- %9 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %9, i32* %retval, align 4
br label %return
return: ; preds = %bb2
- %retval3 = load i32* %retval ; <i32> [#uses=1]
+ %retval3 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval3
}
Modified: poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll Sun Mar 1 16:10:46 2015
@@ -133,11 +133,11 @@ bb12.i:
%0 = call i8* @_Znwm(i64 320) nounwind ; <i8*> [#uses=2]
%1 = getelementptr inbounds i8* %0, i64 264 ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to %struct.ggBRDF** ; <%struct.ggBRDF**> [#uses=1]
- %3 = load %struct.ggBRDF** %2, align 8 ; <%struct.ggBRDF*> [#uses=2]
+ %3 = load %struct.ggBRDF*, %struct.ggBRDF** %2, align 8 ; <%struct.ggBRDF*> [#uses=2]
%4 = getelementptr inbounds %struct.ggBRDF* %3, i64 0, i32 0 ; <i32 (...)***> [#uses=1]
- %5 = load i32 (...)*** %4, align 8 ; <i32 (...)**> [#uses=1]
+ %5 = load i32 (...)**, i32 (...)*** %4, align 8 ; <i32 (...)**> [#uses=1]
%6 = getelementptr inbounds i32 (...)** %5, i64 3 ; <i32 (...)**> [#uses=1]
- %7 = load i32 (...)** %6, align 8 ; <i32 (...)*> [#uses=1]
+ %7 = load i32 (...)*, i32 (...)** %6, align 8 ; <i32 (...)*> [#uses=1]
%8 = bitcast i32 (...)* %7 to i32 (%struct.ggBRDF*, double, double, %struct.ggBox3*)* ; <i32 (%struct.ggBRDF*, double, double, %struct.ggBox3*)*> [#uses=1]
%9 = call i32 %8(%struct.ggBRDF* %3, double 0.000000e+00, double 0.000000e+00, %struct.ggBox3* undef) nounwind ; <i32> [#uses=0]
br i1 undef, label %_ZN10mrInstance9SetMatrixERK19ggHRigidBodyMatrix3S2_.exit.i, label %bb.nph89.bb.nph89.split_crit_edge.i.i
Modified: poolalloc/trunk/test/dsa/regression/2012-09-25.RCForwarding.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2012-09-25.RCForwarding.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2012-09-25.RCForwarding.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2012-09-25.RCForwarding.ll Sun Mar 1 16:10:46 2015
@@ -43,7 +43,7 @@ for.body:
for.body30: ; preds = %entry, %for.body30
%idxprom26144 = phi i64 [ 44, %for.body30 ], [ 0, %entry ]
%ttype28 = getelementptr inbounds [25 x %struct.anon]* @typetable, i64 0, i64 %idxprom26144, i32 0
- %1 = load i32* %ttype28, align 16, !tbaa !1
+ %1 = load i32, i32* %ttype28, align 16, !tbaa !1
%cmp34 = icmp eq i32 %1, %ttype
br i1 %cmp34, label %for.cond49.preheader, label %for.body30
@@ -63,9 +63,9 @@ declare %struct._icmBase* @new_icmCurve(
define noalias %struct._icmBase* @new_icmData(%struct._icc* %icp) nounwind uwtable {
entry:
%al = getelementptr inbounds %struct._icc* %icp, i64 0, i32 17
- %0 = load %struct._icmAlloc** %al, align 8, !tbaa !0
+ %0 = load %struct._icmAlloc*, %struct._icmAlloc** %al, align 8, !tbaa !0
%calloc = getelementptr inbounds %struct._icmAlloc* %0, i64 0, i32 1
- %1 = load i8* (%struct._icmAlloc*, i64, i64)** %calloc, align 8, !tbaa !0
+ %1 = load i8* (%struct._icmAlloc*, i64, i64)*, i8* (%struct._icmAlloc*, i64, i64)** %calloc, align 8, !tbaa !0
%call = tail call i8* %1(%struct._icmAlloc* %0, i64 1, i64 96) nounwind
%get_size = getelementptr inbounds i8* %call, i64 24
%2 = bitcast i8* %get_size to i32 (%struct._icmBase*)**
Modified: poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll Sun Mar 1 16:10:46 2015
@@ -25,7 +25,7 @@ for.body.lr.ph:
%gp_offset_p = getelementptr inbounds [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 0
%0 = getelementptr inbounds [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 3
%overflow_arg_area_p = getelementptr inbounds [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 2
- %gp_offset.pre = load i32* %gp_offset_p, align 16
+ %gp_offset.pre = load i32, i32* %gp_offset_p, align 16
br label %for.body
for.body: ; preds = %vaarg.end, %for.body.lr.ph
@@ -36,7 +36,7 @@ for.body:
br i1 %fits_in_gp, label %vaarg.in_reg, label %vaarg.in_mem
vaarg.in_reg: ; preds = %for.body
- %reg_save_area = load i8** %0, align 16
+ %reg_save_area = load i8*, i8** %0, align 16
%1 = sext i32 %gp_offset to i64
%2 = getelementptr i8* %reg_save_area, i64 %1
%3 = add i32 %gp_offset, 8
@@ -44,7 +44,7 @@ vaarg.in_reg:
br label %vaarg.end
vaarg.in_mem: ; preds = %for.body
- %overflow_arg_area = load i8** %overflow_arg_area_p, align 8
+ %overflow_arg_area = load i8*, i8** %overflow_arg_area_p, align 8
%overflow_arg_area.next = getelementptr i8* %overflow_arg_area, i64 8
store i8* %overflow_arg_area.next, i8** %overflow_arg_area_p, align 8
br label %vaarg.end
@@ -53,7 +53,7 @@ vaarg.end:
%gp_offset39 = phi i32 [ %3, %vaarg.in_reg ], [ %gp_offset, %vaarg.in_mem ]
%vaarg.addr.in = phi i8* [ %2, %vaarg.in_reg ], [ %overflow_arg_area, %vaarg.in_mem ]
%vaarg.addr = bitcast i8* %vaarg.addr.in to i32*
- %4 = load i32* %vaarg.addr, align 4
+ %4 = load i32, i32* %vaarg.addr, align 4
%add = add nsw i32 %4, %result.034
%inc = add nsw i32 %i.033, 1
%exitcond36 = icmp eq i32 %inc, %n
@@ -68,7 +68,7 @@ for.body9.lr.ph:
%gp_offset_p12 = getelementptr inbounds [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 0
%5 = getelementptr inbounds [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 3
%overflow_arg_area_p18 = getelementptr inbounds [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 2
- %gp_offset13.pre = load i32* %gp_offset_p12, align 16
+ %gp_offset13.pre = load i32, i32* %gp_offset_p12, align 16
br label %for.body9
for.body9: ; preds = %vaarg.end21, %for.body9.lr.ph
@@ -79,7 +79,7 @@ for.body9:
br i1 %fits_in_gp14, label %vaarg.in_reg15, label %vaarg.in_mem17
vaarg.in_reg15: ; preds = %for.body9
- %reg_save_area16 = load i8** %5, align 16
+ %reg_save_area16 = load i8*, i8** %5, align 16
%6 = sext i32 %gp_offset13 to i64
%7 = getelementptr i8* %reg_save_area16, i64 %6
%8 = add i32 %gp_offset13, 8
@@ -87,7 +87,7 @@ vaarg.in_reg15:
br label %vaarg.end21
vaarg.in_mem17: ; preds = %for.body9
- %overflow_arg_area19 = load i8** %overflow_arg_area_p18, align 8
+ %overflow_arg_area19 = load i8*, i8** %overflow_arg_area_p18, align 8
%overflow_arg_area.next20 = getelementptr i8* %overflow_arg_area19, i64 8
store i8* %overflow_arg_area.next20, i8** %overflow_arg_area_p18, align 8
br label %vaarg.end21
@@ -96,7 +96,7 @@ vaarg.end21:
%gp_offset1337 = phi i32 [ %8, %vaarg.in_reg15 ], [ %gp_offset13, %vaarg.in_mem17 ]
%vaarg.addr22.in = phi i8* [ %7, %vaarg.in_reg15 ], [ %overflow_arg_area19, %vaarg.in_mem17 ]
%vaarg.addr22 = bitcast i8* %vaarg.addr22.in to i32*
- %9 = load i32* %vaarg.addr22, align 4
+ %9 = load i32, i32* %vaarg.addr22, align 4
%add23 = add nsw i32 %9, %result.131
%inc25 = add nsw i32 %i.130, 1
%exitcond = icmp eq i32 %inc25, %n
Modified: poolalloc/trunk/test/dsa/regression/2012-11-20.TDUnresolvedIncomplete.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2012-11-20.TDUnresolvedIncomplete.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2012-11-20.TDUnresolvedIncomplete.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2012-11-20.TDUnresolvedIncomplete.ll Sun Mar 1 16:10:46 2015
@@ -35,29 +35,29 @@ define i8* @foo(i8* %ptr) nounwind {
; Call foo with ptr
define void @direct(i8* %ptr) {
%retptr = call i8* @foo(i8* %ptr)
- %val = load i8* %retptr
+ %val = load i8, i8* %retptr
ret void
}
; Same, but using indirect fp not resolved until inlined into main
define void @indirect(i8* (i8*)* %fp, i8* %ptr) {
%retptr = call i8* %fp(i8* %ptr)
- %val = load i8* %retptr
+ %val = load i8, i8* %retptr
ret void
}
; Same, but using indirect fp not resolved until inlined into main
; with an additional level of indirection
define void @indirect2(i8* (i8*)** %fpp, i8* %ptr) {
- %fp = load i8* (i8*)** %fpp
+ %fp = load i8* (i8*)*, i8* (i8*)** %fpp
%retptr = call i8* %fp(i8* %ptr)
- %val = load i8* %retptr
+ %val = load i8, i8* %retptr
ret void
}
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
; Conjure some i8*
- %ptr = load i8** %argv, align 8
+ %ptr = load i8*, i8** %argv, align 8
call void @direct(i8* %ptr)
Modified: poolalloc/trunk/test/dsa/td/ExternFuncNodeTest1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/ExternFuncNodeTest1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/ExternFuncNodeTest1.ll (original)
+++ poolalloc/trunk/test/dsa/td/ExternFuncNodeTest1.ll Sun Mar 1 16:10:46 2015
@@ -21,7 +21,7 @@ declare noalias i8* @malloc(i64) nounwin
define void @main() nounwind {
entry:
- %0 = load i8* (i32)** @fp, align 8 ; <i8* (i32)*> [#uses=1]
+ %0 = load i8* (i32)*, i8* (i32)** @fp, align 8 ; <i8* (i32)*> [#uses=1]
%1 = call i8* %0(i32 32) nounwind ; <i8*> [#uses=0]
br label %return
Modified: poolalloc/trunk/test/dsa/td/ExternFuncNodeTest2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/ExternFuncNodeTest2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/ExternFuncNodeTest2.ll (original)
+++ poolalloc/trunk/test/dsa/td/ExternFuncNodeTest2.ll Sun Mar 1 16:10:46 2015
@@ -20,7 +20,7 @@ declare noalias i8* @malloc(i64) nounwin
define internal void @init() nounwind {
entry:
- %0 = load i8* (i32)** @fp, align 8 ; <i8* (i32)*> [#uses=1]
+ %0 = load i8* (i32)*, i8* (i32)** @fp, align 8 ; <i8* (i32)*> [#uses=1]
%1 = call i8* %0(i32 32) nounwind ; <i8*> [#uses=0]
br label %return
Modified: poolalloc/trunk/test/dsa/td/ExternFuncNodeTest3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/ExternFuncNodeTest3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/ExternFuncNodeTest3.ll (original)
+++ poolalloc/trunk/test/dsa/td/ExternFuncNodeTest3.ll Sun Mar 1 16:10:46 2015
@@ -28,12 +28,12 @@ entry:
store i32 %a, i32* %a_addr
%1 = call noalias i8* @malloc(i64 32) nounwind ; <i8*> [#uses=1]
store i8* %1, i8** %0, align 8
- %2 = load i8** %0, align 8 ; <i8*> [#uses=1]
+ %2 = load i8*, i8** %0, align 8 ; <i8*> [#uses=1]
store i8* %2, i8** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i8** %retval ; <i8*> [#uses=1]
+ %retval1 = load i8*, i8** %retval ; <i8*> [#uses=1]
ret i8* %retval1
}
@@ -42,7 +42,7 @@ entry:
%f_addr = alloca i8* (i32)* ; <i8* (i32)**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i8* (i32)* %f, i8* (i32)** %f_addr
- %0 = load i8* (i32)** %f_addr, align 8 ; <i8* (i32)*> [#uses=1]
+ %0 = load i8* (i32)*, i8* (i32)** %f_addr, align 8 ; <i8* (i32)*> [#uses=1]
%1 = call i8* %0(i32 32) nounwind ; <i8*> [#uses=0]
br label %return
@@ -55,17 +55,17 @@ entry:
%retval = alloca i32* ; <i32**> [#uses=2]
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
- %1 = load i8* (i32)** @fp, align 8 ; <i8* (i32)*> [#uses=1]
+ %1 = load i8* (i32)*, i8* (i32)** @fp, align 8 ; <i8* (i32)*> [#uses=1]
call void @mergingFunc(i8* (i32)* %1) nounwind
%2 = call noalias i8* @malloc(i64 32) nounwind ; <i8*> [#uses=1]
%3 = bitcast i8* %2 to i32* ; <i32*> [#uses=1]
store i32* %3, i32** %0, align 8
- %4 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/td/basic-global.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/basic-global.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/basic-global.ll (original)
+++ poolalloc/trunk/test/dsa/td/basic-global.ll Sun Mar 1 16:10:46 2015
@@ -38,7 +38,7 @@ define i8* @indirect(i8* (i8*) * %fp, i8
define i32 @main(i32 %argc, i8** nocapture %argv) nounwind {
; Conjure some i8*
- %ptr = load i8** %argv, align 8
+ %ptr = load i8*, i8** %argv, align 8
; %fooptr = %ptr
%fooptr = call i8* @indirect(i8* (i8*)* @foo, i8* %ptr)
Modified: poolalloc/trunk/test/dsa/td/call.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/call.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/call.ll (original)
+++ poolalloc/trunk/test/dsa/td/call.ll Sun Mar 1 16:10:46 2015
@@ -18,15 +18,15 @@ entry:
%1 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to i32* ; <i32*> [#uses=1]
store i32* %2, i32** %a2, align 8
- %3 = load i32** %a2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
store i32 10, i32* %3, align 4
- %4 = load i32** %a2, align 8 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %4 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
%6 = icmp sgt i32 %5, 5 ; <i1> [#uses=1]
br i1 %6, label %bb, label %bb1
bb: ; preds = %entry
- %7 = load i32** %a2, align 8 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %0, align 8
br label %bb2
@@ -34,17 +34,17 @@ bb1:
%8 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%9 = bitcast i8* %8 to i32* ; <i32*> [#uses=1]
store i32* %9, i32** %b2, align 8
- %10 = load i32** %b2, align 8 ; <i32*> [#uses=1]
+ %10 = load i32*, i32** %b2, align 8 ; <i32*> [#uses=1]
store i32* %10, i32** %0, align 8
br label %bb2
bb2: ; preds = %bb1, %bb
- %11 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %11 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %11, i32** %retval, align 8
br label %return
return: ; preds = %bb2
- %retval3 = load i32** %retval ; <i32*> [#uses=1]
+ %retval3 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval3
}
Modified: poolalloc/trunk/test/dsa/td/call1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/call1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/call1.ll (original)
+++ poolalloc/trunk/test/dsa/td/call1.ll Sun Mar 1 16:10:46 2015
@@ -35,23 +35,23 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32** %a2, i32*** %a2_addr
store i32** %b2, i32*** %b2_addr
- %1 = load i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
- %2 = load i32** %1, align 8 ; <i32*> [#uses=1]
+ %1 = load i32**, i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
+ %2 = load i32*, i32** %1, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %temp, align 8
- %3 = load i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
+ %3 = load i32**, i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
store i32** %3, i32*** %a2_addr, align 8
- %4 = load i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
- %5 = load i32** %temp, align 8 ; <i32*> [#uses=1]
+ %4 = load i32**, i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
+ %5 = load i32*, i32** %temp, align 8 ; <i32*> [#uses=1]
store i32* %5, i32** %4, align 8
- %6 = load i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
- %7 = load i32** %6, align 8 ; <i32*> [#uses=1]
+ %6 = load i32**, i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
+ %7 = load i32*, i32** %6, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %0, align 8
- %8 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %8 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %8, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/td/call2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/call2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/call2.ll (original)
+++ poolalloc/trunk/test/dsa/td/call2.ll Sun Mar 1 16:10:46 2015
@@ -35,23 +35,23 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32** %a2, i32*** %a2_addr
store i32** %b2, i32*** %b2_addr
- %1 = load i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
- %2 = load i32** %1, align 8 ; <i32*> [#uses=1]
+ %1 = load i32**, i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
+ %2 = load i32*, i32** %1, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %temp, align 8
- %3 = load i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
+ %3 = load i32**, i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
store i32** %3, i32*** %a2_addr, align 8
- %4 = load i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
- %5 = load i32** %temp, align 8 ; <i32*> [#uses=1]
+ %4 = load i32**, i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
+ %5 = load i32*, i32** %temp, align 8 ; <i32*> [#uses=1]
store i32* %5, i32** %4, align 8
- %6 = load i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
- %7 = load i32** %6, align 8 ; <i32*> [#uses=1]
+ %6 = load i32**, i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
+ %7 = load i32*, i32** %6, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %0, align 8
- %8 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %8 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %8, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/td/checkIncomplete.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/checkIncomplete.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/checkIncomplete.ll (original)
+++ poolalloc/trunk/test/dsa/td/checkIncomplete.ll Sun Mar 1 16:10:46 2015
@@ -20,7 +20,7 @@ entry:
%buffer_addr = alloca i8* ; <i8**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i8* %buffer, i8** %buffer_addr
- %0 = load i8** %buffer_addr, align 8 ; <i8*> [#uses=1]
+ %0 = load i8*, i8** %buffer_addr, align 8 ; <i8*> [#uses=1]
%1 = getelementptr inbounds i8* %0, i64 0 ; <i8*> [#uses=1]
store i8 97, i8* %1, align 1
br label %return
Modified: poolalloc/trunk/test/dsa/td/checkIncomplete1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/checkIncomplete1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/checkIncomplete1.ll (original)
+++ poolalloc/trunk/test/dsa/td/checkIncomplete1.ll Sun Mar 1 16:10:46 2015
@@ -52,13 +52,13 @@ entry:
%F = alloca void (i8*)* ; <void (i8*)**> [#uses=4]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store void (i8*)* bitcast (void (void (i8*)**)* @A to void (i8*)*), void (i8*)** %F, align 8
- %0 = load void (i8*)** %F, align 8 ; <void (i8*)*> [#uses=1]
+ %0 = load void (i8*)*, void (i8*)** %F, align 8 ; <void (i8*)*> [#uses=1]
%F1 = bitcast void (i8*)** %F to i8* ; <i8*> [#uses=1]
call void %0(i8* %F1) nounwind
call void @testfunc(void (i8*)** %F) nounwind
br label %return
return: ; preds = %entry
- %retval2 = load i32* %retval ; <i32> [#uses=1]
+ %retval2 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval2
}
Modified: poolalloc/trunk/test/dsa/td/fptr.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/fptr.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/fptr.ll (original)
+++ poolalloc/trunk/test/dsa/td/fptr.ll Sun Mar 1 16:10:46 2015
@@ -12,14 +12,14 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %a, i32** %a_addr
- %1 = load i32** %a_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %a_addr, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %0, align 8
- %2 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -30,14 +30,14 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %a, i32** %a_addr
- %1 = load i32** %a_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %a_addr, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %0, align 8
- %2 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -48,14 +48,14 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %a, i32** %a_addr
- %1 = load i32** %a_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %a_addr, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %0, align 8
- %2 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -66,14 +66,14 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %a, i32** %a_addr
- %1 = load i32** %a_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %a_addr, align 8 ; <i32*> [#uses=1]
store i32* %1, i32** %0, align 8
- %2 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -86,16 +86,16 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* (i32*)* %fp, i32* (i32*)** %fp_addr
store i32* %b, i32** %b_addr
- %1 = load i32* (i32*)** %fp_addr, align 8 ; <i32* (i32*)*> [#uses=1]
- %2 = load i32** %b_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32* (i32*)*, i32* (i32*)** %fp_addr, align 8 ; <i32* (i32*)*> [#uses=1]
+ %2 = load i32*, i32** %b_addr, align 8 ; <i32*> [#uses=1]
%3 = call i32* %1(i32* %2) nounwind ; <i32*> [#uses=1]
store i32* %3, i32** %0, align 8
- %4 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -110,32 +110,32 @@ entry:
store i32* (i32*)* %fp1, i32* (i32*)** %fp1_addr
store i32* (i32*)* %fp2, i32* (i32*)** %fp2_addr
store i32* %c, i32** %c_addr
- %1 = load i32** %c_addr, align 8 ; <i32*> [#uses=1]
- %2 = load i32* %1, align 4 ; <i32> [#uses=1]
+ %1 = load i32*, i32** %c_addr, align 8 ; <i32*> [#uses=1]
+ %2 = load i32, i32* %1, align 4 ; <i32> [#uses=1]
%3 = icmp sgt i32 %2, 10 ; <i1> [#uses=1]
br i1 %3, label %bb, label %bb1
bb: ; preds = %entry
- %4 = load i32* (i32*)** %fp1_addr, align 8 ; <i32* (i32*)*> [#uses=1]
- %5 = load i32** %c_addr, align 8 ; <i32*> [#uses=1]
+ %4 = load i32* (i32*)*, i32* (i32*)** %fp1_addr, align 8 ; <i32* (i32*)*> [#uses=1]
+ %5 = load i32*, i32** %c_addr, align 8 ; <i32*> [#uses=1]
%6 = call i32* @bar1(i32* (i32*)* %4, i32* %5) nounwind ; <i32*> [#uses=1]
store i32* %6, i32** %0, align 8
br label %bb2
bb1: ; preds = %entry
- %7 = load i32* (i32*)** %fp2_addr, align 8 ; <i32* (i32*)*> [#uses=1]
- %8 = load i32** %c_addr, align 8 ; <i32*> [#uses=1]
+ %7 = load i32* (i32*)*, i32* (i32*)** %fp2_addr, align 8 ; <i32* (i32*)*> [#uses=1]
+ %8 = load i32*, i32** %c_addr, align 8 ; <i32*> [#uses=1]
%9 = call i32* @bar1(i32* (i32*)* %7, i32* %8) nounwind ; <i32*> [#uses=1]
store i32* %9, i32** %0, align 8
br label %bb2
bb2: ; preds = %bb1, %bb
- %10 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %10 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %10, i32** %retval, align 8
br label %return
return: ; preds = %bb2
- %retval3 = load i32** %retval ; <i32*> [#uses=1]
+ %retval3 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval3
}
Modified: poolalloc/trunk/test/dsa/td/mergeArgs.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/mergeArgs.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/mergeArgs.ll (original)
+++ poolalloc/trunk/test/dsa/td/mergeArgs.ll Sun Mar 1 16:10:46 2015
@@ -16,9 +16,9 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %arg1, i32** %arg1_addr
store i32* %arg2, i32** %arg2_addr
- %0 = load i32** %arg1_addr, align 8 ; <i32*> [#uses=1]
+ %0 = load i32*, i32** %arg1_addr, align 8 ; <i32*> [#uses=1]
store i32 1, i32* %0, align 4
- %1 = load i32** %arg2_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %arg2_addr, align 8 ; <i32*> [#uses=1]
store i32 2, i32* %1, align 4
br label %return
@@ -34,13 +34,13 @@ entry:
%0 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%1 = bitcast i8* %0 to i32* ; <i32*> [#uses=1]
store i32* %1, i32** %p, align 8
- %2 = load i32** %p, align 8 ; <i32*> [#uses=1]
- %3 = load i32** %p, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %p, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %p, align 8 ; <i32*> [#uses=1]
call void @func(i32* %2, i32* %3) nounwind
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/td/mergeArgs1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/mergeArgs1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/mergeArgs1.ll (original)
+++ poolalloc/trunk/test/dsa/td/mergeArgs1.ll Sun Mar 1 16:10:46 2015
@@ -16,10 +16,10 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32** %arg1, i32*** %arg1_addr
store i32* %arg2, i32** %arg2_addr
- %0 = load i32*** %arg1_addr, align 8 ; <i32**> [#uses=1]
- %1 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %0 = load i32**, i32*** %arg1_addr, align 8 ; <i32**> [#uses=1]
+ %1 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32 1, i32* %1, align 4
- %2 = load i32** %arg2_addr, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %arg2_addr, align 8 ; <i32*> [#uses=1]
store i32 2, i32* %2, align 4
br label %return
@@ -35,12 +35,12 @@ entry:
%0 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%1 = bitcast i8* %0 to i32* ; <i32*> [#uses=1]
store i32* %1, i32** %p, align 8
- %2 = load i32** %p, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %p, align 8 ; <i32*> [#uses=1]
call void @func(i32** %p, i32* %2) nounwind
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/td/params.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/params.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/params.ll (original)
+++ poolalloc/trunk/test/dsa/td/params.ll Sun Mar 1 16:10:46 2015
@@ -57,22 +57,22 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32** %a2, i32*** %a2_addr
store i32** %b2, i32*** %b2_addr
- %1 = load i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
- %2 = load i32** %1, align 8 ; <i32*> [#uses=1]
+ %1 = load i32**, i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
+ %2 = load i32*, i32** %1, align 8 ; <i32*> [#uses=1]
store i32* %2, i32** %temp, align 8
- %3 = load i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
- %4 = load i32** %3, align 8 ; <i32*> [#uses=1]
+ %3 = load i32**, i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
+ %4 = load i32*, i32** %3, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %temp1, align 8
- %5 = load i32** %temp1, align 8 ; <i32*> [#uses=1]
- %6 = load i32* %5, align 4 ; <i32> [#uses=1]
- %7 = load i32** %temp, align 8 ; <i32*> [#uses=1]
- %8 = load i32* %7, align 4 ; <i32> [#uses=1]
+ %5 = load i32*, i32** %temp1, align 8 ; <i32*> [#uses=1]
+ %6 = load i32, i32* %5, align 4 ; <i32> [#uses=1]
+ %7 = load i32*, i32** %temp, align 8 ; <i32*> [#uses=1]
+ %8 = load i32, i32* %7, align 4 ; <i32> [#uses=1]
%9 = icmp slt i32 %6, %8 ; <i1> [#uses=1]
br i1 %9, label %bb, label %bb1
bb: ; preds = %entry
- %10 = load i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
- %11 = load i32** %10, align 8 ; <i32*> [#uses=1]
+ %10 = load i32**, i32*** %b2_addr, align 8 ; <i32**> [#uses=1]
+ %11 = load i32*, i32** %10, align 8 ; <i32*> [#uses=1]
store i32* %11, i32** %0, align 8
br label %bb2
@@ -81,18 +81,18 @@ bb1:
%13 = bitcast i8* %12 to i32* ; <i32*> [#uses=1]
store i32* %13, i32** %temp2, align 8
store i32** %temp2, i32*** %a2_addr, align 8
- %14 = load i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
- %15 = load i32** %14, align 8 ; <i32*> [#uses=1]
+ %14 = load i32**, i32*** %a2_addr, align 8 ; <i32**> [#uses=1]
+ %15 = load i32*, i32** %14, align 8 ; <i32*> [#uses=1]
store i32* %15, i32** %0, align 8
br label %bb2
bb2: ; preds = %bb1, %bb
- %16 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %16 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %16, i32** %retval, align 8
br label %return
return: ; preds = %bb2
- %retval3 = load i32** %retval ; <i32*> [#uses=1]
+ %retval3 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval3
}
Modified: poolalloc/trunk/test/dsa/td/params1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/params1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/params1.ll (original)
+++ poolalloc/trunk/test/dsa/td/params1.ll Sun Mar 1 16:10:46 2015
@@ -27,24 +27,24 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.InfoStruct** %arr, %struct.InfoStruct*** %arr_addr
store i32 %size, i32* %size_addr
- %0 = load %struct.InfoStruct*** %arr_addr, align 8 ; <%struct.InfoStruct**> [#uses=1]
- %1 = load %struct.InfoStruct** %0, align 8 ; <%struct.InfoStruct*> [#uses=1]
+ %0 = load %struct.InfoStruct**, %struct.InfoStruct*** %arr_addr, align 8 ; <%struct.InfoStruct**> [#uses=1]
+ %1 = load %struct.InfoStruct*, %struct.InfoStruct** %0, align 8 ; <%struct.InfoStruct*> [#uses=1]
store %struct.InfoStruct* %1, %struct.InfoStruct** %temp, align 8
br label %bb1
bb: ; preds = %bb1
- %2 = load %struct.InfoStruct** %temp, align 8 ; <%struct.InfoStruct*> [#uses=3]
+ %2 = load %struct.InfoStruct*, %struct.InfoStruct** %temp, align 8 ; <%struct.InfoStruct*> [#uses=3]
%3 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 0 ; <i32*> [#uses=1]
%4 = getelementptr inbounds %struct.InfoStruct* %2, i32 0, i32 0 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
store i32 %5, i32* %3, align 4
%6 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 1 ; <i32*> [#uses=1]
%7 = getelementptr inbounds %struct.InfoStruct* %2, i32 0, i32 1 ; <i32*> [#uses=1]
- %8 = load i32* %7, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %7, align 4 ; <i32> [#uses=1]
store i32 %8, i32* %6, align 4
%9 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 2 ; <float*> [#uses=1]
%10 = getelementptr inbounds %struct.InfoStruct* %2, i32 0, i32 2 ; <float*> [#uses=1]
- %11 = load float* %10, align 4 ; <float> [#uses=1]
+ %11 = load float, float* %10, align 4 ; <float> [#uses=1]
store float %11, float* %9, align 4
%12 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 0 ; <i32*> [#uses=1]
store i32 0, i32* %12, align 4
@@ -52,18 +52,18 @@ bb:
store i32 0, i32* %13, align 4
%14 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 2 ; <float*> [#uses=1]
store float 0.000000e+00, float* %14, align 4
- %15 = load %struct.InfoStruct** %temp, align 8 ; <%struct.InfoStruct*> [#uses=1]
+ %15 = load %struct.InfoStruct*, %struct.InfoStruct** %temp, align 8 ; <%struct.InfoStruct*> [#uses=1]
%16 = getelementptr inbounds %struct.InfoStruct* %15, i64 1 ; <%struct.InfoStruct*> [#uses=1]
store %struct.InfoStruct* %16, %struct.InfoStruct** %temp, align 8
br label %bb1
bb1: ; preds = %bb, %entry
- %17 = load %struct.InfoStruct*** %arr_addr, align 8 ; <%struct.InfoStruct**> [#uses=1]
- %18 = load %struct.InfoStruct** %17, align 8 ; <%struct.InfoStruct*> [#uses=1]
- %19 = load i32* %size_addr, align 4 ; <i32> [#uses=1]
+ %17 = load %struct.InfoStruct**, %struct.InfoStruct*** %arr_addr, align 8 ; <%struct.InfoStruct**> [#uses=1]
+ %18 = load %struct.InfoStruct*, %struct.InfoStruct** %17, align 8 ; <%struct.InfoStruct*> [#uses=1]
+ %19 = load i32, i32* %size_addr, align 4 ; <i32> [#uses=1]
%20 = sext i32 %19 to i64 ; <i64> [#uses=1]
%21 = getelementptr inbounds %struct.InfoStruct* %18, i64 %20 ; <%struct.InfoStruct*> [#uses=1]
- %22 = load %struct.InfoStruct** %temp, align 8 ; <%struct.InfoStruct*> [#uses=1]
+ %22 = load %struct.InfoStruct*, %struct.InfoStruct** %temp, align 8 ; <%struct.InfoStruct*> [#uses=1]
%23 = icmp ugt %struct.InfoStruct* %21, %22 ; <i1> [#uses=1]
br i1 %23, label %bb, label %bb2
@@ -87,30 +87,30 @@ entry:
store i32 %loc, i32* %loc_addr
store i32 %count, i32* %count_addr
store float %fact, float* %fact_addr
- %0 = load %struct.InfoStruct*** %arr_addr, align 8 ; <%struct.InfoStruct**> [#uses=1]
- %1 = load %struct.InfoStruct** %0, align 8 ; <%struct.InfoStruct*> [#uses=1]
+ %0 = load %struct.InfoStruct**, %struct.InfoStruct*** %arr_addr, align 8 ; <%struct.InfoStruct**> [#uses=1]
+ %1 = load %struct.InfoStruct*, %struct.InfoStruct** %0, align 8 ; <%struct.InfoStruct*> [#uses=1]
store %struct.InfoStruct* %1, %struct.InfoStruct** %ptr, align 8
- %2 = load %struct.InfoStruct** %ptr, align 8 ; <%struct.InfoStruct*> [#uses=1]
- %3 = load i32* %loc_addr, align 4 ; <i32> [#uses=1]
+ %2 = load %struct.InfoStruct*, %struct.InfoStruct** %ptr, align 8 ; <%struct.InfoStruct*> [#uses=1]
+ %3 = load i32, i32* %loc_addr, align 4 ; <i32> [#uses=1]
%4 = sext i32 %3 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds %struct.InfoStruct* %2, i64 %4 ; <%struct.InfoStruct*> [#uses=3]
%6 = getelementptr inbounds %struct.InfoStruct* %obj, i32 0, i32 0 ; <i32*> [#uses=1]
%7 = getelementptr inbounds %struct.InfoStruct* %5, i32 0, i32 0 ; <i32*> [#uses=1]
- %8 = load i32* %7, align 1 ; <i32> [#uses=1]
+ %8 = load i32, i32* %7, align 1 ; <i32> [#uses=1]
store i32 %8, i32* %6, align 1
%9 = getelementptr inbounds %struct.InfoStruct* %obj, i32 0, i32 1 ; <i32*> [#uses=1]
%10 = getelementptr inbounds %struct.InfoStruct* %5, i32 0, i32 1 ; <i32*> [#uses=1]
- %11 = load i32* %10, align 1 ; <i32> [#uses=1]
+ %11 = load i32, i32* %10, align 1 ; <i32> [#uses=1]
store i32 %11, i32* %9, align 1
%12 = getelementptr inbounds %struct.InfoStruct* %obj, i32 0, i32 2 ; <float*> [#uses=1]
%13 = getelementptr inbounds %struct.InfoStruct* %5, i32 0, i32 2 ; <float*> [#uses=1]
- %14 = load float* %13, align 1 ; <float> [#uses=1]
+ %14 = load float, float* %13, align 1 ; <float> [#uses=1]
store float %14, float* %12, align 1
%15 = getelementptr inbounds %struct.InfoStruct* %obj, i32 0, i32 0 ; <i32*> [#uses=1]
- %16 = load i32* %count_addr, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %count_addr, align 4 ; <i32> [#uses=1]
store i32 %16, i32* %15, align 4
%17 = getelementptr inbounds %struct.InfoStruct* %obj, i32 0, i32 2 ; <float*> [#uses=1]
- %18 = load float* %fact_addr, align 4 ; <float> [#uses=1]
+ %18 = load float, float* %fact_addr, align 4 ; <float> [#uses=1]
store float %18, float* %17, align 4
%19 = getelementptr inbounds %struct.InfoStruct* %obj, i32 0, i32 1 ; <i32*> [#uses=1]
store i32 1, i32* %19, align 4
@@ -133,7 +133,7 @@ entry:
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/td/recur.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/recur.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/recur.ll (original)
+++ poolalloc/trunk/test/dsa/td/recur.ll Sun Mar 1 16:10:46 2015
@@ -18,10 +18,10 @@ entry:
%1 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to i32* ; <i32*> [#uses=1]
store i32* %2, i32** %a2, align 8
- %3 = load i32** %a2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
store i32 10, i32* %3, align 4
- %4 = load i32** %a2, align 8 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %4 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
%6 = icmp sgt i32 %5, 5 ; <i1> [#uses=1]
br i1 %6, label %bb, label %bb1
@@ -34,17 +34,17 @@ bb1:
%8 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%9 = bitcast i8* %8 to i32* ; <i32*> [#uses=1]
store i32* %9, i32** %b2, align 8
- %10 = load i32** %b2, align 8 ; <i32*> [#uses=1]
+ %10 = load i32*, i32** %b2, align 8 ; <i32*> [#uses=1]
store i32* %10, i32** %0, align 8
br label %bb2
bb2: ; preds = %bb1, %bb
- %11 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %11 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %11, i32** %retval, align 8
br label %return
return: ; preds = %bb2
- %retval3 = load i32** %retval ; <i32*> [#uses=1]
+ %retval3 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval3
}
Modified: poolalloc/trunk/test/dsa/td/recur1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/recur1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/recur1.ll (original)
+++ poolalloc/trunk/test/dsa/td/recur1.ll Sun Mar 1 16:10:46 2015
@@ -12,15 +12,15 @@ entry:
%0 = alloca i32* ; <i32**> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %b3, i32** %b3_addr
- %1 = load i32** %b3_addr, align 8 ; <i32*> [#uses=1]
+ %1 = load i32*, i32** %b3_addr, align 8 ; <i32*> [#uses=1]
%2 = getelementptr inbounds i32* %1, i64 1 ; <i32*> [#uses=1]
store i32* %2, i32** %0, align 8
- %3 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %3, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
@@ -34,10 +34,10 @@ entry:
%1 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to i32* ; <i32*> [#uses=1]
store i32* %2, i32** %a2, align 8
- %3 = load i32** %a2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
store i32 10, i32* %3, align 4
- %4 = load i32** %a2, align 8 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %4 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
%6 = icmp sgt i32 %5, 5 ; <i1> [#uses=1]
br i1 %6, label %bb, label %bb1
@@ -50,18 +50,18 @@ bb1:
%8 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%9 = bitcast i8* %8 to i32* ; <i32*> [#uses=1]
store i32* %9, i32** %b2, align 8
- %10 = load i32** %b2, align 8 ; <i32*> [#uses=1]
+ %10 = load i32*, i32** %b2, align 8 ; <i32*> [#uses=1]
%11 = call i32* @test1(i32* %10) nounwind ; <i32*> [#uses=1]
store i32* %11, i32** %0, align 8
br label %bb2
bb2: ; preds = %bb1, %bb
- %12 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %12 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %12, i32** %retval, align 8
br label %return
return: ; preds = %bb2
- %retval3 = load i32** %retval ; <i32*> [#uses=1]
+ %retval3 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval3
}
Modified: poolalloc/trunk/test/dsa/td/recur2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/recur2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/recur2.ll (original)
+++ poolalloc/trunk/test/dsa/td/recur2.ll Sun Mar 1 16:10:46 2015
@@ -15,10 +15,10 @@ entry:
%1 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to i32* ; <i32*> [#uses=1]
store i32* %2, i32** %a2, align 8
- %3 = load i32** %a2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
store i32 10, i32* %3, align 4
- %4 = load i32** %a2, align 8 ; <i32*> [#uses=1]
- %5 = load i32* %4, align 4 ; <i32> [#uses=1]
+ %4 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
+ %5 = load i32, i32* %4, align 4 ; <i32> [#uses=1]
%6 = icmp sgt i32 %5, 5 ; <i1> [#uses=1]
br i1 %6, label %bb, label %bb1
@@ -31,18 +31,18 @@ bb1:
%8 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%9 = bitcast i8* %8 to i32* ; <i32*> [#uses=1]
store i32* %9, i32** %b2, align 8
- %10 = load i32** %b2, align 8 ; <i32*> [#uses=1]
+ %10 = load i32*, i32** %b2, align 8 ; <i32*> [#uses=1]
%11 = call i32* @test1(i32* %10) nounwind ; <i32*> [#uses=1]
store i32* %11, i32** %0, align 8
br label %bb2
bb2: ; preds = %bb1, %bb
- %12 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %12 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %12, i32** %retval, align 8
br label %return
return: ; preds = %bb2
- %retval3 = load i32** %retval ; <i32*> [#uses=1]
+ %retval3 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval3
}
@@ -56,17 +56,17 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store i32* %b3, i32** %b3_addr
%1 = call i32* @test() nounwind ; <i32*> [#uses=1]
- %2 = load i32** %b3_addr, align 8 ; <i32*> [#uses=1]
- %3 = load i32* %2, align 4 ; <i32> [#uses=1]
+ %2 = load i32*, i32** %b3_addr, align 8 ; <i32*> [#uses=1]
+ %3 = load i32, i32* %2, align 4 ; <i32> [#uses=1]
%4 = sext i32 %3 to i64 ; <i64> [#uses=1]
%5 = getelementptr inbounds i32* %1, i64 %4 ; <i32*> [#uses=1]
store i32* %5, i32** %0, align 8
- %6 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %6 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %6, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/td/scc-global.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/scc-global.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/scc-global.ll (original)
+++ poolalloc/trunk/test/dsa/td/scc-global.ll Sun Mar 1 16:10:46 2015
@@ -46,7 +46,7 @@ entry:
}
define internal void @C(void (i32**)* %FP, i32** %ptr) {
- %addr = load i32** %ptr
+ %addr = load i32*, i32** %ptr
call void %FP(i32** null)
ret void
}
Modified: poolalloc/trunk/test/dsa/td/testcase.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/testcase.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/testcase.ll (original)
+++ poolalloc/trunk/test/dsa/td/testcase.ll Sun Mar 1 16:10:46 2015
@@ -14,14 +14,14 @@ entry:
%1 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%2 = bitcast i8* %1 to i32* ; <i32*> [#uses=1]
store i32* %2, i32** %a2, align 8
- %3 = load i32** %a2, align 8 ; <i32*> [#uses=1]
+ %3 = load i32*, i32** %a2, align 8 ; <i32*> [#uses=1]
store i32* %3, i32** %0, align 8
- %4 = load i32** %0, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %retval, align 8
br label %return
return: ; preds = %entry
- %retval1 = load i32** %retval ; <i32*> [#uses=1]
+ %retval1 = load i32*, i32** %retval ; <i32*> [#uses=1]
ret i32* %retval1
}
Modified: poolalloc/trunk/test/dsa/types/mrv.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/mrv.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/mrv.ll (original)
+++ poolalloc/trunk/test/dsa/types/mrv.ll Sun Mar 1 16:10:46 2015
@@ -53,17 +53,17 @@ entry:
store float 1.000000e+00, float* %3, align 4
%4 = bitcast %struct.S* %s to %0* ; <%0*> [#uses=1]
%elt = getelementptr inbounds %0* %4, i32 0, i32 0 ; <double*> [#uses=1]
- %val = load double* %elt ; <double> [#uses=1]
+ %val = load double, double* %elt ; <double> [#uses=1]
%5 = bitcast %struct.S* %s to %0* ; <%0*> [#uses=1]
%elt1 = getelementptr inbounds %0* %5, i32 0, i32 1 ; <float*> [#uses=1]
- %val2 = load float* %elt1 ; <float> [#uses=1]
+ %val2 = load float, float* %elt1 ; <float> [#uses=1]
call void @_Z3foo1S(double %val, float %val2) nounwind
store i32 0, i32* %0, align 4
- %6 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %6 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %6, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval3 = load i32* %retval ; <i32> [#uses=1]
+ %retval3 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval3
}
Modified: poolalloc/trunk/test/dsa/types/mrv1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/mrv1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/mrv1.ll (original)
+++ poolalloc/trunk/test/dsa/types/mrv1.ll Sun Mar 1 16:10:46 2015
@@ -49,36 +49,36 @@ entry:
store float 0x3FF3333340000000, float* %1, align 4
%2 = getelementptr inbounds %struct.S* %0, i32 0, i32 0 ; <float*> [#uses=1]
%3 = getelementptr inbounds %struct.S* %obj, i32 0, i32 0 ; <float*> [#uses=1]
- %4 = load float* %3, align 4 ; <float> [#uses=1]
+ %4 = load float, float* %3, align 4 ; <float> [#uses=1]
store float %4, float* %2, align 4
%5 = getelementptr inbounds %struct.S* %0, i32 0, i32 1 ; <float*> [#uses=1]
%6 = getelementptr inbounds %struct.S* %obj, i32 0, i32 1 ; <float*> [#uses=1]
- %7 = load float* %6, align 4 ; <float> [#uses=1]
+ %7 = load float, float* %6, align 4 ; <float> [#uses=1]
store float %7, float* %5, align 4
%8 = getelementptr inbounds %struct.S* %0, i32 0, i32 2 ; <float*> [#uses=1]
%9 = getelementptr inbounds %struct.S* %obj, i32 0, i32 2 ; <float*> [#uses=1]
- %10 = load float* %9, align 4 ; <float> [#uses=1]
+ %10 = load float, float* %9, align 4 ; <float> [#uses=1]
store float %10, float* %8, align 4
%11 = getelementptr inbounds %struct.S* %retval, i32 0, i32 0 ; <float*> [#uses=1]
%12 = getelementptr inbounds %struct.S* %0, i32 0, i32 0 ; <float*> [#uses=1]
- %13 = load float* %12, align 4 ; <float> [#uses=1]
+ %13 = load float, float* %12, align 4 ; <float> [#uses=1]
store float %13, float* %11, align 4
%14 = getelementptr inbounds %struct.S* %retval, i32 0, i32 1 ; <float*> [#uses=1]
%15 = getelementptr inbounds %struct.S* %0, i32 0, i32 1 ; <float*> [#uses=1]
- %16 = load float* %15, align 4 ; <float> [#uses=1]
+ %16 = load float, float* %15, align 4 ; <float> [#uses=1]
store float %16, float* %14, align 4
%17 = getelementptr inbounds %struct.S* %retval, i32 0, i32 2 ; <float*> [#uses=1]
%18 = getelementptr inbounds %struct.S* %0, i32 0, i32 2 ; <float*> [#uses=1]
- %19 = load float* %18, align 4 ; <float> [#uses=1]
+ %19 = load float, float* %18, align 4 ; <float> [#uses=1]
store float %19, float* %17, align 4
br label %return
return: ; preds = %entry
%retval1 = bitcast %struct.S* %retval to %0* ; <%0*> [#uses=2]
%mrv_gep = getelementptr %0* %retval1, i32 0, i32 0 ; <double*> [#uses=1]
- %mrv = load double* %mrv_gep ; <double> [#uses=1]
+ %mrv = load double, double* %mrv_gep ; <double> [#uses=1]
%mrv_gep2 = getelementptr %0* %retval1, i32 0, i32 1 ; <float*> [#uses=1]
- %mrv3 = load float* %mrv_gep2 ; <float> [#uses=1]
+ %mrv3 = load float, float* %mrv_gep2 ; <float> [#uses=1]
%mrv4 = insertvalue %0 undef, double %mrv, 0 ; <%0> [#uses=1]
%mrv5 = insertvalue %0 %mrv4, float %mrv3, 1 ; <%0> [#uses=1]
ret %0 %mrv5
@@ -100,10 +100,10 @@ entry:
store float 1.000000e+00, float* %3, align 4
%4 = bitcast %struct.S* %s to %0* ; <%0*> [#uses=1]
%elt = getelementptr inbounds %0* %4, i32 0, i32 0 ; <double*> [#uses=1]
- %val = load double* %elt ; <double> [#uses=1]
+ %val = load double, double* %elt ; <double> [#uses=1]
%5 = bitcast %struct.S* %s to %0* ; <%0*> [#uses=1]
%elt1 = getelementptr inbounds %0* %5, i32 0, i32 1 ; <float*> [#uses=1]
- %val2 = load float* %elt1 ; <float> [#uses=1]
+ %val2 = load float, float* %elt1 ; <float> [#uses=1]
call void @_Z3foo1S(double %val, float %val2) nounwind
%6 = call %0 @_Z3barv() nounwind ; <%0> [#uses=2]
%mrv_gep = getelementptr inbounds %0* %memtmp, i32 0, i32 0 ; <double*> [#uses=1]
@@ -115,22 +115,22 @@ entry:
%memtmp5 = bitcast %0* %memtmp to %struct.S* ; <%struct.S*> [#uses=3]
%7 = getelementptr inbounds %struct.S* %s1, i32 0, i32 0 ; <float*> [#uses=1]
%8 = getelementptr inbounds %struct.S* %memtmp5, i32 0, i32 0 ; <float*> [#uses=1]
- %9 = load float* %8, align 4 ; <float> [#uses=1]
+ %9 = load float, float* %8, align 4 ; <float> [#uses=1]
store float %9, float* %7, align 4
%10 = getelementptr inbounds %struct.S* %s1, i32 0, i32 1 ; <float*> [#uses=1]
%11 = getelementptr inbounds %struct.S* %memtmp5, i32 0, i32 1 ; <float*> [#uses=1]
- %12 = load float* %11, align 4 ; <float> [#uses=1]
+ %12 = load float, float* %11, align 4 ; <float> [#uses=1]
store float %12, float* %10, align 4
%13 = getelementptr inbounds %struct.S* %s1, i32 0, i32 2 ; <float*> [#uses=1]
%14 = getelementptr inbounds %struct.S* %memtmp5, i32 0, i32 2 ; <float*> [#uses=1]
- %15 = load float* %14, align 4 ; <float> [#uses=1]
+ %15 = load float, float* %14, align 4 ; <float> [#uses=1]
store float %15, float* %13, align 4
store i32 0, i32* %0, align 4
- %16 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %16, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval6 = load i32* %retval ; <i32> [#uses=1]
+ %retval6 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval6
}
Modified: poolalloc/trunk/test/dsa/types/union.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union.ll (original)
+++ poolalloc/trunk/test/dsa/types/union.ll Sun Mar 1 16:10:46 2015
@@ -27,32 +27,32 @@ entry:
store i32* %1, i32** %tmp, align 8
%2 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%3 = bitcast %struct.StructType* %2 to i32** ; <i32**> [#uses=1]
- %4 = load i32** %tmp, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %tmp, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %3, align 8
%5 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%6 = bitcast %struct.StructType* %5 to i32** ; <i32**> [#uses=1]
- %7 = load i32** %6, align 8 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %6, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %c, align 8
%8 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%9 = bitcast %struct.StructType* %8 to i32* ; <i32*> [#uses=1]
- %10 = load i32* %9, align 8 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 8 ; <i32> [#uses=1]
store i32 %10, i32* %d, align 4
%11 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%12 = bitcast %struct.StructType* %11 to [100 x i32]* ; <[100 x i32]*> [#uses=1]
%13 = getelementptr inbounds [100 x i32]* %12, i64 0, i64 0 ; <i32*> [#uses=1]
- %14 = load i32* %13, align 4 ; <i32> [#uses=1]
+ %14 = load i32, i32* %13, align 4 ; <i32> [#uses=1]
store i32 %14, i32* %arr, align 4
%15 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=2]
%16 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 0 ; <float*> [#uses=1]
%17 = getelementptr inbounds %struct.StructType* %15, i32 0, i32 0 ; <float*> [#uses=1]
- %18 = load float* %17, align 8 ; <float> [#uses=1]
+ %18 = load float, float* %17, align 8 ; <float> [#uses=1]
store float %18, float* %16, align 8
%19 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 1 ; <i32**> [#uses=1]
%20 = getelementptr inbounds %struct.StructType* %15, i32 0, i32 1 ; <i32**> [#uses=1]
- %21 = load i32** %20, align 8 ; <i32*> [#uses=1]
+ %21 = load i32*, i32** %20, align 8 ; <i32*> [#uses=1]
store i32* %21, i32** %19, align 8
%22 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 0 ; <float*> [#uses=1]
- %23 = load float* %22, align 8 ; <float> [#uses=1]
+ %23 = load float, float* %22, align 8 ; <float> [#uses=1]
store float %23, float* %y, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/types/union1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union1.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union1.ll (original)
+++ poolalloc/trunk/test/dsa/types/union1.ll Sun Mar 1 16:10:46 2015
@@ -25,42 +25,42 @@ entry:
store i32* %1, i32** %tmp, align 8
%2 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%3 = bitcast %struct.StructType* %2 to i32** ; <i32**> [#uses=1]
- %4 = load i32** %tmp, align 8 ; <i32*> [#uses=1]
+ %4 = load i32*, i32** %tmp, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %3, align 8
%5 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%6 = bitcast %struct.StructType* %5 to i32** ; <i32**> [#uses=1]
- %7 = load i32** %6, align 8 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %6, align 8 ; <i32*> [#uses=1]
store i32* %7, i32** %c, align 8
%8 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%9 = bitcast %struct.StructType* %8 to i32* ; <i32*> [#uses=1]
- %10 = load i32* %9, align 8 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 8 ; <i32> [#uses=1]
store i32 %10, i32* %d, align 4
%11 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
%12 = bitcast %struct.StructType* %11 to [100 x i32]* ; <[100 x i32]*> [#uses=1]
%13 = getelementptr inbounds [100 x i32]* %12, i64 0, i64 0 ; <i32*> [#uses=1]
- %14 = load i32* %13, align 4 ; <i32> [#uses=1]
+ %14 = load i32, i32* %13, align 4 ; <i32> [#uses=1]
store i32 %14, i32* %arr, align 4
%15 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=3]
%16 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 0 ; <float*> [#uses=1]
%17 = getelementptr inbounds %struct.StructType* %15, i32 0, i32 0 ; <float*> [#uses=1]
- %18 = load float* %17, align 8 ; <float> [#uses=1]
+ %18 = load float, float* %17, align 8 ; <float> [#uses=1]
store float %18, float* %16, align 8
%19 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 1 ; <i32**> [#uses=1]
%20 = getelementptr inbounds %struct.StructType* %15, i32 0, i32 1 ; <i32**> [#uses=1]
- %21 = load i32** %20, align 8 ; <i32*> [#uses=1]
+ %21 = load i32*, i32** %20, align 8 ; <i32*> [#uses=1]
store i32* %21, i32** %19, align 8
%22 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 2 ; <%struct.NestedStructType*> [#uses=2]
%23 = getelementptr inbounds %struct.StructType* %15, i32 0, i32 2 ; <%struct.NestedStructType*> [#uses=2]
%24 = getelementptr inbounds %struct.NestedStructType* %22, i32 0, i32 0 ; <float*> [#uses=1]
%25 = getelementptr inbounds %struct.NestedStructType* %23, i32 0, i32 0 ; <float*> [#uses=1]
- %26 = load float* %25, align 8 ; <float> [#uses=1]
+ %26 = load float, float* %25, align 8 ; <float> [#uses=1]
store float %26, float* %24, align 8
%27 = getelementptr inbounds %struct.NestedStructType* %22, i32 0, i32 1 ; <i32**> [#uses=1]
%28 = getelementptr inbounds %struct.NestedStructType* %23, i32 0, i32 1 ; <i32**> [#uses=1]
- %29 = load i32** %28, align 8 ; <i32*> [#uses=1]
+ %29 = load i32*, i32** %28, align 8 ; <i32*> [#uses=1]
store i32* %29, i32** %27, align 8
%30 = getelementptr inbounds %struct.StructType* %x, i32 0, i32 0 ; <float*> [#uses=1]
- %31 = load float* %30, align 8 ; <float> [#uses=1]
+ %31 = load float, float* %30, align 8 ; <float> [#uses=1]
store float %31, float* %y, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/types/union2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union2.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union2.ll (original)
+++ poolalloc/trunk/test/dsa/types/union2.ll Sun Mar 1 16:10:46 2015
@@ -28,24 +28,24 @@ entry:
%7 = bitcast %struct.StructType1* %6 to %struct.StructType2* ; <%struct.StructType2*> [#uses=3]
%8 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 0 ; <i32*> [#uses=1]
%9 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 0 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 4 ; <i32> [#uses=1]
store i32 %10, i32* %8, align 4
%11 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 1 ; <i16*> [#uses=1]
%12 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 1 ; <i16*> [#uses=1]
- %13 = load i16* %12, align 4 ; <i16> [#uses=1]
+ %13 = load i16, i16* %12, align 4 ; <i16> [#uses=1]
store i16 %13, i16* %11, align 4
%14 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 2 ; <i32*> [#uses=1]
%15 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 2 ; <i32*> [#uses=1]
- %16 = load i32* %15, align 4 ; <i32> [#uses=1]
+ %16 = load i32, i32* %15, align 4 ; <i32> [#uses=1]
store i32 %16, i32* %14, align 4
%17 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
%18 = bitcast %struct.StructType1* %17 to %struct.StructType2* ; <%struct.StructType2*> [#uses=1]
%19 = getelementptr inbounds %struct.StructType2* %18, i32 0, i32 2 ; <i32*> [#uses=1]
- %20 = load i32* %19, align 4 ; <i32> [#uses=1]
+ %20 = load i32, i32* %19, align 4 ; <i32> [#uses=1]
store i32 %20, i32* %t, align 4
%21 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
%22 = getelementptr inbounds %struct.StructType1* %21, i32 0, i32 2 ; <i32*> [#uses=1]
- %23 = load i32* %22, align 4 ; <i32> [#uses=1]
+ %23 = load i32, i32* %22, align 4 ; <i32> [#uses=1]
store i32 %23, i32* %t1, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/types/union3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union3.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union3.ll (original)
+++ poolalloc/trunk/test/dsa/types/union3.ll Sun Mar 1 16:10:46 2015
@@ -26,19 +26,19 @@ entry:
%7 = bitcast %struct.StructType1* %6 to %struct.StructType2* ; <%struct.StructType2*> [#uses=4]
%8 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 0 ; <i32*> [#uses=1]
%9 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 0 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 4 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 4 ; <i32> [#uses=1]
store i32 %10, i32* %8, align 4
%11 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 1 ; <i16*> [#uses=1]
%12 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 1 ; <i16*> [#uses=1]
- %13 = load i16* %12, align 4 ; <i16> [#uses=1]
+ %13 = load i16, i16* %12, align 4 ; <i16> [#uses=1]
store i16 %13, i16* %11, align 4
%14 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 2 ; <i16*> [#uses=1]
%15 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 2 ; <i16*> [#uses=1]
- %16 = load i16* %15, align 2 ; <i16> [#uses=1]
+ %16 = load i16, i16* %15, align 2 ; <i16> [#uses=1]
store i16 %16, i16* %14, align 2
%17 = getelementptr inbounds %struct.StructType2* %s, i32 0, i32 3 ; <i32*> [#uses=1]
%18 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 3 ; <i32*> [#uses=1]
- %19 = load i32* %18, align 4 ; <i32> [#uses=1]
+ %19 = load i32, i32* %18, align 4 ; <i32> [#uses=1]
store i32 %19, i32* %17, align 4
br label %return
Modified: poolalloc/trunk/test/dsa/types/union4.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union4.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union4.ll (original)
+++ poolalloc/trunk/test/dsa/types/union4.ll Sun Mar 1 16:10:46 2015
@@ -26,12 +26,12 @@ entry:
%6 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
%7 = bitcast %struct.StructType1* %6 to %struct.StructType2* ; <%struct.StructType2*> [#uses=1]
%8 = getelementptr inbounds %struct.StructType2* %7, i32 0, i32 1 ; <i16*> [#uses=1]
- %9 = load i16* %8, align 4 ; <i16> [#uses=1]
+ %9 = load i16, i16* %8, align 4 ; <i16> [#uses=1]
store i16 %9, i16* %x, align 2
%10 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
%11 = bitcast %struct.StructType1* %10 to %struct.StructType2* ; <%struct.StructType2*> [#uses=1]
%12 = getelementptr inbounds %struct.StructType2* %11, i32 0, i32 2 ; <i16*> [#uses=1]
- %13 = load i16* %12, align 2 ; <i16> [#uses=1]
+ %13 = load i16, i16* %12, align 2 ; <i16> [#uses=1]
store i16 %13, i16* %y, align 2
br label %return
Modified: poolalloc/trunk/test/dsa/types/union_arrays.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union_arrays.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union_arrays.ll (original)
+++ poolalloc/trunk/test/dsa/types/union_arrays.ll Sun Mar 1 16:10:46 2015
@@ -20,8 +20,8 @@ entry:
br label %bb1
bb: ; preds = %bb1
- %0 = load i32* %i, align 4 ; <i32> [#uses=1]
- %1 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %0 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %1 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%2 = add nsw i32 %1, 10 ; <i32> [#uses=1]
%3 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%4 = bitcast %struct.StructType2* %3 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
@@ -29,8 +29,8 @@ bb:
%6 = sext i32 %0 to i64 ; <i64> [#uses=1]
%7 = getelementptr inbounds [10 x i32]* %5, i64 0, i64 %6 ; <i32*> [#uses=1]
store i32 %2, i32* %7, align 4
- %8 = load i32* %i, align 4 ; <i32> [#uses=1]
- %9 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %8 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%10 = trunc i32 %9 to i16 ; <i16> [#uses=1]
%11 = add i16 %10, 32 ; <i16> [#uses=1]
%12 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
@@ -39,8 +39,8 @@ bb:
%15 = sext i32 %8 to i64 ; <i64> [#uses=1]
%16 = getelementptr inbounds [10 x i16]* %14, i64 0, i64 %15 ; <i16*> [#uses=1]
store i16 %11, i16* %16, align 2
- %17 = load i32* %i, align 4 ; <i32> [#uses=1]
- %18 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %17 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %18 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%19 = add nsw i32 %18, 64 ; <i32> [#uses=1]
%20 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%21 = bitcast %struct.StructType2* %20 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
@@ -48,13 +48,13 @@ bb:
%23 = sext i32 %17 to i64 ; <i64> [#uses=1]
%24 = getelementptr inbounds [10 x i32]* %22, i64 0, i64 %23 ; <i32*> [#uses=1]
store i32 %19, i32* %24, align 4
- %25 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %25 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%26 = add nsw i32 %25, 1 ; <i32> [#uses=1]
store i32 %26, i32* %i, align 4
br label %bb1
bb1: ; preds = %bb, %entry
- %27 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %27 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%28 = icmp sle i32 %27, 9 ; <i1> [#uses=1]
br i1 %28, label %bb, label %bb2
@@ -63,53 +63,53 @@ bb2:
br label %bb4
bb3: ; preds = %bb4
- %29 = load i32* %i, align 4 ; <i32> [#uses=1]
- %30 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %29 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %30 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%31 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%32 = bitcast %struct.StructType2* %31 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
%33 = getelementptr inbounds %struct.StructType1* %32, i32 0, i32 0 ; <[10 x i32]*> [#uses=1]
%34 = sext i32 %30 to i64 ; <i64> [#uses=1]
%35 = getelementptr inbounds [10 x i32]* %33, i64 0, i64 %34 ; <i32*> [#uses=1]
- %36 = load i32* %35, align 4 ; <i32> [#uses=1]
+ %36 = load i32, i32* %35, align 4 ; <i32> [#uses=1]
%37 = getelementptr inbounds %union.UnionType* %obj_copy, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%38 = getelementptr inbounds %struct.StructType2* %37, i32 0, i32 0 ; <[10 x i32]*> [#uses=1]
%39 = sext i32 %29 to i64 ; <i64> [#uses=1]
%40 = getelementptr inbounds [10 x i32]* %38, i64 0, i64 %39 ; <i32*> [#uses=1]
store i32 %36, i32* %40, align 4
- %41 = load i32* %i, align 4 ; <i32> [#uses=1]
- %42 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %41 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %42 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%43 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%44 = bitcast %struct.StructType2* %43 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
%45 = getelementptr inbounds %struct.StructType1* %44, i32 0, i32 1 ; <[10 x i16]*> [#uses=1]
%46 = sext i32 %42 to i64 ; <i64> [#uses=1]
%47 = getelementptr inbounds [10 x i16]* %45, i64 0, i64 %46 ; <i16*> [#uses=1]
- %48 = load i16* %47, align 2 ; <i16> [#uses=1]
+ %48 = load i16, i16* %47, align 2 ; <i16> [#uses=1]
%49 = sext i16 %48 to i32 ; <i32> [#uses=1]
%50 = getelementptr inbounds %union.UnionType* %obj_copy, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%51 = getelementptr inbounds %struct.StructType2* %50, i32 0, i32 1 ; <[10 x i32]*> [#uses=1]
%52 = sext i32 %41 to i64 ; <i64> [#uses=1]
%53 = getelementptr inbounds [10 x i32]* %51, i64 0, i64 %52 ; <i32*> [#uses=1]
store i32 %49, i32* %53, align 4
- %54 = load i32* %i, align 4 ; <i32> [#uses=1]
- %55 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %54 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
+ %55 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%56 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%57 = bitcast %struct.StructType2* %56 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
%58 = getelementptr inbounds %struct.StructType1* %57, i32 0, i32 2 ; <[10 x i32]*> [#uses=1]
%59 = sext i32 %55 to i64 ; <i64> [#uses=1]
%60 = getelementptr inbounds [10 x i32]* %58, i64 0, i64 %59 ; <i32*> [#uses=1]
- %61 = load i32* %60, align 4 ; <i32> [#uses=1]
+ %61 = load i32, i32* %60, align 4 ; <i32> [#uses=1]
%62 = getelementptr inbounds %union.UnionType* %obj_copy, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
%63 = getelementptr inbounds %struct.StructType2* %62, i32 0, i32 2 ; <[10 x i32]*> [#uses=1]
%64 = sext i32 %54 to i64 ; <i64> [#uses=1]
%65 = getelementptr inbounds [10 x i32]* %63, i64 0, i64 %64 ; <i32*> [#uses=1]
store i32 %61, i32* %65, align 4
- %66 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %66 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%67 = add nsw i32 %66, 1 ; <i32> [#uses=1]
store i32 %67, i32* %i, align 4
br label %bb4
bb4: ; preds = %bb3, %bb2
- %68 = load i32* %i, align 4 ; <i32> [#uses=1]
+ %68 = load i32, i32* %i, align 4 ; <i32> [#uses=1]
%69 = icmp sle i32 %68, 9 ; <i1> [#uses=1]
br i1 %69, label %bb3, label %bb5
Modified: poolalloc/trunk/test/dsa/var_arg/basic.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/basic.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/basic.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/basic.ll Sun Mar 1 16:10:46 2015
@@ -51,15 +51,15 @@ entry:
%ap5 = bitcast [1 x %struct.__va_list_tag]* %ap to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
%ap56 = bitcast %struct.__va_list_tag* %ap5 to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap56)
- %3 = load i32** %val, align 8 ; <i32*> [#uses=1]
- %4 = load i32* %3, align 4 ; <i32> [#uses=1]
+ %3 = load i32*, i32** %val, align 8 ; <i32*> [#uses=1]
+ %4 = load i32, i32* %3, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %0, align 4
- %5 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %5 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %5, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval7 = load i32* %retval ; <i32> [#uses=1]
+ %retval7 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval7
}
@@ -79,14 +79,14 @@ entry:
store i8 97, i8* %stack_val1, align 1
%1 = call i32 (i32, ...)* @get(i32 0, i32* %stack_val, i8* %stack_val1) nounwind ; <i32> [#uses=1]
store i32 %1, i32* %ret, align 4
- %2 = load i32* %ret, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %ret, align 4 ; <i32> [#uses=1]
%3 = sub nsw i32 %2, 5 ; <i32> [#uses=1]
store i32 %3, i32* %0, align 4
- %4 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/var_arg/basic_32.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/basic_32.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/basic_32.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/basic_32.ll Sun Mar 1 16:10:46 2015
@@ -30,26 +30,26 @@ entry:
store i32 %unused, i32* %unused_addr
%ap1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
call void @llvm.va_start(i8* %ap1)
- %1 = load i8** %ap, align 4 ; <i8*> [#uses=1]
+ %1 = load i8*, i8** %ap, align 4 ; <i8*> [#uses=1]
store i8* %1, i8** %ap.0, align 4
- %2 = load i8** %ap.0, align 4 ; <i8*> [#uses=1]
+ %2 = load i8*, i8** %ap.0, align 4 ; <i8*> [#uses=1]
%3 = getelementptr inbounds i8* %2, i64 4 ; <i8*> [#uses=1]
store i8* %3, i8** %ap, align 4
- %4 = load i8** %ap.0, align 4 ; <i8*> [#uses=1]
+ %4 = load i8*, i8** %ap.0, align 4 ; <i8*> [#uses=1]
%5 = bitcast i8* %4 to i32** ; <i32**> [#uses=1]
- %6 = load i32** %5, align 4 ; <i32*> [#uses=1]
+ %6 = load i32*, i32** %5, align 4 ; <i32*> [#uses=1]
store i32* %6, i32** %val, align 4
%ap2 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap2)
- %7 = load i32** %val, align 4 ; <i32*> [#uses=1]
- %8 = load i32* %7, align 4 ; <i32> [#uses=1]
+ %7 = load i32*, i32** %val, align 4 ; <i32*> [#uses=1]
+ %8 = load i32, i32* %7, align 4 ; <i32> [#uses=1]
store i32 %8, i32* %0, align 4
- %9 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %9 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %9, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval3 = load i32* %retval ; <i32> [#uses=1]
+ %retval3 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval3
}
@@ -67,14 +67,14 @@ entry:
store i32 5, i32* %stack_val, align 4
%1 = call i32 (i32, ...)* @get(i32 0, i32* %stack_val) nounwind ; <i32> [#uses=1]
store i32 %1, i32* %ret, align 4
- %2 = load i32* %ret, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %ret, align 4 ; <i32> [#uses=1]
%3 = sub nsw i32 %2, 5 ; <i32> [#uses=1]
store i32 %3, i32* %0, align 4
- %4 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/var_arg/basic_64.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/basic_64.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/basic_64.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/basic_64.ll Sun Mar 1 16:10:46 2015
@@ -40,17 +40,17 @@ entry:
call void @llvm.va_start(i8* %ap12)
%1 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%2 = getelementptr inbounds %struct.__va_list_tag* %1, i32 0, i32 0 ; <i32*> [#uses=1]
- %3 = load i32* %2, align 8 ; <i32> [#uses=1]
+ %3 = load i32, i32* %2, align 8 ; <i32> [#uses=1]
%4 = icmp uge i32 %3, 48 ; <i1> [#uses=1]
br i1 %4, label %bb3, label %bb
bb: ; preds = %entry
%5 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%6 = getelementptr inbounds %struct.__va_list_tag* %5, i32 0, i32 3 ; <i8**> [#uses=1]
- %7 = load i8** %6, align 8 ; <i8*> [#uses=1]
+ %7 = load i8*, i8** %6, align 8 ; <i8*> [#uses=1]
%8 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%9 = getelementptr inbounds %struct.__va_list_tag* %8, i32 0, i32 0 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 8 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 8 ; <i32> [#uses=1]
%11 = inttoptr i32 %10 to i8* ; <i8*> [#uses=1]
%12 = ptrtoint i8* %7 to i64 ; <i64> [#uses=1]
%13 = ptrtoint i8* %11 to i64 ; <i64> [#uses=1]
@@ -59,7 +59,7 @@ bb:
store i8* %15, i8** %addr.0, align 8
%16 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%17 = getelementptr inbounds %struct.__va_list_tag* %16, i32 0, i32 0 ; <i32*> [#uses=1]
- %18 = load i32* %17, align 8 ; <i32> [#uses=1]
+ %18 = load i32, i32* %17, align 8 ; <i32> [#uses=1]
%19 = add i32 %18, 8 ; <i32> [#uses=1]
%20 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%21 = getelementptr inbounds %struct.__va_list_tag* %20, i32 0, i32 0 ; <i32*> [#uses=1]
@@ -69,7 +69,7 @@ bb:
bb3: ; preds = %entry
%22 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%23 = getelementptr inbounds %struct.__va_list_tag* %22, i32 0, i32 2 ; <i8**> [#uses=1]
- %24 = load i8** %23, align 8 ; <i8*> [#uses=2]
+ %24 = load i8*, i8** %23, align 8 ; <i8*> [#uses=2]
store i8* %24, i8** %addr.0, align 8
%25 = getelementptr inbounds i8* %24, i64 8 ; <i8*> [#uses=1]
%26 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
@@ -78,22 +78,22 @@ bb3:
br label %bb4
bb4: ; preds = %bb3, %bb
- %28 = load i8** %addr.0, align 8 ; <i8*> [#uses=1]
+ %28 = load i8*, i8** %addr.0, align 8 ; <i8*> [#uses=1]
%29 = bitcast i8* %28 to i32** ; <i32**> [#uses=1]
- %30 = load i32** %29, align 8 ; <i32*> [#uses=1]
+ %30 = load i32*, i32** %29, align 8 ; <i32*> [#uses=1]
store i32* %30, i32** %val, align 8
%ap5 = bitcast [1 x %struct.__va_list_tag]* %ap to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
%ap56 = bitcast %struct.__va_list_tag* %ap5 to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap56)
- %31 = load i32** %val, align 8 ; <i32*> [#uses=1]
- %32 = load i32* %31, align 4 ; <i32> [#uses=1]
+ %31 = load i32*, i32** %val, align 8 ; <i32*> [#uses=1]
+ %32 = load i32, i32* %31, align 4 ; <i32> [#uses=1]
store i32 %32, i32* %0, align 4
- %33 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %33 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %33, i32* %retval, align 4
br label %return
return: ; preds = %bb4
- %retval7 = load i32* %retval ; <i32> [#uses=1]
+ %retval7 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval7
}
@@ -111,14 +111,14 @@ entry:
store i32 5, i32* %stack_val, align 4
%1 = call i32 (i32, ...)* @get(i32 0, i32* %stack_val) nounwind ; <i32> [#uses=1]
store i32 %1, i32* %ret, align 4
- %2 = load i32* %ret, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %ret, align 4 ; <i32> [#uses=1]
%3 = sub nsw i32 %2, 5 ; <i32> [#uses=1]
store i32 %3, i32* %0, align 4
- %4 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %4 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %4, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/var_arg/print.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/print.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/print.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/print.ll Sun Mar 1 16:10:46 2015
@@ -25,7 +25,7 @@ entry:
%ap1 = bitcast [1 x %struct.__va_list_tag]* %ap to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
%ap12 = bitcast %struct.__va_list_tag* %ap1 to i8* ; <i8*> [#uses=1]
call void @llvm.va_start(i8* %ap12)
- %1 = load i8** %fmt_addr, align 8 ; <i8*> [#uses=1]
+ %1 = load i8*, i8** %fmt_addr, align 8 ; <i8*> [#uses=1]
%ap3 = bitcast [1 x %struct.__va_list_tag]* %ap to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
%2 = call i32 @vprintf(i8* noalias %1, %struct.__va_list_tag* %ap3) nounwind ; <i32> [#uses=0]
%ap4 = bitcast [1 x %struct.__va_list_tag]* %ap to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
@@ -55,7 +55,7 @@ entry:
store i32* %1, i32** %x, align 8
call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([22 x i8]* @.str, i64 0, i64 0), i32 1234, i32 1234, double 1.232200e+02, double 1.234500e+02) nounwind
call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([12 x i8]* @.str1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8]* @.str2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8]* @.str3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8]* @.str4, i64 0, i64 0)) nounwind
- %2 = load i32** %x, align 8 ; <i32*> [#uses=1]
+ %2 = load i32*, i32** %x, align 8 ; <i32*> [#uses=1]
call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([15 x i8]* @.str5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8]* @.str2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8]* @.str3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8]* @.str4, i64 0, i64 0), i32* %2) nounwind
br label %return
Modified: poolalloc/trunk/test/dsa/var_arg/va_copy_32.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/va_copy_32.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/va_copy_32.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/va_copy_32.ll Sun Mar 1 16:10:46 2015
@@ -27,45 +27,45 @@ entry:
store i32 %unused, i32* %unused_addr
%ap1 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
call void @llvm.va_start(i8* %ap1)
- %1 = load i8** %ap, align 4 ; <i8*> [#uses=1]
+ %1 = load i8*, i8** %ap, align 4 ; <i8*> [#uses=1]
store i8* %1, i8** %memtmp
%ap_copy2 = bitcast i8** %ap_copy to i8* ; <i8*> [#uses=1]
%memtmp3 = bitcast i8** %memtmp to i8* ; <i8*> [#uses=1]
call void @llvm.va_copy(i8* %ap_copy2, i8* %memtmp3)
- %2 = load i8** %ap, align 4 ; <i8*> [#uses=1]
+ %2 = load i8*, i8** %ap, align 4 ; <i8*> [#uses=1]
store i8* %2, i8** %ap.1, align 4
- %3 = load i8** %ap.1, align 4 ; <i8*> [#uses=1]
+ %3 = load i8*, i8** %ap.1, align 4 ; <i8*> [#uses=1]
%4 = getelementptr inbounds i8* %3, i64 4 ; <i8*> [#uses=1]
store i8* %4, i8** %ap, align 4
- %5 = load i8** %ap.1, align 4 ; <i8*> [#uses=1]
+ %5 = load i8*, i8** %ap.1, align 4 ; <i8*> [#uses=1]
%6 = bitcast i8* %5 to i32** ; <i32**> [#uses=1]
- %7 = load i32** %6, align 4 ; <i32*> [#uses=1]
+ %7 = load i32*, i32** %6, align 4 ; <i32*> [#uses=1]
store i32* %7, i32** @val1, align 4
%ap4 = bitcast i8** %ap to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap4)
- %8 = load i8** %ap_copy, align 4 ; <i8*> [#uses=1]
+ %8 = load i8*, i8** %ap_copy, align 4 ; <i8*> [#uses=1]
store i8* %8, i8** %ap_copy.3, align 4
- %9 = load i8** %ap_copy.3, align 4 ; <i8*> [#uses=1]
+ %9 = load i8*, i8** %ap_copy.3, align 4 ; <i8*> [#uses=1]
%10 = getelementptr inbounds i8* %9, i64 4 ; <i8*> [#uses=1]
store i8* %10, i8** %ap_copy, align 4
- %11 = load i8** %ap_copy.3, align 4 ; <i8*> [#uses=1]
+ %11 = load i8*, i8** %ap_copy.3, align 4 ; <i8*> [#uses=1]
%12 = bitcast i8* %11 to i32** ; <i32**> [#uses=1]
- %13 = load i32** %12, align 4 ; <i32*> [#uses=1]
+ %13 = load i32*, i32** %12, align 4 ; <i32*> [#uses=1]
store i32* %13, i32** @val2, align 4
%ap_copy5 = bitcast i8** %ap_copy to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap_copy5)
- %14 = load i32** @val1, align 4 ; <i32*> [#uses=1]
- %15 = load i32* %14, align 4 ; <i32> [#uses=1]
- %16 = load i32** @val2, align 4 ; <i32*> [#uses=1]
- %17 = load i32* %16, align 4 ; <i32> [#uses=1]
+ %14 = load i32*, i32** @val1, align 4 ; <i32*> [#uses=1]
+ %15 = load i32, i32* %14, align 4 ; <i32> [#uses=1]
+ %16 = load i32*, i32** @val2, align 4 ; <i32*> [#uses=1]
+ %17 = load i32, i32* %16, align 4 ; <i32> [#uses=1]
%18 = sub nsw i32 %15, %17 ; <i32> [#uses=1]
store i32 %18, i32* %0, align 4
- %19 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %19 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %19, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval6 = load i32* %retval ; <i32> [#uses=1]
+ %retval6 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval6
}
@@ -85,13 +85,13 @@ entry:
store i32 5, i32* %stack_val, align 4
%1 = call i32 (i32, ...)* @get(i32 0, i32* %stack_val) nounwind ; <i32> [#uses=1]
store i32 %1, i32* %ret, align 4
- %2 = load i32* %ret, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %ret, align 4 ; <i32> [#uses=1]
store i32 %2, i32* %0, align 4
- %3 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %3, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/dsa/var_arg/va_copy_64.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/va_copy_64.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/va_copy_64.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/va_copy_64.ll Sun Mar 1 16:10:46 2015
@@ -35,17 +35,17 @@ entry:
call void @llvm.va_copy(i8* %ap_copy35, i8* %ap46)
%1 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%2 = getelementptr inbounds %struct.__va_list_tag* %1, i32 0, i32 0 ; <i32*> [#uses=1]
- %3 = load i32* %2, align 8 ; <i32> [#uses=1]
+ %3 = load i32, i32* %2, align 8 ; <i32> [#uses=1]
%4 = icmp uge i32 %3, 48 ; <i1> [#uses=1]
br i1 %4, label %bb7, label %bb
bb: ; preds = %entry
%5 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%6 = getelementptr inbounds %struct.__va_list_tag* %5, i32 0, i32 3 ; <i8**> [#uses=1]
- %7 = load i8** %6, align 8 ; <i8*> [#uses=1]
+ %7 = load i8*, i8** %6, align 8 ; <i8*> [#uses=1]
%8 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%9 = getelementptr inbounds %struct.__va_list_tag* %8, i32 0, i32 0 ; <i32*> [#uses=1]
- %10 = load i32* %9, align 8 ; <i32> [#uses=1]
+ %10 = load i32, i32* %9, align 8 ; <i32> [#uses=1]
%11 = inttoptr i32 %10 to i8* ; <i8*> [#uses=1]
%12 = ptrtoint i8* %7 to i64 ; <i64> [#uses=1]
%13 = ptrtoint i8* %11 to i64 ; <i64> [#uses=1]
@@ -54,7 +54,7 @@ bb:
store i8* %15, i8** %addr.0, align 8
%16 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%17 = getelementptr inbounds %struct.__va_list_tag* %16, i32 0, i32 0 ; <i32*> [#uses=1]
- %18 = load i32* %17, align 8 ; <i32> [#uses=1]
+ %18 = load i32, i32* %17, align 8 ; <i32> [#uses=1]
%19 = add i32 %18, 8 ; <i32> [#uses=1]
%20 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%21 = getelementptr inbounds %struct.__va_list_tag* %20, i32 0, i32 0 ; <i32*> [#uses=1]
@@ -64,7 +64,7 @@ bb:
bb7: ; preds = %entry
%22 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%23 = getelementptr inbounds %struct.__va_list_tag* %22, i32 0, i32 2 ; <i8**> [#uses=1]
- %24 = load i8** %23, align 8 ; <i8*> [#uses=2]
+ %24 = load i8*, i8** %23, align 8 ; <i8*> [#uses=2]
store i8* %24, i8** %addr.0, align 8
%25 = getelementptr inbounds i8* %24, i64 8 ; <i8*> [#uses=1]
%26 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
@@ -73,26 +73,26 @@ bb7:
br label %bb8
bb8: ; preds = %bb7, %bb
- %28 = load i8** %addr.0, align 8 ; <i8*> [#uses=1]
+ %28 = load i8*, i8** %addr.0, align 8 ; <i8*> [#uses=1]
%29 = bitcast i8* %28 to i32** ; <i32**> [#uses=1]
- %30 = load i32** %29, align 8 ; <i32*> [#uses=1]
+ %30 = load i32*, i32** %29, align 8 ; <i32*> [#uses=1]
store i32* %30, i32** @val1, align 8
%ap9 = bitcast [1 x %struct.__va_list_tag]* %ap to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
%ap910 = bitcast %struct.__va_list_tag* %ap9 to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap910)
%31 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%32 = getelementptr inbounds %struct.__va_list_tag* %31, i32 0, i32 0 ; <i32*> [#uses=1]
- %33 = load i32* %32, align 8 ; <i32> [#uses=1]
+ %33 = load i32, i32* %32, align 8 ; <i32> [#uses=1]
%34 = icmp uge i32 %33, 48 ; <i1> [#uses=1]
br i1 %34, label %bb12, label %bb11
bb11: ; preds = %bb8
%35 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%36 = getelementptr inbounds %struct.__va_list_tag* %35, i32 0, i32 3 ; <i8**> [#uses=1]
- %37 = load i8** %36, align 8 ; <i8*> [#uses=1]
+ %37 = load i8*, i8** %36, align 8 ; <i8*> [#uses=1]
%38 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%39 = getelementptr inbounds %struct.__va_list_tag* %38, i32 0, i32 0 ; <i32*> [#uses=1]
- %40 = load i32* %39, align 8 ; <i32> [#uses=1]
+ %40 = load i32, i32* %39, align 8 ; <i32> [#uses=1]
%41 = inttoptr i32 %40 to i8* ; <i8*> [#uses=1]
%42 = ptrtoint i8* %37 to i64 ; <i64> [#uses=1]
%43 = ptrtoint i8* %41 to i64 ; <i64> [#uses=1]
@@ -101,7 +101,7 @@ bb11:
store i8* %45, i8** %addr.2, align 8
%46 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%47 = getelementptr inbounds %struct.__va_list_tag* %46, i32 0, i32 0 ; <i32*> [#uses=1]
- %48 = load i32* %47, align 8 ; <i32> [#uses=1]
+ %48 = load i32, i32* %47, align 8 ; <i32> [#uses=1]
%49 = add i32 %48, 8 ; <i32> [#uses=1]
%50 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%51 = getelementptr inbounds %struct.__va_list_tag* %50, i32 0, i32 0 ; <i32*> [#uses=1]
@@ -111,7 +111,7 @@ bb11:
bb12: ; preds = %bb8
%52 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
%53 = getelementptr inbounds %struct.__va_list_tag* %52, i32 0, i32 2 ; <i8**> [#uses=1]
- %54 = load i8** %53, align 8 ; <i8*> [#uses=2]
+ %54 = load i8*, i8** %53, align 8 ; <i8*> [#uses=2]
store i8* %54, i8** %addr.2, align 8
%55 = getelementptr inbounds i8* %54, i64 8 ; <i8*> [#uses=1]
%56 = getelementptr inbounds [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
@@ -120,25 +120,25 @@ bb12:
br label %bb13
bb13: ; preds = %bb12, %bb11
- %58 = load i8** %addr.2, align 8 ; <i8*> [#uses=1]
+ %58 = load i8*, i8** %addr.2, align 8 ; <i8*> [#uses=1]
%59 = bitcast i8* %58 to i32** ; <i32**> [#uses=1]
- %60 = load i32** %59, align 8 ; <i32*> [#uses=1]
+ %60 = load i32*, i32** %59, align 8 ; <i32*> [#uses=1]
store i32* %60, i32** @val2, align 8
%ap_copy14 = bitcast [1 x %struct.__va_list_tag]* %ap_copy to %struct.__va_list_tag* ; <%struct.__va_list_tag*> [#uses=1]
%ap_copy1415 = bitcast %struct.__va_list_tag* %ap_copy14 to i8* ; <i8*> [#uses=1]
call void @llvm.va_end(i8* %ap_copy1415)
- %61 = load i32** @val1, align 8 ; <i32*> [#uses=1]
- %62 = load i32* %61, align 4 ; <i32> [#uses=1]
- %63 = load i32** @val2, align 8 ; <i32*> [#uses=1]
- %64 = load i32* %63, align 4 ; <i32> [#uses=1]
+ %61 = load i32*, i32** @val1, align 8 ; <i32*> [#uses=1]
+ %62 = load i32, i32* %61, align 4 ; <i32> [#uses=1]
+ %63 = load i32*, i32** @val2, align 8 ; <i32*> [#uses=1]
+ %64 = load i32, i32* %63, align 4 ; <i32> [#uses=1]
%65 = sub nsw i32 %62, %64 ; <i32> [#uses=1]
store i32 %65, i32* %0, align 4
- %66 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %66 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %66, i32* %retval, align 4
br label %return
return: ; preds = %bb13
- %retval16 = load i32* %retval ; <i32> [#uses=1]
+ %retval16 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval16
}
@@ -158,13 +158,13 @@ entry:
store i32 5, i32* %stack_val, align 4
%1 = call i32 (i32, ...)* @get(i32 0, i32* %stack_val) nounwind ; <i32> [#uses=1]
store i32 %1, i32* %ret, align 4
- %2 = load i32* %ret, align 4 ; <i32> [#uses=1]
+ %2 = load i32, i32* %ret, align 4 ; <i32> [#uses=1]
store i32 %2, i32* %0, align 4
- %3 = load i32* %0, align 4 ; <i32> [#uses=1]
+ %3 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %3, i32* %retval, align 4
br label %return
return: ; preds = %entry
- %retval1 = load i32* %retval ; <i32> [#uses=1]
+ %retval1 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval1
}
Modified: poolalloc/trunk/test/pa/clone/Incomplete.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/pa/clone/Incomplete.ll?rev=230915&r1=230914&r2=230915&view=diff
==============================================================================
--- poolalloc/trunk/test/pa/clone/Incomplete.ll (original)
+++ poolalloc/trunk/test/pa/clone/Incomplete.ll Sun Mar 1 16:10:46 2015
@@ -53,13 +53,13 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store void (i8*)* bitcast (void (void (i8*)**)* @A to void (i8*)*), void (i8*)** %F, align 8
store void (i8*)* bitcast (void (void (i8*)**)* @C to void (i8*)*), void (i8*)** %F1, align 8
- %0 = load void (i8*)** %F, align 8 ; <void (i8*)*> [#uses=1]
+ %0 = load void (i8*)*, void (i8*)** %F, align 8 ; <void (i8*)*> [#uses=1]
%F2 = bitcast void (i8*)** %F to i8* ; <i8*> [#uses=1]
call void %0(i8* %F2) nounwind
call void @B(void (i8*)** %F) nounwind
br label %return
return: ; preds = %entry
- %retval3 = load i32* %retval ; <i32> [#uses=1]
+ %retval3 = load i32, i32* %retval ; <i32> [#uses=1]
ret i32 %retval3
}
More information about the llvm-commits
mailing list