[poolalloc] r230916 - Update IR in tests to accomodate r230786: explicit type param to GEP

Will Dietz wdietz2 at illinois.edu
Sun Mar 1 14:11:48 PST 2015


Author: wdietz2
Date: Sun Mar  1 16:11:47 2015
New Revision: 230916

URL: http://llvm.org/viewvc/llvm-project?rev=230916&view=rev
Log:
Update IR in tests to accomodate r230786: explicit type param to GEP

Used migration scripts from http://reviews.llvm.org/D7636.

Modified:
    poolalloc/trunk/test/dsa/callgraph/class.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/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/varargs.ll
    poolalloc/trunk/test/dsa/extern/extern_global.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/multidimarray.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/struct_malloc.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-04-29.StructOOBIndex.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/2014-05-06.PR19175-CollapseVA.ll
    poolalloc/trunk/test/dsa/td/checkIncomplete.ll
    poolalloc/trunk/test/dsa/td/params1.ll
    poolalloc/trunk/test/dsa/td/recur1.ll
    poolalloc/trunk/test/dsa/td/recur2.ll
    poolalloc/trunk/test/dsa/types/array2struct.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_32.ll
    poolalloc/trunk/test/dsa/var_arg/basic_64.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/computeNodeMappingFail.ll

Modified: poolalloc/trunk/test/dsa/callgraph/class.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/class.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/class.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/class.ll Sun Mar  1 16:11:47 2015
@@ -61,10 +61,10 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %2 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %3 = load i32 (...)**, i32 (...)*** %2, align 8              ; <i32 (...)**> [#uses=1]
-  %4 = getelementptr inbounds i32 (...)** %3, i64 1 ; <i32 (...)**> [#uses=1]
+  %4 = getelementptr inbounds i32 (...)*, i32 (...)** %3, i64 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*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#uses=1]
@@ -112,9 +112,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
-  %3 = getelementptr inbounds %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %3 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %4 = load i32 (...)**, i32 (...)*** %3, align 8              ; <i32 (...)**> [#uses=1]
-  %5 = getelementptr inbounds i32 (...)** %4, i64 0 ; <i32 (...)**> [#uses=1]
+  %5 = getelementptr inbounds i32 (...)*, i32 (...)** %4, i64 0 ; <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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
@@ -135,7 +135,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -149,7 +149,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -163,11 +163,11 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %4 = getelementptr inbounds %struct.BaseClass, %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
   br label %return
 

Modified: poolalloc/trunk/test/dsa/callgraph/inheritance1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance1.ll Sun Mar  1 16:11:47 2015
@@ -69,30 +69,30 @@ entry:
   call void @_ZN13DerivedClass2C1Ev(%struct.DerivedClass2* %derivedObject2) nounwind
   store %struct.BaseClass* %ob, %struct.BaseClass** %p, align 8
   %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]
+  %2 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %3 = load i32 (...)**, i32 (...)*** %2, align 8              ; <i32 (...)**> [#uses=1]
-  %4 = getelementptr inbounds i32 (...)** %3, i64 0 ; <i32 (...)**> [#uses=1]
+  %4 = getelementptr inbounds i32 (...)*, i32 (...)** %3, i64 0 ; <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*, %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]
+  %8 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %derivedObject1, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   store %struct.BaseClass* %8, %struct.BaseClass** %p, align 8
   %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]
+  %10 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %9, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %11 = load i32 (...)**, i32 (...)*** %10, align 8            ; <i32 (...)**> [#uses=1]
-  %12 = getelementptr inbounds i32 (...)** %11, i64 0 ; <i32 (...)**> [#uses=1]
+  %12 = getelementptr inbounds i32 (...)*, i32 (...)** %11, i64 0 ; <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*, %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]
+  %16 = getelementptr inbounds %struct.DerivedClass2, %struct.DerivedClass2* %derivedObject2, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
+  %17 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %16, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   store %struct.BaseClass* %17, %struct.BaseClass** %p, align 8
   %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]
+  %19 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %20 = load i32 (...)**, i32 (...)*** %19, align 8            ; <i32 (...)**> [#uses=1]
-  %21 = getelementptr inbounds i32 (...)** %20, i64 0 ; <i32 (...)**> [#uses=1]
+  %21 = getelementptr inbounds i32 (...)*, i32 (...)** %20, i64 0 ; <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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
@@ -122,7 +122,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -148,7 +148,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -162,11 +162,11 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %4 = getelementptr inbounds %struct.BaseClass, %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
   br label %return
 
@@ -192,11 +192,11 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %4 = getelementptr inbounds %struct.BaseClass, %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
   br label %return
 
@@ -210,12 +210,12 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass2* %this, %struct.DerivedClass2** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass2, %struct.DerivedClass2* %0, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
   call void @_ZN13DerivedClass1C2Ev(%struct.DerivedClass1* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass2, %struct.DerivedClass2* %2, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
+  %4 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %3, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %5 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %4, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass2, i64 0, i64 2), i32 (...)*** %5, align 8
   br label %return
 

Modified: poolalloc/trunk/test/dsa/callgraph/inheritance2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance2.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance2.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance2.ll Sun Mar  1 16:11:47 2015
@@ -122,9 +122,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
-  %3 = getelementptr inbounds %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %3 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %4 = load i32 (...)**, i32 (...)*** %3, align 8              ; <i32 (...)**> [#uses=1]
-  %5 = getelementptr inbounds i32 (...)** %4, i64 0 ; <i32 (...)**> [#uses=1]
+  %5 = getelementptr inbounds i32 (...)*, i32 (...)** %4, i64 0 ; <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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
@@ -132,9 +132,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
-  %11 = getelementptr inbounds %struct.BaseClass* %10, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %11 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %10, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %12 = load i32 (...)**, i32 (...)*** %11, align 8            ; <i32 (...)**> [#uses=1]
-  %13 = getelementptr inbounds i32 (...)** %12, i64 0 ; <i32 (...)**> [#uses=1]
+  %13 = getelementptr inbounds i32 (...)*, i32 (...)** %12, i64 0 ; <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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
@@ -142,9 +142,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
-  %19 = getelementptr inbounds %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %19 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %20 = load i32 (...)**, i32 (...)*** %19, align 8            ; <i32 (...)**> [#uses=1]
-  %21 = getelementptr inbounds i32 (...)** %20, i64 0 ; <i32 (...)**> [#uses=1]
+  %21 = getelementptr inbounds i32 (...)*, i32 (...)** %20, i64 0 ; <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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
@@ -203,7 +203,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -217,7 +217,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -231,11 +231,11 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %4 = getelementptr inbounds %struct.BaseClass, %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
   br label %return
 
@@ -249,11 +249,11 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %4 = getelementptr inbounds %struct.BaseClass, %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
   br label %return
 
@@ -267,12 +267,12 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass2* %this, %struct.DerivedClass2** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass2, %struct.DerivedClass2* %0, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
   call void @_ZN13DerivedClass1C2Ev(%struct.DerivedClass1* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass2, %struct.DerivedClass2* %2, i32 0, i32 0 ; <%struct.DerivedClass1*> [#uses=1]
+  %4 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %3, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %5 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %4, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   store i32 (...)** getelementptr inbounds ([3 x i32 (...)*]* @_ZTV13DerivedClass2, i64 0, i64 2), i32 (...)*** %5, align 8
   br label %return
 

Modified: poolalloc/trunk/test/dsa/callgraph/inheritance3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance3.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance3.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance3.ll Sun Mar  1 16:11:47 2015
@@ -106,9 +106,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
-  %2 = getelementptr inbounds %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %2 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %1, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %3 = load i32 (...)**, i32 (...)*** %2, align 8              ; <i32 (...)**> [#uses=1]
-  %4 = getelementptr inbounds i32 (...)** %3, i64 0 ; <i32 (...)**> [#uses=1]
+  %4 = getelementptr inbounds i32 (...)*, i32 (...)** %3, i64 0 ; <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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
@@ -128,9 +128,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
-  %3 = getelementptr inbounds %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %3 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %2, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %4 = load i32 (...)**, i32 (...)*** %3, align 8              ; <i32 (...)**> [#uses=1]
-  %5 = getelementptr inbounds i32 (...)** %4, i64 0 ; <i32 (...)**> [#uses=1]
+  %5 = getelementptr inbounds i32 (...)*, i32 (...)** %4, i64 0 ; <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*, %struct.BaseClass** %p, align 8       ; <%struct.BaseClass*> [#uses=1]
@@ -138,9 +138,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
-  %11 = getelementptr inbounds %struct.BaseClass* %10, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %11 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %10, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %12 = load i32 (...)**, i32 (...)*** %11, align 8            ; <i32 (...)**> [#uses=1]
-  %13 = getelementptr inbounds i32 (...)** %12, i64 0 ; <i32 (...)**> [#uses=1]
+  %13 = getelementptr inbounds i32 (...)*, i32 (...)** %12, i64 0 ; <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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
@@ -148,9 +148,9 @@ entry:
   %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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
-  %19 = getelementptr inbounds %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
+  %19 = getelementptr inbounds %struct.BaseClass, %struct.BaseClass* %18, i32 0, i32 0 ; <i32 (...)***> [#uses=1]
   %20 = load i32 (...)**, i32 (...)*** %19, align 8            ; <i32 (...)**> [#uses=1]
-  %21 = getelementptr inbounds i32 (...)** %20, i64 0 ; <i32 (...)**> [#uses=1]
+  %21 = getelementptr inbounds i32 (...)*, i32 (...)** %20, i64 0 ; <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*, %struct.BaseClass** %p, align 8      ; <%struct.BaseClass*> [#uses=1]
@@ -198,7 +198,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -212,7 +212,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.BaseClass, %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
 
@@ -226,11 +226,11 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
   %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]
+  %1 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %0, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
   call void @_ZN9BaseClassC2Ev(%struct.BaseClass* %1) nounwind
   %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]
+  %3 = getelementptr inbounds %struct.DerivedClass1, %struct.DerivedClass1* %2, i32 0, i32 0 ; <%struct.BaseClass*> [#uses=1]
+  %4 = getelementptr inbounds %struct.BaseClass, %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
   br label %return
 

Modified: poolalloc/trunk/test/dsa/callgraph/loop1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/loop1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/loop1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/loop1.ll Sun Mar  1 16:11:47 2015
@@ -92,7 +92,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.S* %o, %struct.S** %o_addr
   %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]
+  %1 = getelementptr inbounds %struct.S, %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
 
@@ -109,7 +109,7 @@ entry:
   store %struct.S* %1, %struct.S** %t, align 8
   %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]
+  %4 = getelementptr inbounds %struct.S, %struct.S* %3, i32 0, i32 0 ; <i32* (i32*)**> [#uses=1]
   store i32* (i32*)* %2, i32* (i32*)** %4, align 8
   %5 = load %struct.S*, %struct.S** %t, align 8               ; <%struct.S*> [#uses=1]
   call void @init2(%struct.S* %5) nounwind

Modified: poolalloc/trunk/test/dsa/callgraph/pr7799.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/pr7799.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/pr7799.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/pr7799.ll Sun Mar  1 16:11:47 2015
@@ -34,8 +34,8 @@ define i32 @main(i32 %argc, i8*** %argv)
 entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   %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]
+  %1 = getelementptr inbounds [2 x %struct.combo], [2 x %struct.combo]* @farray, i64 0, i64 %0 ; <%struct.combo*> [#uses=1]
+  %2 = getelementptr inbounds %struct.combo, %struct.combo* %1, i32 0, i32 1 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll Sun Mar  1 16:11:47 2015
@@ -56,8 +56,8 @@ entry:
 bb:                                               ; preds = %bb3
   %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]
+  %3 = getelementptr inbounds [2 x %struct.parse_table], [2 x %struct.parse_table]* @table, i64 0, i64 %2 ; <%struct.parse_table*> [#uses=1]
+  %4 = getelementptr inbounds %struct.parse_table, %struct.parse_table* %3, i32 0, i32 0 ; <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]
@@ -67,8 +67,8 @@ bb:
 bb1:                                              ; preds = %bb
   %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]
+  %11 = getelementptr inbounds [2 x %struct.parse_table], [2 x %struct.parse_table]* @table, i64 0, i64 %10 ; <%struct.parse_table*> [#uses=1]
+  %12 = getelementptr inbounds %struct.parse_table, %struct.parse_table* %11, i32 0, i32 1 ; <i32 ()**> [#uses=1]
   %13 = load i32 ()*, i32 ()** %12, align 8                ; <i32 ()*> [#uses=1]
   store i32 ()* %13, i32 ()** %0, align 8
   br label %bb5
@@ -110,7 +110,7 @@ entry:
   store i32 %argc, i32* %argc_addr
   store i8** %argv, i8*** %argv_addr
   %0 = load i8**, i8*** %argv_addr, align 8             ; <i8**> [#uses=1]
-  %1 = getelementptr inbounds i8** %0, i64 1      ; <i8**> [#uses=1]
+  %1 = getelementptr inbounds i8*, i8** %0, i64 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

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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll Sun Mar  1 16:11:47 2015
@@ -55,8 +55,8 @@ entry:
 bb:                                               ; preds = %bb3
   %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]
+  %3 = getelementptr inbounds [2 x %struct.parse_table], [2 x %struct.parse_table]* @table, i64 0, i64 %2 ; <%struct.parse_table*> [#uses=1]
+  %4 = getelementptr inbounds %struct.parse_table, %struct.parse_table* %3, i32 0, i32 0 ; <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]
@@ -66,8 +66,8 @@ bb:
 bb1:                                              ; preds = %bb
   %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]
+  %11 = getelementptr inbounds [2 x %struct.parse_table], [2 x %struct.parse_table]* @table, i64 0, i64 %10 ; <%struct.parse_table*> [#uses=1]
+  %12 = getelementptr inbounds %struct.parse_table, %struct.parse_table* %11, i32 0, i32 1 ; <i32 ()**> [#uses=1]
   %13 = load i32 ()*, i32 ()** %12, align 8                ; <i32 ()*> [#uses=1]
   store i32 ()* %13, i32 ()** %0, align 8
   br label %bb5
@@ -109,7 +109,7 @@ entry:
   store i32 %argc, i32* %argc_addr
   store i8** %argv, i8*** %argv_addr
   %0 = load i8**, i8*** %argv_addr, align 8             ; <i8**> [#uses=1]
-  %1 = getelementptr inbounds i8** %0, i64 1      ; <i8**> [#uses=1]
+  %1 = getelementptr inbounds i8*, i8** %0, i64 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

Modified: poolalloc/trunk/test/dsa/callgraph/test1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/test1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/test1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/test1.ll Sun Mar  1 16:11:47 2015
@@ -18,18 +18,18 @@ entry:
   %"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*, %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]
+  %2 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %1, i32 0, i32 0 ; <i32 (i8*)**> [#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]
+  %5 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %4, i32 0, i32 2 ; <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*, %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]
+  %9 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %8, i32 0, i32 1 ; <void (i32, i8*)**> [#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]
+  %12 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %11, i32 0, i32 2 ; <i8**> [#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
@@ -55,7 +55,7 @@ entry:
   store %struct.gen_readio* %f, %struct.gen_readio** %f_addr
   store i32 (i8*)* %fcn, i32 (i8*)** %fcn_addr
   %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]
+  %1 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %0, i32 0, i32 0 ; <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
@@ -74,15 +74,15 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store %struct.FILE* %f, %struct.FILE** %f_addr
   call void @init(%struct.gen_readio* %s, i32 (i8*)* bitcast (i32 (%struct.FILE*)* @f_getc to i32 (i8*)*)) nounwind
-  %1 = getelementptr inbounds %struct.gen_readio* %s, i32 0, i32 1 ; <void (i32, i8*)**> [#uses=1]
+  %1 = getelementptr inbounds %struct.gen_readio, %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]
+  %2 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %s, i32 0, i32 2 ; <i8**> [#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]
+  %5 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %s, i32 0, i32 1 ; <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]
+  %7 = getelementptr inbounds %struct.gen_readio, %struct.gen_readio* %s, i32 0, i32 2 ; <i8**> [#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

Modified: poolalloc/trunk/test/dsa/callgraph/varargs.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/varargs.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/varargs.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/varargs.ll Sun Mar  1 16:11:47 2015
@@ -46,18 +46,18 @@ 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)
-  %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]
+  %0 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %1 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %0, i32 0, i32 0 ; <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]
+  %4 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %5 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %4, i32 0, i32 3 ; <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]
+  %7 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %8 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %7, i32 0, i32 0 ; <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]
@@ -65,23 +65,23 @@ bb:
   %13 = add i64 %11, %12                          ; <i64> [#uses=1]
   %14 = inttoptr i64 %13 to i8*                   ; <i8*> [#uses=1]
   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]
+  %15 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %16 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %15, i32 0, i32 0 ; <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]
+  %19 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %20 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %19, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 %18, i32* %20, align 8
   br label %bb4
 
 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]
+  %21 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %22 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %21, i32 0, i32 2 ; <i8**> [#uses=1]
   %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]
-  %26 = getelementptr inbounds %struct.__va_list_tag* %25, i32 0, i32 2 ; <i8**> [#uses=1]
+  %24 = getelementptr inbounds i8, i8* %23, i64 8     ; <i8*> [#uses=1]
+  %25 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %26 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %25, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %24, i8** %26, align 8
   br label %bb4
 
@@ -96,18 +96,18 @@ bb4:
 bb5:                                              ; preds = %bb9
   %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]
+  %31 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %32 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %31, i32 0, i32 0 ; <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]
+  %35 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %36 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %35, i32 0, i32 3 ; <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]
+  %38 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %39 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %38, i32 0, i32 0 ; <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]
@@ -115,23 +115,23 @@ bb6:
   %44 = add i64 %42, %43                          ; <i64> [#uses=1]
   %45 = inttoptr i64 %44 to i8*                   ; <i8*> [#uses=1]
   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]
+  %46 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %47 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %46, i32 0, i32 0 ; <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]
+  %50 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %51 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %50, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 %49, i32* %51, align 8
   br label %bb8
 
 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]
+  %52 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %53 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %52, i32 0, i32 2 ; <i8**> [#uses=1]
   %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]
-  %57 = getelementptr inbounds %struct.__va_list_tag* %56, i32 0, i32 2 ; <i8**> [#uses=1]
+  %55 = getelementptr inbounds i8, i8* %54, i64 8     ; <i8*> [#uses=1]
+  %56 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %57 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %56, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %55, i8** %57, align 8
   br label %bb8
 

Modified: poolalloc/trunk/test/dsa/extern/extern_global.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/extern/extern_global.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern_global.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern_global.ll Sun Mar  1 16:11:47 2015
@@ -36,9 +36,9 @@ define i32 @main() nounwind {
 entry:
 ;Create the struct and initialize it
   %s = alloca %struct.myStruct, align 8           ; <%struct.myStruct*> [#uses=1]
-  %0 = getelementptr inbounds %struct.myStruct* %s, i32 0, i32 1 ; <%struct.myStruct**> [#uses=1]
+  %0 = getelementptr inbounds %struct.myStruct, %struct.myStruct* %s, i32 0, i32 1 ; <%struct.myStruct**> [#uses=1]
   store %struct.myStruct* %s, %struct.myStruct** %0, align 8
-  %1 = getelementptr inbounds %struct.myStruct* %s, i32 0, i32 0 ; <i32*> [#uses=1]
+  %1 = getelementptr inbounds %struct.myStruct, %struct.myStruct* %s, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 100, i32* %1, align 8
 ;Store the struct into the global
   store %struct.myStruct* %s, %struct.myStruct** getelementptr inbounds (%struct.myStruct* @globalStructWithPointers, i64 0, i32 1), align 8

Modified: poolalloc/trunk/test/dsa/local/arrayPointers.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers.ll Sun Mar  1 16:11:47 2015
@@ -36,7 +36,7 @@ bb:
   %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]
+  %13 = getelementptr inbounds i32*, i32** %10, i64 %12 ; <i32**> [#uses=1]
   store i32* %9, i32** %13, align 1
   %14 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %15 = add nsw i32 %14, 1                        ; <i32> [#uses=1]
@@ -61,14 +61,14 @@ bb4:
   %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]
+  %22 = getelementptr inbounds i32*, i32** %19, i64 %21 ; <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, 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]
+  %29 = getelementptr inbounds i32, i32* %23, i64 %28  ; <i32*> [#uses=1]
   store i32 %26, i32* %29, align 1
   %30 = load i32, i32* %j, align 4                     ; <i32> [#uses=1]
   %31 = add nsw i32 %30, 1                        ; <i32> [#uses=1]

Modified: poolalloc/trunk/test/dsa/local/arrayPointers1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers1.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers1.ll Sun Mar  1 16:11:47 2015
@@ -28,7 +28,7 @@ bb:
   %4 = call noalias i8* @malloc(i64 %3) nounwind  ; <i8*> [#uses=1]
   %5 = bitcast i8* %4 to i32*                     ; <i32*> [#uses=1]
   %6 = sext i32 %0 to i64                         ; <i64> [#uses=1]
-  %7 = getelementptr inbounds [10 x i32*]* %array, i64 0, i64 %6 ; <i32**> [#uses=1]
+  %7 = getelementptr inbounds [10 x i32*], [10 x i32*]* %array, i64 0, i64 %6 ; <i32**> [#uses=1]
   store i32* %5, i32** %7, align 8
   %8 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   %9 = add nsw i32 %8, 1                          ; <i32> [#uses=1]
@@ -52,14 +52,14 @@ bb3:
 bb4:                                              ; preds = %bb5
   %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]
+  %15 = getelementptr inbounds [10 x i32*], [10 x i32*]* %array, i64 0, i64 %14 ; <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, 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]
+  %22 = getelementptr inbounds i32, i32* %16, i64 %21  ; <i32*> [#uses=1]
   store i32 %19, i32* %22, align 1
   %23 = load i32, i32* %j, align 4                     ; <i32> [#uses=1]
   %24 = add nsw i32 %23, 1                        ; <i32> [#uses=1]

Modified: poolalloc/trunk/test/dsa/local/arrayPointers2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers2.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers2.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers2.ll Sun Mar  1 16:11:47 2015
@@ -31,7 +31,7 @@ bb:
   %4 = call noalias i8* @malloc(i64 %3) nounwind  ; <i8*> [#uses=1]
   %5 = bitcast i8* %4 to %struct.structType*      ; <%struct.structType*> [#uses=1]
   %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]
+  %7 = getelementptr inbounds [10 x %struct.structType*], [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, i32* %i, align 4                      ; <i32> [#uses=1]
   %9 = add nsw i32 %8, 1                          ; <i32> [#uses=1]
@@ -55,12 +55,12 @@ bb3:
 bb4:                                              ; preds = %bb5
   %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]
+  %15 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 %14 ; <%struct.structType**> [#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]
+  %19 = getelementptr inbounds %struct.structType, %struct.structType* %16, i64 %18 ; <%struct.structType*> [#uses=1]
+  %20 = getelementptr inbounds %struct.structType, %struct.structType* %19, i32 0, i32 0 ; <i32*> [#uses=1]
   %21 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   store i32 %21, i32* %20, align 4
   %22 = load i32, i32* %j, align 4                     ; <i32> [#uses=1]
@@ -77,21 +77,21 @@ bb5:
 bb6:                                              ; preds = %bb5
   %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]
+  %29 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 %28 ; <%struct.structType**> [#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]
+  %33 = getelementptr inbounds %struct.structType, %struct.structType* %30, i64 %32 ; <%struct.structType*> [#uses=1]
+  %34 = getelementptr inbounds %struct.structType, %struct.structType* %33, i32 0, i32 1 ; <i32*> [#uses=1]
   %35 = load i32, i32* %j, align 4                     ; <i32> [#uses=1]
   store i32 %35, i32* %34, align 4
   %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]
+  %38 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 %37 ; <%struct.structType**> [#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]
+  %42 = getelementptr inbounds %struct.structType, %struct.structType* %39, i64 %41 ; <%struct.structType*> [#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]
@@ -100,7 +100,7 @@ bb6:
   %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]
+  %51 = getelementptr inbounds %struct.structType, %struct.structType* %42, i32 0, i32 2 ; <float*> [#uses=1]
   store float %50, float* %51, align 4
   %52 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %53 = add nsw i32 %52, 1                        ; <i32> [#uses=1]

Modified: poolalloc/trunk/test/dsa/local/arrayPointers3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrayPointers3.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrayPointers3.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrayPointers3.ll Sun Mar  1 16:11:47 2015
@@ -22,10 +22,10 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store i32 2, i32* %nrows, align 4
   store i32 10, i32* %ncolumns, align 4
-  %0 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 0 ; <%struct.structType**> [#uses=1]
+  %0 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 0 ; <%struct.structType**> [#uses=1]
   %row11 = bitcast [10 x %struct.structType]* %row1 to %struct.structType* ; <%struct.structType*> [#uses=1]
   store %struct.structType* %row11, %struct.structType** %0, align 8
-  %1 = getelementptr inbounds [10 x %struct.structType*]* %array, i64 0, i64 1 ; <%struct.structType**> [#uses=1]
+  %1 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 1 ; <%struct.structType**> [#uses=1]
   %row22 = bitcast [10 x %struct.structType]* %row2 to %struct.structType* ; <%struct.structType*> [#uses=1]
   store %struct.structType* %row22, %struct.structType** %1, align 8
   store i32 0, i32* %i, align 4
@@ -38,12 +38,12 @@ bb:
 bb3:                                              ; preds = %bb4
   %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]
+  %4 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 %3 ; <%struct.structType**> [#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]
+  %8 = getelementptr inbounds %struct.structType, %struct.structType* %5, i64 %7 ; <%struct.structType*> [#uses=1]
+  %9 = getelementptr inbounds %struct.structType, %struct.structType* %8, i32 0, i32 0 ; <i32*> [#uses=1]
   %10 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   store i32 %10, i32* %9, align 4
   %11 = load i32, i32* %j, align 4                     ; <i32> [#uses=1]
@@ -60,21 +60,21 @@ bb4:
 bb5:                                              ; preds = %bb4
   %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]
+  %18 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 %17 ; <%struct.structType**> [#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]
+  %22 = getelementptr inbounds %struct.structType, %struct.structType* %19, i64 %21 ; <%struct.structType*> [#uses=1]
+  %23 = getelementptr inbounds %struct.structType, %struct.structType* %22, i32 0, i32 1 ; <i32*> [#uses=1]
   %24 = load i32, i32* %j, align 4                     ; <i32> [#uses=1]
   store i32 %24, i32* %23, align 4
   %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]
+  %27 = getelementptr inbounds [10 x %struct.structType*], [10 x %struct.structType*]* %array, i64 0, i64 %26 ; <%struct.structType**> [#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]
+  %31 = getelementptr inbounds %struct.structType, %struct.structType* %28, i64 %30 ; <%struct.structType*> [#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]
@@ -83,7 +83,7 @@ bb5:
   %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]
+  %40 = getelementptr inbounds %struct.structType, %struct.structType* %31, i32 0, i32 2 ; <float*> [#uses=1]
   store float %39, float* %40, align 4
   %41 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %42 = add nsw i32 %41, 1                        ; <i32> [#uses=1]

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -22,19 +22,19 @@ entry:
   %"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, i32* %z, align 4                      ; <i32> [#uses=1]
-  %2 = getelementptr inbounds %struct.sType* %arr, i32 0, i32 1 ; <[10 x i32]*> [#uses=1]
+  %2 = getelementptr inbounds %struct.sType, %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]
+  %4 = getelementptr inbounds [10 x i32], [10 x i32]* %2, i64 0, i64 %3 ; <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]
+  %6 = getelementptr inbounds %struct.sType, %struct.sType* %arr, i32 0, i32 2 ; <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]
+  %8 = getelementptr inbounds %struct.sType, %struct.sType* %arr, i32 0, i32 1 ; <[10 x i32]*> [#uses=1]
+  %9 = getelementptr inbounds [10 x i32], [10 x i32]* %8, i64 0, i64 5 ; <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]
+  %11 = getelementptr inbounds %struct.sType, %struct.sType* %arr, i32 0, i32 0 ; <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

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -18,14 +18,14 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   %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]
+  %2 = getelementptr inbounds [10 x %struct.sType], [10 x %struct.sType]* %arr, i64 0, i64 %1 ; <%struct.sType*> [#uses=1]
+  %3 = getelementptr inbounds %struct.sType, %struct.sType* %2, i32 0, i32 1 ; <i32*> [#uses=1]
   %4 = load i32, i32* %3, align 4                      ; <i32> [#uses=1]
   store i32 %4, i32* %t, align 4
   %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]
+  %7 = getelementptr inbounds [10 x %struct.sType], [10 x %struct.sType]* %arr, i64 0, i64 %6 ; <%struct.sType*> [#uses=1]
+  %8 = getelementptr inbounds %struct.sType, %struct.sType* %7, i32 0, i32 0 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays.ll Sun Mar  1 16:11:47 2015
@@ -24,7 +24,7 @@ bb:
   %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]
+  %5 = getelementptr inbounds i32, i32* %2, i64 %4     ; <i32*> [#uses=1]
   %6 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   store i32 %6, i32* %5, align 1
   %7 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
@@ -39,10 +39,10 @@ bb1:
 
 bb2:                                              ; preds = %bb1
   %11 = load i32*, i32** %arr, align 8                  ; <i32*> [#uses=1]
-  %12 = getelementptr inbounds i32* %11, i64 5    ; <i32*> [#uses=1]
+  %12 = getelementptr inbounds i32, i32* %11, i64 5    ; <i32*> [#uses=1]
   store i32* %12, i32** %b, align 8
   store i32** %arr, i32*** %c, align 8
-  %13 = getelementptr inbounds i32** %arr, i64 4  ; <i32**> [#uses=1]
+  %13 = getelementptr inbounds i32*, i32** %arr, i64 4  ; <i32**> [#uses=1]
   store i32** %13, i32*** %d, align 8
   br label %return
 

Modified: poolalloc/trunk/test/dsa/local/arrays1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/arrays1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays1.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays1.ll Sun Mar  1 16:11:47 2015
@@ -28,20 +28,20 @@ bb:
   %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]
+  %5 = getelementptr inbounds %struct.StructType, %struct.StructType* %2, i64 %4 ; <%struct.StructType*> [#uses=1]
+  %6 = getelementptr inbounds %struct.StructType, %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
   %7 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   store i32 %7, i32* %6, align 8
   %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]
+  %11 = getelementptr inbounds %struct.StructType, %struct.StructType* %8, i64 %10 ; <%struct.StructType*> [#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]
+  %15 = getelementptr inbounds %struct.StructType, %struct.StructType* %12, i64 %14 ; <%struct.StructType*> [#uses=1]
+  %16 = getelementptr inbounds %struct.StructType, %struct.StructType* %15, i32 0, i32 0 ; <i32*> [#uses=1]
+  %17 = getelementptr inbounds %struct.StructType, %struct.StructType* %11, i32 0, i32 1 ; <i32**> [#uses=1]
   store i32* %16, i32** %17, align 8
   %18 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %19 = add nsw i32 %18, 1                        ; <i32> [#uses=1]
@@ -55,16 +55,16 @@ bb1:
 
 bb2:                                              ; preds = %bb1
   %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]
+  %23 = getelementptr inbounds %struct.StructType, %struct.StructType* %22, i64 0 ; <%struct.StructType*> [#uses=2]
+  %24 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %25 = getelementptr inbounds %struct.StructType, %struct.StructType* %23, i32 0, i32 0 ; <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]
+  %27 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
+  %28 = getelementptr inbounds %struct.StructType, %struct.StructType* %23, i32 0, i32 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]
+  %30 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays2.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays2.ll Sun Mar  1 16:11:47 2015
@@ -25,8 +25,8 @@ bb:
   %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]
+  %5 = getelementptr inbounds %struct.StructType, %struct.StructType* %2, i64 %4 ; <%struct.StructType*> [#uses=1]
+  %6 = getelementptr inbounds %struct.StructType, %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
   %7 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   store i32 %7, i32* %6, align 8
   %8 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
@@ -41,16 +41,16 @@ bb1:
 
 bb2:                                              ; preds = %bb1
   %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]
+  %13 = getelementptr inbounds %struct.StructType, %struct.StructType* %12, i64 0 ; <%struct.StructType*> [#uses=2]
+  %14 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %15 = getelementptr inbounds %struct.StructType, %struct.StructType* %13, i32 0, i32 0 ; <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]
+  %17 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
+  %18 = getelementptr inbounds %struct.StructType, %struct.StructType* %13, i32 0, i32 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]
+  %20 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays3.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays3.ll Sun Mar  1 16:11:47 2015
@@ -26,17 +26,17 @@ bb:
   %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]
+  %5 = getelementptr inbounds %struct.StructType, %struct.StructType* %2, i64 %4 ; <%struct.StructType*> [#uses=1]
+  %6 = getelementptr inbounds %struct.StructType, %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
   %7 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   store i32 %7, i32* %6, align 8
   %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]
+  %11 = getelementptr inbounds %struct.StructType, %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]
+  %14 = getelementptr inbounds %struct.StructType, %struct.StructType* %11, i32 0, i32 1 ; <i32**> [#uses=1]
   store i32* %13, i32** %14, align 8
   %15 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %16 = add nsw i32 %15, 1                        ; <i32> [#uses=1]
@@ -50,21 +50,21 @@ bb1:
 
 bb2:                                              ; preds = %bb1
   %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]
+  %20 = getelementptr inbounds %struct.StructType, %struct.StructType* %19, i64 1 ; <%struct.StructType*> [#uses=2]
+  %21 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %22 = getelementptr inbounds %struct.StructType, %struct.StructType* %20, i32 0, i32 0 ; <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]
+  %24 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
+  %25 = getelementptr inbounds %struct.StructType, %struct.StructType* %20, i32 0, i32 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]
+  %27 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <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*, %struct.StructType** %ptr, align 8   ; <%struct.StructType*> [#uses=1]
-  %30 = getelementptr inbounds %struct.StructType* %29, i64 1 ; <%struct.StructType*> [#uses=1]
+  %30 = getelementptr inbounds %struct.StructType, %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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/arrays4.ll (original)
+++ poolalloc/trunk/test/dsa/local/arrays4.ll Sun Mar  1 16:11:47 2015
@@ -21,8 +21,8 @@ entry:
 bb:                                               ; preds = %bb1
   %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]
+  %2 = getelementptr inbounds [10 x %struct.StructType], [10 x %struct.StructType]* %tmp, i64 0, i64 %1 ; <%struct.StructType*> [#uses=1]
+  %3 = getelementptr inbounds %struct.StructType, %struct.StructType* %2, i32 0, i32 0 ; <i32*> [#uses=1]
   %4 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   store i32 %4, i32* %3, align 8
   %5 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
@@ -36,16 +36,16 @@ bb1:
   br i1 %8, label %bb, label %bb2
 
 bb2:                                              ; preds = %bb1
-  %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]
+  %9 = getelementptr inbounds [10 x %struct.StructType], [10 x %struct.StructType]* %tmp, i64 0, i64 0 ; <%struct.StructType*> [#uses=2]
+  %10 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %11 = getelementptr inbounds %struct.StructType, %struct.StructType* %9, i32 0, i32 0 ; <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]
+  %13 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
+  %14 = getelementptr inbounds %struct.StructType, %struct.StructType* %9, i32 0, i32 1 ; <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]
+  %16 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields1.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields1.ll Sun Mar  1 16:11:47 2015
@@ -23,16 +23,16 @@ entry:
   %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*, %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]
+  %4 = getelementptr inbounds %union.I_format_t, %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*, %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]
+  %6 = getelementptr inbounds %union.I_format_t, %union.I_format_t* %5, i32 0, i32 0 ; <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*, %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]
+  %10 = getelementptr inbounds %union.I_format_t, %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]
+  %12 = getelementptr inbounds %struct.anon, %struct.anon* %11, i32 0, i32 2 ; <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]
@@ -40,9 +40,9 @@ entry:
   %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*, %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]
+  %20 = getelementptr inbounds %union.I_format_t, %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]
+  %22 = getelementptr inbounds %struct.anon, %struct.anon* %21, i32 0, i32 0 ; <i16*> [#uses=1]
   %23 = bitcast i16* %22 to i32*                  ; <i32*> [#uses=1]
   %24 = load i32, i32* %23, align 1                    ; <i32> [#uses=1]
   %25 = shl i32 %24, 1                            ; <i32> [#uses=1]
@@ -50,9 +50,9 @@ entry:
   %27 = trunc i32 %26 to i5                       ; <i5> [#uses=1]
   %28 = zext i5 %27 to i32                        ; <i32> [#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]
+  %30 = getelementptr inbounds %union.I_format_t, %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]
+  %32 = getelementptr inbounds %struct.anon, %struct.anon* %31, i32 0, i32 0 ; <i16*> [#uses=1]
   %33 = bitcast i16* %32 to i32*                  ; <i32*> [#uses=1]
   %34 = load i32, i32* %33, align 1                    ; <i32> [#uses=1]
   %35 = shl i32 %34, 11                           ; <i32> [#uses=1]
@@ -60,9 +60,9 @@ entry:
   %37 = trunc i32 %36 to i5                       ; <i5> [#uses=1]
   %38 = zext i5 %37 to i32                        ; <i32> [#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]
+  %40 = getelementptr inbounds %union.I_format_t, %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]
+  %42 = getelementptr inbounds %struct.anon, %struct.anon* %41, i32 0, i32 0 ; <i16*> [#uses=1]
   %43 = bitcast i16* %42 to i32*                  ; <i32*> [#uses=1]
   %44 = load i32, i32* %43, align 1                    ; <i32> [#uses=1]
   %45 = shl i32 %44, 6                            ; <i32> [#uses=1]
@@ -71,9 +71,9 @@ entry:
   %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*, %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]
+  %51 = getelementptr inbounds %union.I_format_t, %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]
+  %53 = getelementptr inbounds %struct.anon, %struct.anon* %52, i32 0, i32 0 ; <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]

Modified: poolalloc/trunk/test/dsa/local/bitfields2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields2.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields2.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields2.ll Sun Mar  1 16:11:47 2015
@@ -26,16 +26,16 @@ entry:
   %codes = alloca [4 x i32]                       ; <[4 x i32]*> [#uses=5]
   %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]
+  %1 = getelementptr inbounds [4 x i32], [4 x i32]* %codes, i32 0, i32 0 ; <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]
+  %3 = getelementptr inbounds [4 x i32], [4 x i32]* %codes, i32 0, i32 1 ; <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]
+  %5 = getelementptr inbounds [4 x i32], [4 x i32]* %codes, i32 0, i32 2 ; <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]
+  %7 = getelementptr inbounds [4 x i32], [4 x i32]* %codes, i32 0, i32 3 ; <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
@@ -45,34 +45,34 @@ entry:
 bb:                                               ; preds = %bb4
   %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]
+  %11 = getelementptr inbounds [4 x i32], [4 x i32]* %codes, i64 0, i64 %10 ; <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]
+  %13 = getelementptr inbounds %union.mips_format_t, %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]
+  %14 = getelementptr inbounds %union.mips_format_t, %union.mips_format_t* %ia, i32 0, i32 0 ; <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]
+  %17 = getelementptr inbounds %union.mips_format_t, %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]
+  %19 = getelementptr inbounds %0, %0* %18, i32 0, i32 0 ; <i16*> [#uses=1]
   %20 = bitcast i16* %19 to i32*                  ; <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]
   %25 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8]* @.str1, i64 0, i64 0), i32 %24) nounwind ; <i32> [#uses=0]
-  %26 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %26 = getelementptr inbounds %union.mips_format_t, %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
   %27 = bitcast i32* %26 to %0*                   ; <%0*> [#uses=1]
-  %28 = getelementptr inbounds %0* %27, i32 0, i32 0 ; <i16*> [#uses=1]
+  %28 = getelementptr inbounds %0, %0* %27, i32 0, i32 0 ; <i16*> [#uses=1]
   %29 = bitcast i16* %28 to i32*                  ; <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]
   %34 = zext i5 %33 to i32                        ; <i32> [#uses=1]
-  %35 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %35 = getelementptr inbounds %union.mips_format_t, %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
   %36 = bitcast i32* %35 to %0*                   ; <%0*> [#uses=1]
-  %37 = getelementptr inbounds %0* %36, i32 0, i32 0 ; <i16*> [#uses=1]
+  %37 = getelementptr inbounds %0, %0* %36, i32 0, i32 0 ; <i16*> [#uses=1]
   %38 = bitcast i16* %37 to i32*                  ; <i32*> [#uses=1]
   %39 = load i32, i32* %38, align 1                    ; <i32> [#uses=1]
   %40 = shl i32 %39, 6                            ; <i32> [#uses=1]
@@ -80,9 +80,9 @@ bb:
   %42 = trunc i32 %41 to i5                       ; <i5> [#uses=1]
   %43 = zext i5 %42 to i32                        ; <i32> [#uses=1]
   %44 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([15 x i8]* @.str2, i64 0, i64 0), i32 %43, i32 %34) nounwind ; <i32> [#uses=0]
-  %45 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %45 = getelementptr inbounds %union.mips_format_t, %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
   %46 = bitcast i32* %45 to %0*                   ; <%0*> [#uses=1]
-  %47 = getelementptr inbounds %0* %46, i32 0, i32 0 ; <i16*> [#uses=1]
+  %47 = getelementptr inbounds %0, %0* %46, i32 0, i32 0 ; <i16*> [#uses=1]
   %48 = bitcast i16* %47 to i32*                  ; <i32*> [#uses=1]
   %49 = load i32, i32* %48, align 1                    ; <i32> [#uses=1]
   %50 = lshr i32 %49, 26                          ; <i32> [#uses=1]
@@ -91,25 +91,25 @@ bb:
   br i1 %52, label %bb1, label %bb2
 
 bb1:                                              ; preds = %bb
-  %53 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %53 = getelementptr inbounds %union.mips_format_t, %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]
+  %55 = getelementptr inbounds %struct.anon, %struct.anon* %54, i32 0, i32 0 ; <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]
   %60 = zext i6 %59 to i32                        ; <i32> [#uses=1]
-  %61 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %61 = getelementptr inbounds %union.mips_format_t, %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]
+  %63 = getelementptr inbounds %struct.anon, %struct.anon* %62, i32 0, i32 0 ; <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]
   %68 = zext i5 %67 to i32                        ; <i32> [#uses=1]
-  %69 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %69 = getelementptr inbounds %union.mips_format_t, %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]
+  %71 = getelementptr inbounds %struct.anon, %struct.anon* %70, i32 0, i32 0 ; <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]
@@ -118,9 +118,9 @@ bb1:
   br label %bb3
 
 bb2:                                              ; preds = %bb
-  %77 = getelementptr inbounds %union.mips_format_t* %ia, i32 0, i32 0 ; <i32*> [#uses=1]
+  %77 = getelementptr inbounds %union.mips_format_t, %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]
+  %79 = getelementptr inbounds %0, %0* %78, i32 0, i32 0 ; <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]

Modified: poolalloc/trunk/test/dsa/local/bitfields3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields3.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields3.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields3.ll Sun Mar  1 16:11:47 2015
@@ -22,41 +22,41 @@ entry:
   %0 = alloca i32                                 ; <i32*> [#uses=2]
   %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]
+  %1 = getelementptr inbounds %struct.taxonomy, %struct.taxonomy* %t, i32 0, i32 0 ; <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]
+  %3 = getelementptr inbounds %struct.taxonomy, %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=2]
   %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]
+  %7 = getelementptr inbounds %struct.taxonomy, %struct.taxonomy* %t, i32 0, i32 0 ; <i32*> [#uses=2]
   %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
   %11 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([35 x i8]* @.str, i64 0, i64 0), i64 4) nounwind ; <i32> [#uses=0]
   %12 = bitcast %struct.taxonomy* %t to %1*       ; <%1*> [#uses=1]
-  %elt = getelementptr inbounds %1* %12, i32 0, i32 0 ; <i64*> [#uses=1]
+  %elt = getelementptr inbounds %1, %1* %12, i32 0, i32 0 ; <i64*> [#uses=1]
   %13 = bitcast i64* %elt to i32*                 ; <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]
+  %17 = getelementptr inbounds %struct.taxonomy, %struct.taxonomy* %t, i32 0, i32 0 ; <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]
+  %24 = getelementptr inbounds %struct.taxonomy, %struct.taxonomy* %t, i32 0, i32 0 ; <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]
+  %31 = getelementptr inbounds %struct.taxonomy, %struct.taxonomy* %t, i32 0, i32 0 ; <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]

Modified: poolalloc/trunk/test/dsa/local/multidimarray.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/multidimarray.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/multidimarray.ll (original)
+++ poolalloc/trunk/test/dsa/local/multidimarray.ll Sun Mar  1 16:11:47 2015
@@ -23,10 +23,10 @@ bb:
   %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]
+  %3 = getelementptr inbounds [10 x [20 x %struct.StructType]], [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]
+  %5 = getelementptr inbounds [20 x %struct.StructType], [20 x %struct.StructType]* %3, i64 0, i64 %4 ; <%struct.StructType*> [#uses=1]
+  %6 = getelementptr inbounds %struct.StructType, %struct.StructType* %5, i32 0, i32 0 ; <i32*> [#uses=1]
   %7 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
   store i32 %7, i32* %6, align 8
   %8 = load i32, i32* %i, align 4                      ; <i32> [#uses=1]
@@ -36,14 +36,14 @@ bb:
   %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]
+  %15 = getelementptr inbounds [10 x [20 x %struct.StructType]], [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 %14 ; <[20 x %struct.StructType]*> [#uses=1]
   %16 = sext i32 %13 to i64                       ; <i64> [#uses=1]
-  %17 = getelementptr inbounds [20 x %struct.StructType]* %15, i64 0, i64 %16 ; <%struct.StructType*> [#uses=1]
+  %17 = getelementptr inbounds [20 x %struct.StructType], [20 x %struct.StructType]* %15, i64 0, i64 %16 ; <%struct.StructType*> [#uses=1]
   %18 = sext i32 %8 to i64                        ; <i64> [#uses=1]
-  %19 = getelementptr inbounds [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 %18 ; <[20 x %struct.StructType]*> [#uses=1]
+  %19 = getelementptr inbounds [10 x [20 x %struct.StructType]], [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 %18 ; <[20 x %struct.StructType]*> [#uses=1]
   %20 = sext i32 %9 to i64                        ; <i64> [#uses=1]
-  %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]
+  %21 = getelementptr inbounds [20 x %struct.StructType], [20 x %struct.StructType]* %19, i64 0, i64 %20 ; <%struct.StructType*> [#uses=1]
+  %22 = getelementptr inbounds %struct.StructType, %struct.StructType* %21, i32 0, i32 1 ; <%struct.StructType**> [#uses=1]
   store %struct.StructType* %17, %struct.StructType** %22, align 8
   %23 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %24 = add nsw i32 %23, 1                        ; <i32> [#uses=1]
@@ -56,17 +56,17 @@ bb1:
   br i1 %26, label %bb, label %bb2
 
 bb2:                                              ; preds = %bb1
-  %27 = getelementptr inbounds [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 1 ; <[20 x %struct.StructType]*> [#uses=1]
-  %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]
+  %27 = getelementptr inbounds [10 x [20 x %struct.StructType]], [10 x [20 x %struct.StructType]]* %arr, i64 0, i64 1 ; <[20 x %struct.StructType]*> [#uses=1]
+  %28 = getelementptr inbounds [20 x %struct.StructType], [20 x %struct.StructType]* %27, i64 0, i64 1 ; <%struct.StructType*> [#uses=2]
+  %29 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %30 = getelementptr inbounds %struct.StructType, %struct.StructType* %28, i32 0, i32 0 ; <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]
+  %32 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <%struct.StructType**> [#uses=1]
+  %33 = getelementptr inbounds %struct.StructType, %struct.StructType* %28, i32 0, i32 1 ; <%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]
+  %35 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <%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/struct.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct.ll Sun Mar  1 16:11:47 2015
@@ -19,19 +19,19 @@ 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** %tmp, align 8
-  %2 = getelementptr inbounds %struct.StructType* %s1, i32 0, i32 0 ; <i32*> [#uses=1]
+  %2 = getelementptr inbounds %struct.StructType, %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]
+  %3 = getelementptr inbounds %struct.StructType, %struct.StructType* %s1, i32 0, i32 1 ; <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]
+  %5 = getelementptr inbounds %struct.StructType, %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]
+  %6 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %7 = getelementptr inbounds %struct.StructType, %struct.StructType* %s1, i32 0, i32 0 ; <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]
+  %9 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
+  %10 = getelementptr inbounds %struct.StructType, %struct.StructType* %s1, i32 0, i32 1 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct1.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct1.ll Sun Mar  1 16:11:47 2015
@@ -21,22 +21,22 @@ entry:
   %3 = bitcast i8* %2 to %struct.StructType*      ; <%struct.StructType*> [#uses=1]
   store %struct.StructType* %3, %struct.StructType** %s1, align 8
   %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]
+  %5 = getelementptr inbounds %struct.StructType, %struct.StructType* %4, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 10, i32* %5, align 8
   %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]
+  %7 = getelementptr inbounds %struct.StructType, %struct.StructType* %6, i32 0, i32 1 ; <i32**> [#uses=1]
   %8 = load i32*, i32** %tmp, align 8                   ; <i32*> [#uses=1]
   store i32* %8, i32** %7, align 8
   %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]
+  %10 = getelementptr inbounds %struct.StructType, %struct.StructType* %9, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32* %10, i32** %c, align 8
   %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]
+  %12 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 0 ; <i32*> [#uses=1]
+  %13 = getelementptr inbounds %struct.StructType, %struct.StructType* %11, i32 0, i32 0 ; <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]
+  %15 = getelementptr inbounds %struct.StructType, %struct.StructType* %s2, i32 0, i32 1 ; <i32**> [#uses=1]
+  %16 = getelementptr inbounds %struct.StructType, %struct.StructType* %11, i32 0, i32 1 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct2.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct2.ll Sun Mar  1 16:11:47 2015
@@ -20,9 +20,9 @@ entry:
   %x = alloca i32                                 ; <i32*> [#uses=1]
   %y = alloca i32                                 ; <i32*> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %1 = getelementptr inbounds %struct.R* %r, i32 0, i32 0 ; <i32**> [#uses=1]
+  %1 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 0 ; <i32**> [#uses=1]
   store i32* %x, i32** %1, align 8
-  %2 = getelementptr inbounds %struct.R* %r, i32 0, i32 1 ; <i32**> [#uses=1]
+  %2 = getelementptr inbounds %struct.R, %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, i64* %r1, align 8                     ; <i64> [#uses=1]

Modified: poolalloc/trunk/test/dsa/local/struct3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct3.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct3.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct3.ll Sun Mar  1 16:11:47 2015
@@ -26,22 +26,22 @@ entry:
   %y = alloca i32                                 ; <i32*> [#uses=1]
   %c = alloca i8                                  ; <i8*> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %1 = getelementptr inbounds %struct.R* %r, i32 0, i32 0 ; <i32**> [#uses=1]
+  %1 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 0 ; <i32**> [#uses=1]
   store i32* %x, i32** %1, align 8
-  %2 = getelementptr inbounds %struct.R* %r, i32 0, i32 1 ; <i32**> [#uses=1]
+  %2 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 1 ; <i32**> [#uses=1]
   store i32* %y, i32** %2, align 8
-  %3 = getelementptr inbounds %struct.R* %r, i32 0, i32 2 ; <i8**> [#uses=1]
+  %3 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %c, i8** %3, align 8
   %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*, %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]
+  %5 = getelementptr inbounds %struct.T, %struct.T* %4, i32 0, i32 0 ; <i32**> [#uses=1]
+  %6 = getelementptr inbounds %struct.T, %struct.T* %s2, i32 0, i32 0 ; <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]
+  %8 = getelementptr inbounds %struct.T, %struct.T* %4, i32 0, i32 1 ; <i32**> [#uses=1]
+  %9 = getelementptr inbounds %struct.T, %struct.T* %s2, i32 0, i32 1 ; <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

Modified: poolalloc/trunk/test/dsa/local/struct4.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct4.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct4.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct4.ll Sun Mar  1 16:11:47 2015
@@ -20,11 +20,11 @@ entry:
   %d = alloca i32                                 ; <i32*> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store i32 5, i32* %x, align 4
-  %1 = getelementptr inbounds %struct.R* %r, i32 0, i32 0 ; <i32**> [#uses=1]
+  %1 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 0 ; <i32**> [#uses=1]
   store i32* %x, i32** %1, align 8
-  %2 = getelementptr inbounds %struct.R* %r, i32 0, i32 1 ; <i32**> [#uses=1]
+  %2 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 1 ; <i32**> [#uses=1]
   store i32* %y, i32** %2, align 8
-  %3 = getelementptr inbounds %struct.R* %r, i32 0, i32 2 ; <i8**> [#uses=1]
+  %3 = getelementptr inbounds %struct.R, %struct.R* %r, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %c, i8** %3, align 8
   %r1 = bitcast %struct.R* %r to i32**            ; <i32**> [#uses=1]
   store i32** %r1, i32*** %p, align 8

Modified: poolalloc/trunk/test/dsa/local/structFirstField.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/structFirstField.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/structFirstField.ll (original)
+++ poolalloc/trunk/test/dsa/local/structFirstField.ll Sun Mar  1 16:11:47 2015
@@ -26,16 +26,16 @@ entry:
   store %struct.S* %s, %struct.S** %p, align 8
   store i32* %x, i32** %q, align 8
   %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]
+  %1 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 0 ; <i32**> [#uses=1]
+  %2 = getelementptr inbounds %struct.S, %struct.S* %q1, i32 0, i32 0 ; <i32**> [#uses=1]
   %3 = load i32*, i32** %2, align 8                     ; <i32*> [#uses=1]
   store i32* %3, i32** %1, align 8
   %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]
+  %5 = getelementptr inbounds %struct.S, %struct.S* %4, i32 0, i32 0 ; <i32**> [#uses=1]
+  %6 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 0 ; <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]
+  %8 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 0 ; <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/struct_malloc.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/struct_malloc.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/struct_malloc.ll (original)
+++ poolalloc/trunk/test/dsa/local/struct_malloc.ll Sun Mar  1 16:11:47 2015
@@ -10,12 +10,12 @@ entry:
   %struct = call noalias i8* @malloc(i64 8) nounwind
 
   ; Index into first, store 0 there
-  %ptr = getelementptr inbounds i8* %struct, i64 0
+  %ptr = getelementptr inbounds i8, i8* %struct, i64 0
   %conv = bitcast i8* %ptr to i32*
   store i32 0, i32* %conv, align 4
 
   ; Index into second, store 0 there also
-  %ptr2 = getelementptr inbounds i8* %struct, i64 4
+  %ptr2 = getelementptr inbounds i8, i8* %struct, i64 4
   %conv2 = bitcast i8* %ptr2 to i32*
   store i32 0, i32* %conv2, align 4
   ret void

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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/union_P21.ll (original)
+++ poolalloc/trunk/test/dsa/local/union_P21.ll Sun Mar  1 16:11:47 2015
@@ -23,20 +23,20 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   %0 = call noalias i8* @malloc(i64 4) nounwind   ; <i8*> [#uses=1]
   %1 = bitcast i8* %0 to i32*                     ; <i32*> [#uses=1]
-  %2 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <i32**> [#uses=1]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <i32**> [#uses=1]
   store i32* %1, i32** %2, align 8
-  %3 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <i32**> [#uses=1]
+  %3 = getelementptr inbounds %union.UnionType, %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]
+  %5 = getelementptr inbounds %struct.StructType, %struct.StructType* %4, i32 0, i32 1 ; <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]
-  %9 = getelementptr inbounds %union.UnionType* %obj1, i32 0, i32 0 ; <i32**> [#uses=1]
+  %9 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj1, i32 0, i32 0 ; <i32**> [#uses=1]
   store i32* %8, i32** %9, align 8
-  %10 = getelementptr inbounds %union.UnionType* %obj1, i32 0, i32 0 ; <i32**> [#uses=1]
+  %10 = getelementptr inbounds %union.UnionType, %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]
+  %12 = getelementptr inbounds %struct.StructType, %struct.StructType* %11, i32 0, i32 0 ; <i32*> [#uses=1]
   %13 = load i32, i32* %12, align 8                    ; <i32> [#uses=1]
   store i32 %13, i32* %e, align 4
   br label %return

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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/union_P2I.ll (original)
+++ poolalloc/trunk/test/dsa/local/union_P2I.ll Sun Mar  1 16:11:47 2015
@@ -19,12 +19,12 @@ entry:
   %obj = alloca %union.UnionType                  ; <%union.UnionType*> [#uses=2]
   %ptr = alloca %struct.StructType*               ; <%struct.StructType**> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %0 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <[100 x %struct.StructType]*> [#uses=1]
+  %0 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <[100 x %struct.StructType]*> [#uses=1]
   %1 = bitcast [100 x %struct.StructType]* %0 to i32* ; <i32*> [#uses=1]
   store i32 123456, i32* %1, align 8
-  %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]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <[100 x %struct.StructType]*> [#uses=1]
+  %3 = getelementptr inbounds [100 x %struct.StructType], [100 x %struct.StructType]* %2, i64 0, i64 0 ; <%struct.StructType*> [#uses=1]
+  %4 = getelementptr inbounds %struct.StructType, %struct.StructType* %3, i32 0, i32 0 ; <%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

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -15,12 +15,12 @@ entry:
   %obj = alloca %union.UnionType                  ; <%union.UnionType*> [#uses=2]
   %c = alloca i32*                                ; <i32**> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %0 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <[100 x i32*]*> [#uses=1]
+  %0 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <[100 x i32*]*> [#uses=1]
   %1 = bitcast [100 x i32*]* %0 to [100 x i32]*   ; <[100 x i32]*> [#uses=1]
-  %2 = getelementptr inbounds [100 x i32]* %1, i64 0, i64 3 ; <i32*> [#uses=1]
+  %2 = getelementptr inbounds [100 x i32], [100 x i32]* %1, i64 0, i64 3 ; <i32*> [#uses=1]
   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]
+  %3 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <[100 x i32*]*> [#uses=1]
+  %4 = getelementptr inbounds [100 x i32*], [100 x i32*]* %3, i64 0, i64 3 ; <i32**> [#uses=1]
   %5 = load i32*, i32** %4, align 8                     ; <i32*> [#uses=1]
   store i32* %5, i32** %c, align 8
   br label %return

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -18,11 +18,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]
+  %tmp80 = getelementptr inbounds %struct.TypHeader, %struct.TypHeader* %tmp79, i64 0, i32 1 ; <%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]
+  %tmp83 = getelementptr inbounds %struct.TypHeader, %struct.TypHeader* %tmp82, i64 0, i32 1 ; <%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
 
@@ -110,11 +110,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]
+  %tmp216 = getelementptr inbounds %struct.TypHeader, %struct.TypHeader* %tmp215, i64 0, i32 1 ; <%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]
+  %tmp219 = getelementptr inbounds %struct.TypHeader, %struct.TypHeader* %tmp218, i64 0, i32 1 ; <%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
 
@@ -235,7 +235,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]
+  %tmp26 = getelementptr inbounds %struct.TypHeader, %struct.TypHeader* %tmp24, i64 0, i32 1 ; <%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]
@@ -251,7 +251,7 @@ bb8:
 
 bb10:                                             ; preds = %bb8, %entry
   %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]
+  %tmp32 = getelementptr inbounds %struct.TypHeader, %struct.TypHeader* %tmp28, i64 0, i32 1 ; <%struct.TypHeader***> [#uses=1]
   %tmp33 = load %struct.TypHeader**, %struct.TypHeader*** %tmp32, align 8 ; <%struct.TypHeader**> [#uses=1]
   br label %bb12
 
@@ -259,7 +259,7 @@ bb11:
   br label %bb12
 
 bb12:                                             ; preds = %bb11, %bb10
-  %tmp36 = getelementptr inbounds %struct.TypHeader** %tmp33, i64 undef ; <%struct.TypHeader**> [#uses=1]
+  %tmp36 = getelementptr inbounds %struct.TypHeader*, %struct.TypHeader** %tmp33, i64 undef ; <%struct.TypHeader**> [#uses=1]
   %tmp37 = load %struct.TypHeader*, %struct.TypHeader** %tmp36, align 8 ; <%struct.TypHeader*> [#uses=2]
   br i1 undef, label %bb19, label %bb13
 

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -54,7 +54,7 @@ entry:
   br i1 undef, label %bb12, label %bb11
 
 bb11:                                             ; preds = %entry
-  %tmp38 = getelementptr inbounds %struct.SV* %tmp1, i64 0, i32 0 ; <i8**> [#uses=1]
+  %tmp38 = getelementptr inbounds %struct.SV, %struct.SV* %tmp1, i64 0, i32 0 ; <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*, i8** %tmp44, align 8              ; <i8*> [#uses=1]
@@ -89,11 +89,11 @@ bb35:
   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]
+  %tmp109 = getelementptr inbounds %struct.SV, %struct.SV* %tmp107, i64 0, i32 0 ; <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]
+  %tmp115 = getelementptr inbounds %struct.SV, %struct.SV* %tmp107, i64 0, i32 0 ; <i8**> [#uses=1]
   br label %bb46
 
 bb1.i:                                            ; preds = %bb35
@@ -127,7 +127,7 @@ entry:
   br i1 undef, label %bb117, label %bb1
 
 bb1:                                              ; preds = %entry
-  %tmp17 = getelementptr inbounds %struct.SV* %tmp11, i64 0, i32 0 ; <i8**> [#uses=1]
+  %tmp17 = getelementptr inbounds %struct.SV, %struct.SV* %tmp11, i64 0, i32 0 ; <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*, %struct.SV** %tmp19, align 8      ; <%struct.SV*> [#uses=1]
@@ -135,7 +135,7 @@ bb1:
 
 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]
+  %tmp26 = getelementptr inbounds %struct.CV, %struct.CV* %tmp25, i64 0, i32 0 ; <%struct.XPVCV**> [#uses=1]
   %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
 
@@ -210,7 +210,7 @@ bb48:
 
 bb49:                                             ; preds = %bb47
   %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]
+  %tmp337 = getelementptr inbounds %struct.XPVCV, %struct.XPVCV* %tmp336, i64 0, i32 10 ; <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
@@ -223,7 +223,7 @@ bb52:
   br label %bb53
 
 bb53:                                             ; preds = %bb52, %bb51
-  %tmp391 = getelementptr inbounds %struct.PERL_CONTEXT* %tmp90, i64 undef, i32 1, i32 0, i32 7, i32 0, i32 0 ; <i8**> [#uses=1]
+  %tmp391 = getelementptr inbounds %struct.PERL_CONTEXT, %struct.PERL_CONTEXT* %tmp90, i64 undef, i32 1, i32 0, i32 7, i32 0, i32 0 ; <i8**> [#uses=1]
   %.c = bitcast %struct.CV* %tmp25 to i8*         ; <i8*> [#uses=1]
   store i8* %.c, i8** %tmp391
   br i1 undef, label %bb83, label %bb57
@@ -232,16 +232,16 @@ bb57:
   br i1 undef, label %bb61, label %bb83
 
 bb61:                                             ; preds = %bb57
-  %tmp446 = getelementptr inbounds %struct.SV** %tmp380, i64 undef ; <%struct.SV**> [#uses=1]
+  %tmp446 = getelementptr inbounds %struct.SV*, %struct.SV** %tmp380, i64 undef ; <%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]
+  %tmp448 = getelementptr inbounds %struct.SV, %struct.SV* %tmp447, i64 0, i32 0 ; <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*, i8** %tmp450, align 8            ; <i8*> [#uses=1]
   br i1 undef, label %bb.nph28, label %bb79
 
 bb.nph28:                                         ; preds = %bb61
-  %scevgep66 = getelementptr i8* %tmp451, i64 undef ; <i8*> [#uses=0]
+  %scevgep66 = getelementptr i8, i8* %tmp451, i64 undef ; <i8*> [#uses=0]
   unreachable
 
 bb79:                                             ; preds = %bb61
@@ -253,21 +253,21 @@ bb83:
 entry.bb1_crit_edge.i23:                          ; preds = %bb83
   %.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]
+  %tmp621 = getelementptr inbounds %union.ANY, %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]
+  %tmp625 = getelementptr inbounds %union.ANY, %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]
+  %tmp634 = getelementptr inbounds %struct.SV*, %struct.SV** %tmp380, i64 undef ; <%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*, %struct.XPVAV** %tmp636, align 8 ; <%struct.XPVAV*> [#uses=1]
-  %tmp638 = getelementptr inbounds %struct.XPVAV* %tmp637, i64 0, i32 0 ; <i8**> [#uses=1]
+  %tmp638 = getelementptr inbounds %struct.XPVAV, %struct.XPVAV* %tmp637, i64 0, i32 0 ; <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*, %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]
+  %tmp664 = getelementptr inbounds %struct.PERL_CONTEXT, %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
   unreachable
@@ -324,7 +324,7 @@ entry:
 
 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]
+  %tmp76 = getelementptr inbounds %struct.CV, %struct.CV* %tmp64, i64 0, i32 0 ; <%struct.XPVCV**> [#uses=1]
   br i1 undef, label %bb26, label %bb25
 
 bb1.i:                                            ; preds = %entry
@@ -335,7 +335,7 @@ bb25:
 
 bb26:                                             ; preds = %bb25, %bb.i
   %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]
+  %tmp87 = getelementptr inbounds %struct.XPVCV, %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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -250,14 +250,14 @@ bb.i18:
   unreachable
 
 Perl_save_I32.exit19:                             ; preds = %Perl_save_sptr.exit
-  %tmp203 = getelementptr inbounds %struct.COP* undef, i64 0, i32 13 ; <i16*> [#uses=1]
+  %tmp203 = getelementptr inbounds %struct.COP, %struct.COP* undef, i64 0, i32 13 ; <i16*> [#uses=1]
   br i1 undef, label %bb.i1, label %Perl_save_I16.exit
 
 bb.i1:                                            ; preds = %Perl_save_I32.exit19
   unreachable
 
 Perl_save_I16.exit:                               ; preds = %Perl_save_I32.exit19
-  %tmp223 = getelementptr inbounds %union.ANY* %tmp139, i64 undef, i32 0 ; <i8**> [#uses=1]
+  %tmp223 = getelementptr inbounds %union.ANY, %union.ANY* %tmp139, i64 undef, i32 0 ; <i8**> [#uses=1]
   %tmp224 = bitcast i16* %tmp203 to i8*           ; <i8*> [#uses=1]
   store i8* %tmp224, i8** %tmp223, align 8
   br i1 undef, label %bb.i6, label %Perl_save_pptr.exit
@@ -310,9 +310,9 @@ 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*, i8** @PL_lex_casestack, align 8  ; <i8*> [#uses=1]
-  %tmp408 = getelementptr inbounds %union.ANY* %tmp404, i64 undef, i32 0 ; <i8**> [#uses=1]
+  %tmp408 = getelementptr inbounds %union.ANY, %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]
+  %tmp411 = getelementptr inbounds %union.ANY, %union.ANY* %tmp404, i64 undef, i32 0 ; <i8**> [#uses=1]
   store i8* bitcast (i8** @PL_lex_casestack to i8*), i8** %tmp411, align 8
   br i1 undef, label %bb.i23, label %Perl_save_destructor.exit
 
@@ -320,7 +320,7 @@ bb.i23:
   unreachable
 
 Perl_save_destructor.exit:                        ; preds = %Perl_save_pptr.exit38
-  %tmp433 = getelementptr inbounds %union.ANY* %tmp404, i64 undef, i32 0 ; <i8**> [#uses=1]
+  %tmp433 = getelementptr inbounds %union.ANY, %union.ANY* %tmp404, i64 undef, i32 0 ; <i8**> [#uses=1]
   store i8* bitcast (void (i8*)* @restore_rsfp to i8*), i8** %tmp433
   br i1 undef, label %bb.i25, label %Perl_save_sptr.exit26
 
@@ -496,7 +496,7 @@ Perl_newSVpv.exit:
 
 Perl_push_scope.exit3.Perl_save_freesv.exit_crit_edge: ; preds = %Perl_newSVpv.exit
   %.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]
+  %tmp116 = getelementptr inbounds %union.ANY, %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
   br i1 undef, label %bb9, label %bb10
@@ -647,9 +647,9 @@ entry:
 
 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]
+  %tmp76 = getelementptr inbounds %struct.CV, %struct.CV* %tmp64, i64 0, i32 0 ; <%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]
+  %tmp87 = getelementptr inbounds %struct.XPVCV, %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
 
@@ -664,9 +664,9 @@ entry:
 
 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]
+  %tmp76 = getelementptr inbounds %struct.CV, %struct.CV* %tmp64, i64 0, i32 0 ; <%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]
+  %tmp87 = getelementptr inbounds %struct.XPVCV, %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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -11,11 +11,11 @@ entry:
   %retval = alloca i32                            ; <i32*> [#uses=2]
   %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]
+  %1 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 6 ; <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]
+  %3 = getelementptr inbounds %struct.a, %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]
+  %4 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 1 ; <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
@@ -33,19 +33,19 @@ entry:
   %retval = alloca i32                            ; <i32*> [#uses=2]
   %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]
+  %1 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 6 ; <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]
+  %3 = getelementptr inbounds %struct.a, %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]
+  %4 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 0 ; <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]
+  %6 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 1 ; <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]
+  %9 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 2 ; <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]
+  %12 = getelementptr inbounds %struct.a, %struct.a* %bar, i32 0, i32 7 ; <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
@@ -69,7 +69,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   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]
+  %1 = getelementptr inbounds %struct.a, %struct.a* %data, i32 0, i32 0 ; <i32*> [#uses=1]
   %2 = load i32, i32* %argc_addr, align 4              ; <i32> [#uses=1]
   store i32 %2, i32* %1, align 4
   %3 = load i32, i32* %argc_addr, align 4              ; <i32> [#uses=1]
@@ -87,7 +87,7 @@ bb1:
 bb2:                                              ; preds = %bb1, %bb
   %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]
+  %7 = getelementptr inbounds %struct.a, %struct.a* %data, i32 0, i32 0 ; <i32*> [#uses=1]
   %8 = load i32, i32* %7, align 4                      ; <i32> [#uses=1]
   store i32 %8, i32* %0, align 4
   %9 = load i32, i32* %0, align 4                      ; <i32> [#uses=1]

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -131,12 +131,12 @@ bb10.loopexit.i:
 
 bb12.i:                                           ; preds = %bb.nph65.i
   %0 = call i8* @_Znwm(i64 320) nounwind          ; <i8*> [#uses=2]
-  %1 = getelementptr inbounds i8* %0, i64 264     ; <i8*> [#uses=1]
+  %1 = getelementptr inbounds i8, i8* %0, i64 264     ; <i8*> [#uses=1]
   %2 = bitcast i8* %1 to %struct.ggBRDF**         ; <%struct.ggBRDF**> [#uses=1]
   %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]
+  %4 = getelementptr inbounds %struct.ggBRDF, %struct.ggBRDF* %3, i64 0, i32 0 ; <i32 (...)***> [#uses=1]
   %5 = load i32 (...)**, i32 (...)*** %4, align 8              ; <i32 (...)**> [#uses=1]
-  %6 = getelementptr inbounds i32 (...)** %5, i64 3 ; <i32 (...)**> [#uses=1]
+  %6 = getelementptr inbounds i32 (...)*, i32 (...)** %5, i64 3 ; <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]
@@ -153,7 +153,7 @@ bb16.i:
   %11 = call i8* @_Znwm(i64 136) nounwind         ; <i8*> [#uses=3]
   %12 = bitcast i8* %11 to i32 (...)***           ; <i32 (...)***> [#uses=1]
   store i32 (...)** getelementptr inbounds ([9 x i32 (...)*]* @_ZTV16mrSurfaceTexture, i64 0, i64 2), i32 (...)*** %12, align 8
-  %13 = getelementptr inbounds i8* %11, i64 8     ; <i8*> [#uses=1]
+  %13 = getelementptr inbounds i8, i8* %11, i64 8     ; <i8*> [#uses=1]
   %14 = bitcast i8* %13 to %struct.ggBRDF**       ; <%struct.ggBRDF**> [#uses=1]
   store %struct.ggBRDF* %10, %struct.ggBRDF** %14, align 8
   %15 = bitcast i8* %11 to %struct.ggBRDF*        ; <%struct.ggBRDF*> [#uses=1]

Modified: poolalloc/trunk/test/dsa/regression/2012-04-29.StructOOBIndex.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2012-04-29.StructOOBIndex.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2012-04-29.StructOOBIndex.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2012-04-29.StructOOBIndex.ll Sun Mar  1 16:11:47 2015
@@ -9,18 +9,18 @@ target triple = "x86_64-unknown-linux-gn
 ; Index OOB in a single function
 define i32 @foo(%structType* %t) {
   ; Treat 't' as an array of structs, and index to the 'i8*' in the second one
-  %ptr = getelementptr inbounds %structType* %t, i64 1, i32 1
+  %ptr = getelementptr inbounds %structType, %structType* %t, i64 1, i32 1
   ; Cast so indexing past end of struct is 'allowed'
   %cast = bitcast i8** %ptr to %structType*
   ; Get pointer to second 'i32' that's now OOB of the original struct type
-  %ptr2 = getelementptr inbounds %structType* %cast, i32 0, i32 2
+  %ptr2 = getelementptr inbounds %structType, %structType* %cast, i32 0, i32 2
   ret i32 0
 }
 
 ; Same thing, only split across two functions
 define i32 @fooStart(%structType* %t) {
   ; Treat 't' as an array of structs, and index to the 'i8*' in the second one
-  %ptr = getelementptr inbounds %structType* %t, i64 1, i32 1
+  %ptr = getelementptr inbounds %structType, %structType* %t, i64 1, i32 1
   ; Cast so indexing past end of struct is 'allowed'
   %cast = bitcast i8** %ptr to %structType*
   ; Call other function to finish
@@ -32,7 +32,7 @@ declare void @fooEmpty(i32* %val)
 
 define i32 @fooGEP(%structType* %t) {
   ; Get pointer to second 'i32' that's now OOB of the original struct type
-  %ptr = getelementptr inbounds %structType* %t, i32 0, i32 2
+  %ptr = getelementptr inbounds %structType, %structType* %t, i32 0, i32 2
   ; Use in call, triggers similar bug in inlining calls
   call void @fooEmpty(i32* %ptr)
   ret i32 0

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -42,7 +42,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
+  %ttype28 = getelementptr inbounds [25 x %struct.anon], [25 x %struct.anon]* @typetable, i64 0, i64 %idxprom26144, i32 0
   %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
@@ -62,15 +62,15 @@ 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
+  %al = getelementptr inbounds %struct._icc, %struct._icc* %icp, i64 0, i32 17
   %0 = load %struct._icmAlloc*, %struct._icmAlloc** %al, align 8, !tbaa !0
-  %calloc = getelementptr inbounds %struct._icmAlloc* %0, i64 0, i32 1
+  %calloc = getelementptr inbounds %struct._icmAlloc, %struct._icmAlloc* %0, i64 0, i32 1
   %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
+  %get_size = getelementptr inbounds i8, i8* %call, i64 24
   %2 = bitcast i8* %get_size to i32 (%struct._icmBase*)**
   store i32 (%struct._icmBase*)* @icmData_get_size, i32 (%struct._icmBase*)** %2, align 8, !tbaa !0
-  %icp2 = getelementptr inbounds i8* %call, i64 8
+  %icp2 = getelementptr inbounds i8, i8* %call, i64 8
   %3 = bitcast i8* %icp2 to %struct._icc**
   store %struct._icc* %icp, %struct._icc** %3, align 8, !tbaa !0
   ret %struct._icmBase* null

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -22,9 +22,9 @@ for.end.thread:
   br label %for.end26
 
 for.body.lr.ph:                                   ; preds = %entry
-  %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_p = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 0
+  %0 = getelementptr inbounds [1 x %struct.__va_list_tag], [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], [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 2
   %gp_offset.pre = load i32, i32* %gp_offset_p, align 16
   br label %for.body
 
@@ -38,14 +38,14 @@ for.body:
 vaarg.in_reg:                                     ; preds = %for.body
   %reg_save_area = load i8*, i8** %0, align 16
   %1 = sext i32 %gp_offset to i64
-  %2 = getelementptr i8* %reg_save_area, i64 %1
+  %2 = getelementptr i8, i8* %reg_save_area, i64 %1
   %3 = add i32 %gp_offset, 8
   store i32 %3, i32* %gp_offset_p, align 16
   br label %vaarg.end
 
 vaarg.in_mem:                                     ; preds = %for.body
   %overflow_arg_area = load i8*, i8** %overflow_arg_area_p, align 8
-  %overflow_arg_area.next = getelementptr i8* %overflow_arg_area, i64 8
+  %overflow_arg_area.next = getelementptr i8, i8* %overflow_arg_area, i64 8
   store i8* %overflow_arg_area.next, i8** %overflow_arg_area_p, align 8
   br label %vaarg.end
 
@@ -65,9 +65,9 @@ for.end:
   br i1 %cmp32, label %for.body9.lr.ph, label %for.end26
 
 for.body9.lr.ph:                                  ; preds = %for.end
-  %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_offset_p12 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 0
+  %5 = getelementptr inbounds [1 x %struct.__va_list_tag], [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], [1 x %struct.__va_list_tag]* %vl, i64 0, i64 0, i32 2
   %gp_offset13.pre = load i32, i32* %gp_offset_p12, align 16
   br label %for.body9
 
@@ -81,14 +81,14 @@ for.body9:
 vaarg.in_reg15:                                   ; preds = %for.body9
   %reg_save_area16 = load i8*, i8** %5, align 16
   %6 = sext i32 %gp_offset13 to i64
-  %7 = getelementptr i8* %reg_save_area16, i64 %6
+  %7 = getelementptr i8, i8* %reg_save_area16, i64 %6
   %8 = add i32 %gp_offset13, 8
   store i32 %8, i32* %gp_offset_p12, align 16
   br label %vaarg.end21
 
 vaarg.in_mem17:                                   ; preds = %for.body9
   %overflow_arg_area19 = load i8*, i8** %overflow_arg_area_p18, align 8
-  %overflow_arg_area.next20 = getelementptr i8* %overflow_arg_area19, i64 8
+  %overflow_arg_area.next20 = getelementptr i8, i8* %overflow_arg_area19, i64 8
   store i8* %overflow_arg_area.next20, i8** %overflow_arg_area_p18, align 8
   br label %vaarg.end21
 

Modified: poolalloc/trunk/test/dsa/regression/2014-05-06.PR19175-CollapseVA.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2014-05-06.PR19175-CollapseVA.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2014-05-06.PR19175-CollapseVA.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2014-05-06.PR19175-CollapseVA.ll Sun Mar  1 16:11:47 2015
@@ -14,8 +14,8 @@ declare void @llvm.va_start(i8*) #0
 ; Function Attrs: nounwind uwtable
 define void @test_va_bugging_func(i32 %p1, ...) #1 {
 entry:
-  %v = getelementptr inbounds %struct.t.1.3.17* undef, i32 0, i32 0
-  %arraydecay = getelementptr inbounds [1 x %struct.__va_list_tag.0.2.16]* %v, i32 0, i32 0
+  %v = getelementptr inbounds %struct.t.1.3.17, %struct.t.1.3.17* undef, i32 0, i32 0
+  %arraydecay = getelementptr inbounds [1 x %struct.__va_list_tag.0.2.16], [1 x %struct.__va_list_tag.0.2.16]* %v, i32 0, i32 0
   %arraydecay1 = bitcast %struct.__va_list_tag.0.2.16* %arraydecay to i8*
   call void @llvm.va_start(i8* %arraydecay1)
   unreachable

Modified: poolalloc/trunk/test/dsa/td/checkIncomplete.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/checkIncomplete.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/checkIncomplete.ll (original)
+++ poolalloc/trunk/test/dsa/td/checkIncomplete.ll Sun Mar  1 16:11:47 2015
@@ -21,7 +21,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store i8* %buffer, i8** %buffer_addr
   %0 = load i8*, i8** %buffer_addr, align 8            ; <i8*> [#uses=1]
-  %1 = getelementptr inbounds i8* %0, i64 0       ; <i8*> [#uses=1]
+  %1 = getelementptr inbounds i8, i8* %0, i64 0       ; <i8*> [#uses=1]
   store i8 97, i8* %1, align 1
   br label %return
 

Modified: poolalloc/trunk/test/dsa/td/params1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/params1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/params1.ll (original)
+++ poolalloc/trunk/test/dsa/td/params1.ll Sun Mar  1 16:11:47 2015
@@ -34,26 +34,26 @@ entry:
 
 bb:                                               ; preds = %bb1
   %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]
+  %3 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %elem, i32 0, i32 0 ; <i32*> [#uses=1]
+  %4 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %2, i32 0, i32 0 ; <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]
+  %6 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %elem, i32 0, i32 1 ; <i32*> [#uses=1]
+  %7 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %2, i32 0, i32 1 ; <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]
+  %9 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %elem, i32 0, i32 2 ; <float*> [#uses=1]
+  %10 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %2, i32 0, i32 2 ; <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]
+  %12 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %elem, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 0, i32* %12, align 4
-  %13 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 1 ; <i32*> [#uses=1]
+  %13 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %elem, i32 0, i32 1 ; <i32*> [#uses=1]
   store i32 0, i32* %13, align 4
-  %14 = getelementptr inbounds %struct.InfoStruct* %elem, i32 0, i32 2 ; <float*> [#uses=1]
+  %14 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %elem, i32 0, i32 2 ; <float*> [#uses=1]
   store float 0.000000e+00, float* %14, align 4
   %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]
+  %16 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %15, i64 1 ; <%struct.InfoStruct*> [#uses=1]
   store %struct.InfoStruct* %16, %struct.InfoStruct** %temp, align 8
   br label %bb1
 
@@ -62,7 +62,7 @@ bb1:
   %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]
+  %21 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %18, i64 %20 ; <%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
@@ -93,26 +93,26 @@ entry:
   %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]
+  %5 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %2, i64 %4 ; <%struct.InfoStruct*> [#uses=3]
+  %6 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %obj, i32 0, i32 0 ; <i32*> [#uses=1]
+  %7 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %5, i32 0, i32 0 ; <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]
+  %9 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %obj, i32 0, i32 1 ; <i32*> [#uses=1]
+  %10 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %5, i32 0, i32 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]
+  %12 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %obj, i32 0, i32 2 ; <float*> [#uses=1]
+  %13 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %5, i32 0, i32 2 ; <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]
+  %15 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %obj, i32 0, i32 0 ; <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]
+  %17 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %obj, i32 0, i32 2 ; <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]
+  %19 = getelementptr inbounds %struct.InfoStruct, %struct.InfoStruct* %obj, i32 0, i32 1 ; <i32*> [#uses=1]
   store i32 1, i32* %19, align 4
   br label %return
 

Modified: poolalloc/trunk/test/dsa/td/recur1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/recur1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/recur1.ll (original)
+++ poolalloc/trunk/test/dsa/td/recur1.ll Sun Mar  1 16:11:47 2015
@@ -13,7 +13,7 @@ entry:
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   store i32* %b3, i32** %b3_addr
   %1 = load i32*, i32** %b3_addr, align 8               ; <i32*> [#uses=1]
-  %2 = getelementptr inbounds i32* %1, i64 1      ; <i32*> [#uses=1]
+  %2 = getelementptr inbounds i32, i32* %1, i64 1      ; <i32*> [#uses=1]
   store i32* %2, i32** %0, align 8
   %3 = load i32*, i32** %0, align 8                     ; <i32*> [#uses=1]
   store i32* %3, i32** %retval, align 8

Modified: poolalloc/trunk/test/dsa/td/recur2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/recur2.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/recur2.ll (original)
+++ poolalloc/trunk/test/dsa/td/recur2.ll Sun Mar  1 16:11:47 2015
@@ -59,7 +59,7 @@ entry:
   %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]
+  %5 = getelementptr inbounds i32, i32* %1, i64 %4     ; <i32*> [#uses=1]
   store i32* %5, i32** %0, align 8
   %6 = load i32*, i32** %0, align 8                     ; <i32*> [#uses=1]
   store i32* %6, i32** %retval, align 8

Modified: poolalloc/trunk/test/dsa/types/array2struct.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/array2struct.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/array2struct.ll (original)
+++ poolalloc/trunk/test/dsa/types/array2struct.ll Sun Mar  1 16:11:47 2015
@@ -24,7 +24,7 @@ bb2.i:
   br label %random_nasko.exit
 
 random_nasko.exit:                                ; preds = %bb2.i, %bb8
-  %tmp81moda7 = getelementptr [21 x %struct..0tnode]* bitcast (%0* @tree to [21 x %struct..0tnode]*), i64 0, i64 undef, i32 3, i64 undef ; <i32*> [#uses=0]
+  %tmp81moda7 = getelementptr [21 x %struct..0tnode], [21 x %struct..0tnode]* bitcast (%0* @tree to [21 x %struct..0tnode]*), i64 0, i64 undef, i32 3, i64 undef ; <i32*> [#uses=0]
   ret i32 1
 
 bb10:                                             ; preds = %entry

Modified: poolalloc/trunk/test/dsa/types/mrv.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/mrv.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/mrv.ll (original)
+++ poolalloc/trunk/test/dsa/types/mrv.ll Sun Mar  1 16:11:47 2015
@@ -26,12 +26,12 @@ entry:
   %obj_addr = alloca %struct.S                    ; <%struct.S*> [#uses=3]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   %0 = bitcast %struct.S* %obj_addr to %0*        ; <%0*> [#uses=1]
-  %1 = getelementptr inbounds %0* %0, i32 0, i32 0 ; <double*> [#uses=1]
+  %1 = getelementptr inbounds %0, %0* %0, i32 0, i32 0 ; <double*> [#uses=1]
   store double %obj.0, double* %1
   %2 = bitcast %struct.S* %obj_addr to %0*        ; <%0*> [#uses=1]
-  %3 = getelementptr inbounds %0* %2, i32 0, i32 1 ; <float*> [#uses=1]
+  %3 = getelementptr inbounds %0, %0* %2, i32 0, i32 1 ; <float*> [#uses=1]
   store float %obj.1, float* %3
-  %4 = getelementptr inbounds %struct.S* %obj_addr, i32 0, i32 0 ; <float*> [#uses=1]
+  %4 = getelementptr inbounds %struct.S, %struct.S* %obj_addr, i32 0, i32 0 ; <float*> [#uses=1]
   store float 0x3FF3333340000000, float* %4, align 4
   br label %return
 
@@ -45,17 +45,17 @@ entry:
   %0 = alloca i32                                 ; <i32*> [#uses=2]
   %s = alloca %struct.S                           ; <%struct.S*> [#uses=5]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %1 = getelementptr inbounds %struct.S* %s, i32 0, i32 0 ; <float*> [#uses=1]
+  %1 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 0 ; <float*> [#uses=1]
   store float 1.000000e+00, float* %1, align 4
-  %2 = getelementptr inbounds %struct.S* %s, i32 0, i32 1 ; <float*> [#uses=1]
+  %2 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 1 ; <float*> [#uses=1]
   store float 1.000000e+00, float* %2, align 4
-  %3 = getelementptr inbounds %struct.S* %s, i32 0, i32 2 ; <float*> [#uses=1]
+  %3 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 2 ; <float*> [#uses=1]
   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]
+  %elt = getelementptr inbounds %0, %0* %4, i32 0, i32 0 ; <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]
+  %elt1 = getelementptr inbounds %0, %0* %5, i32 0, i32 1 ; <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

Modified: poolalloc/trunk/test/dsa/types/mrv1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/mrv1.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/mrv1.ll (original)
+++ poolalloc/trunk/test/dsa/types/mrv1.ll Sun Mar  1 16:11:47 2015
@@ -26,12 +26,12 @@ entry:
   %obj_addr = alloca %struct.S                    ; <%struct.S*> [#uses=3]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
   %0 = bitcast %struct.S* %obj_addr to %0*        ; <%0*> [#uses=1]
-  %1 = getelementptr inbounds %0* %0, i32 0, i32 0 ; <double*> [#uses=1]
+  %1 = getelementptr inbounds %0, %0* %0, i32 0, i32 0 ; <double*> [#uses=1]
   store double %obj.0, double* %1
   %2 = bitcast %struct.S* %obj_addr to %0*        ; <%0*> [#uses=1]
-  %3 = getelementptr inbounds %0* %2, i32 0, i32 1 ; <float*> [#uses=1]
+  %3 = getelementptr inbounds %0, %0* %2, i32 0, i32 1 ; <float*> [#uses=1]
   store float %obj.1, float* %3
-  %4 = getelementptr inbounds %struct.S* %obj_addr, i32 0, i32 0 ; <float*> [#uses=1]
+  %4 = getelementptr inbounds %struct.S, %struct.S* %obj_addr, i32 0, i32 0 ; <float*> [#uses=1]
   store float 0x3FF3333340000000, float* %4, align 4
   br label %return
 
@@ -45,39 +45,39 @@ entry:
   %0 = alloca %struct.S                           ; <%struct.S*> [#uses=6]
   %obj = alloca %struct.S                         ; <%struct.S*> [#uses=4]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %1 = getelementptr inbounds %struct.S* %obj, i32 0, i32 0 ; <float*> [#uses=1]
+  %1 = getelementptr inbounds %struct.S, %struct.S* %obj, i32 0, i32 0 ; <float*> [#uses=1]
   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]
+  %2 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 0 ; <float*> [#uses=1]
+  %3 = getelementptr inbounds %struct.S, %struct.S* %obj, i32 0, i32 0 ; <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]
+  %5 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 1 ; <float*> [#uses=1]
+  %6 = getelementptr inbounds %struct.S, %struct.S* %obj, i32 0, i32 1 ; <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]
+  %8 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 2 ; <float*> [#uses=1]
+  %9 = getelementptr inbounds %struct.S, %struct.S* %obj, i32 0, i32 2 ; <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]
+  %11 = getelementptr inbounds %struct.S, %struct.S* %retval, i32 0, i32 0 ; <float*> [#uses=1]
+  %12 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 0 ; <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]
+  %14 = getelementptr inbounds %struct.S, %struct.S* %retval, i32 0, i32 1 ; <float*> [#uses=1]
+  %15 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 1 ; <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]
+  %17 = getelementptr inbounds %struct.S, %struct.S* %retval, i32 0, i32 2 ; <float*> [#uses=1]
+  %18 = getelementptr inbounds %struct.S, %struct.S* %0, i32 0, i32 2 ; <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_gep = getelementptr %0, %0* %retval1, i32 0, i32 0 ; <double*> [#uses=1]
   %mrv = load double, double* %mrv_gep                    ; <double> [#uses=1]
-  %mrv_gep2 = getelementptr %0* %retval1, i32 0, i32 1 ; <float*> [#uses=1]
+  %mrv_gep2 = getelementptr %0, %0* %retval1, i32 0, i32 1 ; <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]
@@ -92,37 +92,37 @@ entry:
   %s1 = alloca %struct.S                          ; <%struct.S*> [#uses=3]
   %memtmp = alloca %0                             ; <%0*> [#uses=3]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %1 = getelementptr inbounds %struct.S* %s, i32 0, i32 0 ; <float*> [#uses=1]
+  %1 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 0 ; <float*> [#uses=1]
   store float 1.000000e+00, float* %1, align 4
-  %2 = getelementptr inbounds %struct.S* %s, i32 0, i32 1 ; <float*> [#uses=1]
+  %2 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 1 ; <float*> [#uses=1]
   store float 1.000000e+00, float* %2, align 4
-  %3 = getelementptr inbounds %struct.S* %s, i32 0, i32 2 ; <float*> [#uses=1]
+  %3 = getelementptr inbounds %struct.S, %struct.S* %s, i32 0, i32 2 ; <float*> [#uses=1]
   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]
+  %elt = getelementptr inbounds %0, %0* %4, i32 0, i32 0 ; <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]
+  %elt1 = getelementptr inbounds %0, %0* %5, i32 0, i32 1 ; <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]
+  %mrv_gep = getelementptr inbounds %0, %0* %memtmp, i32 0, i32 0 ; <double*> [#uses=1]
   %mrv_gr = extractvalue %0 %6, 0                 ; <double> [#uses=1]
   store double %mrv_gr, double* %mrv_gep
-  %mrv_gep3 = getelementptr inbounds %0* %memtmp, i32 0, i32 1 ; <float*> [#uses=1]
+  %mrv_gep3 = getelementptr inbounds %0, %0* %memtmp, i32 0, i32 1 ; <float*> [#uses=1]
   %mrv_gr4 = extractvalue %0 %6, 1                ; <float> [#uses=1]
   store float %mrv_gr4, float* %mrv_gep3
   %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]
+  %7 = getelementptr inbounds %struct.S, %struct.S* %s1, i32 0, i32 0 ; <float*> [#uses=1]
+  %8 = getelementptr inbounds %struct.S, %struct.S* %memtmp5, i32 0, i32 0 ; <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]
+  %10 = getelementptr inbounds %struct.S, %struct.S* %s1, i32 0, i32 1 ; <float*> [#uses=1]
+  %11 = getelementptr inbounds %struct.S, %struct.S* %memtmp5, i32 0, i32 1 ; <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]
+  %13 = getelementptr inbounds %struct.S, %struct.S* %s1, i32 0, i32 2 ; <float*> [#uses=1]
+  %14 = getelementptr inbounds %struct.S, %struct.S* %memtmp5, i32 0, i32 2 ; <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

Modified: poolalloc/trunk/test/dsa/types/union.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/types/union.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union.ll (original)
+++ poolalloc/trunk/test/dsa/types/union.ll Sun Mar  1 16:11:47 2015
@@ -25,33 +25,33 @@ 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** %tmp, align 8
-  %2 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
   %3 = bitcast %struct.StructType* %2 to i32**    ; <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]
+  %5 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
   %6 = bitcast %struct.StructType* %5 to i32**    ; <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]
+  %8 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
   %9 = bitcast %struct.StructType* %8 to i32*     ; <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]
+  %11 = getelementptr inbounds %union.UnionType, %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]
+  %13 = getelementptr inbounds [100 x i32], [100 x i32]* %12, i64 0, i64 0 ; <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]
+  %15 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=2]
+  %16 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 0 ; <float*> [#uses=1]
+  %17 = getelementptr inbounds %struct.StructType, %struct.StructType* %15, i32 0, i32 0 ; <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]
+  %19 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 1 ; <i32**> [#uses=1]
+  %20 = getelementptr inbounds %struct.StructType, %struct.StructType* %15, i32 0, i32 1 ; <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]
+  %22 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 0 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union1.ll (original)
+++ poolalloc/trunk/test/dsa/types/union1.ll Sun Mar  1 16:11:47 2015
@@ -23,43 +23,43 @@ 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** %tmp, align 8
-  %2 = getelementptr inbounds %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
   %3 = bitcast %struct.StructType* %2 to i32**    ; <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]
+  %5 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
   %6 = bitcast %struct.StructType* %5 to i32**    ; <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]
+  %8 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=1]
   %9 = bitcast %struct.StructType* %8 to i32*     ; <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]
+  %11 = getelementptr inbounds %union.UnionType, %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]
+  %13 = getelementptr inbounds [100 x i32], [100 x i32]* %12, i64 0, i64 0 ; <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]
+  %15 = getelementptr inbounds %union.UnionType, %union.UnionType* %s1, i32 0, i32 0 ; <%struct.StructType*> [#uses=3]
+  %16 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 0 ; <float*> [#uses=1]
+  %17 = getelementptr inbounds %struct.StructType, %struct.StructType* %15, i32 0, i32 0 ; <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]
+  %19 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 1 ; <i32**> [#uses=1]
+  %20 = getelementptr inbounds %struct.StructType, %struct.StructType* %15, i32 0, i32 1 ; <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]
+  %22 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 2 ; <%struct.NestedStructType*> [#uses=2]
+  %23 = getelementptr inbounds %struct.StructType, %struct.StructType* %15, i32 0, i32 2 ; <%struct.NestedStructType*> [#uses=2]
+  %24 = getelementptr inbounds %struct.NestedStructType, %struct.NestedStructType* %22, i32 0, i32 0 ; <float*> [#uses=1]
+  %25 = getelementptr inbounds %struct.NestedStructType, %struct.NestedStructType* %23, i32 0, i32 0 ; <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]
+  %27 = getelementptr inbounds %struct.NestedStructType, %struct.NestedStructType* %22, i32 0, i32 1 ; <i32**> [#uses=1]
+  %28 = getelementptr inbounds %struct.NestedStructType, %struct.NestedStructType* %23, i32 0, i32 1 ; <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]
+  %30 = getelementptr inbounds %struct.StructType, %struct.StructType* %x, i32 0, i32 0 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union2.ll (original)
+++ poolalloc/trunk/test/dsa/types/union2.ll Sun Mar  1 16:11:47 2015
@@ -15,36 +15,36 @@ entry:
   %t = alloca i32                                 ; <i32*> [#uses=1]
   %t1 = alloca i32                                ; <i32*> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %0 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %1 = getelementptr inbounds %struct.StructType1* %0, i32 0, i32 0 ; <i32*> [#uses=1]
+  %0 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %1 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %0, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 2, i32* %1, align 4
-  %2 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %3 = getelementptr inbounds %struct.StructType1* %2, i32 0, i32 1 ; <i32*> [#uses=1]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %3 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %2, i32 0, i32 1 ; <i32*> [#uses=1]
   store i32 33, i32* %3, align 4
-  %4 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %5 = getelementptr inbounds %struct.StructType1* %4, i32 0, i32 2 ; <i32*> [#uses=1]
+  %4 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %5 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %4, i32 0, i32 2 ; <i32*> [#uses=1]
   store i32 22, i32* %5, align 4
-  %6 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %6 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
   %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]
+  %8 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 0 ; <i32*> [#uses=1]
+  %9 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 0 ; <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]
+  %11 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 1 ; <i16*> [#uses=1]
+  %12 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 1 ; <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]
+  %14 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 2 ; <i32*> [#uses=1]
+  %15 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 2 ; <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]
+  %17 = getelementptr inbounds %union.UnionType, %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]
+  %19 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %18, i32 0, i32 2 ; <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]
+  %21 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %22 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %21, i32 0, i32 2 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union3.ll (original)
+++ poolalloc/trunk/test/dsa/types/union3.ll Sun Mar  1 16:11:47 2015
@@ -13,31 +13,31 @@ entry:
   %obj = alloca %union.UnionType                  ; <%union.UnionType*> [#uses=4]
   %s = alloca %struct.StructType2                 ; <%struct.StructType2*> [#uses=4]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %0 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %1 = getelementptr inbounds %struct.StructType1* %0, i32 0, i32 0 ; <i32*> [#uses=1]
+  %0 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %1 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %0, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 2, i32* %1, align 4
-  %2 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %3 = getelementptr inbounds %struct.StructType1* %2, i32 0, i32 1 ; <i32*> [#uses=1]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %3 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %2, i32 0, i32 1 ; <i32*> [#uses=1]
   store i32 33, i32* %3, align 4
-  %4 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %5 = getelementptr inbounds %struct.StructType1* %4, i32 0, i32 2 ; <i32*> [#uses=1]
+  %4 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %5 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %4, i32 0, i32 2 ; <i32*> [#uses=1]
   store i32 22, i32* %5, align 4
-  %6 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %6 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
   %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]
+  %8 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 0 ; <i32*> [#uses=1]
+  %9 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 0 ; <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]
+  %11 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 1 ; <i16*> [#uses=1]
+  %12 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 1 ; <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]
+  %14 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 2 ; <i16*> [#uses=1]
+  %15 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 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]
+  %17 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %s, i32 0, i32 3 ; <i32*> [#uses=1]
+  %18 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 3 ; <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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union4.ll (original)
+++ poolalloc/trunk/test/dsa/types/union4.ll Sun Mar  1 16:11:47 2015
@@ -14,23 +14,23 @@ entry:
   %x = alloca i16                                 ; <i16*> [#uses=1]
   %y = alloca i16                                 ; <i16*> [#uses=1]
   %"alloca point" = bitcast i32 0 to i32          ; <i32> [#uses=0]
-  %0 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %1 = getelementptr inbounds %struct.StructType1* %0, i32 0, i32 0 ; <i32*> [#uses=1]
+  %0 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %1 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %0, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 2, i32* %1, align 4
-  %2 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %3 = getelementptr inbounds %struct.StructType1* %2, i32 0, i32 1 ; <i32*> [#uses=1]
+  %2 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %3 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %2, i32 0, i32 1 ; <i32*> [#uses=1]
   store i32 33, i32* %3, align 4
-  %4 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
-  %5 = getelementptr inbounds %struct.StructType1* %4, i32 0, i32 2 ; <i32*> [#uses=1]
+  %4 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %5 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %4, i32 0, i32 2 ; <i32*> [#uses=1]
   store i32 22, i32* %5, align 4
-  %6 = getelementptr inbounds %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType1*> [#uses=1]
+  %6 = getelementptr inbounds %union.UnionType, %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]
+  %8 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %7, i32 0, i32 1 ; <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]
+  %10 = getelementptr inbounds %union.UnionType, %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]
+  %12 = getelementptr inbounds %struct.StructType2, %struct.StructType2* %11, i32 0, i32 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=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/types/union_arrays.ll (original)
+++ poolalloc/trunk/test/dsa/types/union_arrays.ll Sun Mar  1 16:11:47 2015
@@ -23,30 +23,30 @@ bb:
   %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]
+  %3 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
   %4 = bitcast %struct.StructType2* %3 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
-  %5 = getelementptr inbounds %struct.StructType1* %4, i32 0, i32 0 ; <[10 x i32]*> [#uses=1]
+  %5 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %4, i32 0, i32 0 ; <[10 x i32]*> [#uses=1]
   %6 = sext i32 %0 to i64                         ; <i64> [#uses=1]
-  %7 = getelementptr inbounds [10 x i32]* %5, i64 0, i64 %6 ; <i32*> [#uses=1]
+  %7 = getelementptr inbounds [10 x i32], [10 x i32]* %5, i64 0, i64 %6 ; <i32*> [#uses=1]
   store i32 %2, i32* %7, align 4
   %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]
+  %12 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
   %13 = bitcast %struct.StructType2* %12 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
-  %14 = getelementptr inbounds %struct.StructType1* %13, i32 0, i32 1 ; <[10 x i16]*> [#uses=1]
+  %14 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %13, i32 0, i32 1 ; <[10 x i16]*> [#uses=1]
   %15 = sext i32 %8 to i64                        ; <i64> [#uses=1]
-  %16 = getelementptr inbounds [10 x i16]* %14, i64 0, i64 %15 ; <i16*> [#uses=1]
+  %16 = getelementptr inbounds [10 x i16], [10 x i16]* %14, i64 0, i64 %15 ; <i16*> [#uses=1]
   store i16 %11, i16* %16, align 2
   %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]
+  %20 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
   %21 = bitcast %struct.StructType2* %20 to %struct.StructType1* ; <%struct.StructType1*> [#uses=1]
-  %22 = getelementptr inbounds %struct.StructType1* %21, i32 0, i32 2 ; <[10 x i32]*> [#uses=1]
+  %22 = getelementptr inbounds %struct.StructType1, %struct.StructType1* %21, i32 0, i32 2 ; <[10 x i32]*> [#uses=1]
   %23 = sext i32 %17 to i64                       ; <i64> [#uses=1]
-  %24 = getelementptr inbounds [10 x i32]* %22, i64 0, i64 %23 ; <i32*> [#uses=1]
+  %24 = getelementptr inbounds [10 x i32], [10 x i32]* %22, i64 0, i64 %23 ; <i32*> [#uses=1]
   store i32 %19, i32* %24, align 4
   %25 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %26 = add nsw i32 %25, 1                        ; <i32> [#uses=1]
@@ -65,43 +65,43 @@ bb2:
 bb3:                                              ; preds = %bb4
   %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]
+  %31 = getelementptr inbounds %union.UnionType, %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]
+  %33 = getelementptr inbounds %struct.StructType1, %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]
+  %35 = getelementptr inbounds [10 x i32], [10 x i32]* %33, i64 0, i64 %34 ; <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]
+  %37 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj_copy, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
+  %38 = getelementptr inbounds %struct.StructType2, %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]
+  %40 = getelementptr inbounds [10 x i32], [10 x i32]* %38, i64 0, i64 %39 ; <i32*> [#uses=1]
   store i32 %36, i32* %40, align 4
   %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]
+  %43 = getelementptr inbounds %union.UnionType, %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]
+  %45 = getelementptr inbounds %struct.StructType1, %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]
+  %47 = getelementptr inbounds [10 x i16], [10 x i16]* %45, i64 0, i64 %46 ; <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]
+  %50 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj_copy, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
+  %51 = getelementptr inbounds %struct.StructType2, %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]
+  %53 = getelementptr inbounds [10 x i32], [10 x i32]* %51, i64 0, i64 %52 ; <i32*> [#uses=1]
   store i32 %49, i32* %53, align 4
   %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]
+  %56 = getelementptr inbounds %union.UnionType, %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]
+  %58 = getelementptr inbounds %struct.StructType1, %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]
+  %60 = getelementptr inbounds [10 x i32], [10 x i32]* %58, i64 0, i64 %59 ; <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]
+  %62 = getelementptr inbounds %union.UnionType, %union.UnionType* %obj_copy, i32 0, i32 0 ; <%struct.StructType2*> [#uses=1]
+  %63 = getelementptr inbounds %struct.StructType2, %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]
+  %65 = getelementptr inbounds [10 x i32], [10 x i32]* %63, i64 0, i64 %64 ; <i32*> [#uses=1]
   store i32 %61, i32* %65, align 4
   %66 = load i32, i32* %i, align 4                     ; <i32> [#uses=1]
   %67 = add nsw i32 %66, 1                        ; <i32> [#uses=1]

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -33,7 +33,7 @@ entry:
   %1 = load i8*, i8** %ap, align 4                     ; <i8*> [#uses=1]
   store i8* %1, i8** %ap.0, align 4
   %2 = load i8*, i8** %ap.0, align 4                   ; <i8*> [#uses=1]
-  %3 = getelementptr inbounds i8* %2, i64 4       ; <i8*> [#uses=1]
+  %3 = getelementptr inbounds i8, i8* %2, i64 4       ; <i8*> [#uses=1]
   store i8* %3, i8** %ap, align 4
   %4 = load i8*, i8** %ap.0, align 4                   ; <i8*> [#uses=1]
   %5 = bitcast i8* %4 to i32**                    ; <i32**> [#uses=1]

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -38,18 +38,18 @@ 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 = 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]
+  %1 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %2 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %1, i32 0, i32 0 ; <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]
+  %5 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %6 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %5, i32 0, i32 3 ; <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]
+  %8 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %9 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %8, i32 0, i32 0 ; <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]
@@ -57,23 +57,23 @@ bb:
   %14 = add i64 %12, %13                          ; <i64> [#uses=1]
   %15 = inttoptr i64 %14 to i8*                   ; <i8*> [#uses=1]
   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]
+  %16 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %17 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %16, i32 0, i32 0 ; <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]
+  %20 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %21 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %20, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 %19, i32* %21, align 8
   br label %bb4
 
 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]
+  %22 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %23 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %22, i32 0, i32 2 ; <i8**> [#uses=1]
   %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]
-  %27 = getelementptr inbounds %struct.__va_list_tag* %26, i32 0, i32 2 ; <i8**> [#uses=1]
+  %25 = getelementptr inbounds i8, i8* %24, i64 8     ; <i8*> [#uses=1]
+  %26 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %27 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %26, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %25, i8** %27, align 8
   br label %bb4
 

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -35,7 +35,7 @@ entry:
   %2 = load i8*, i8** %ap, align 4                     ; <i8*> [#uses=1]
   store i8* %2, i8** %ap.1, align 4
   %3 = load i8*, i8** %ap.1, align 4                   ; <i8*> [#uses=1]
-  %4 = getelementptr inbounds i8* %3, i64 4       ; <i8*> [#uses=1]
+  %4 = getelementptr inbounds i8, i8* %3, i64 4       ; <i8*> [#uses=1]
   store i8* %4, i8** %ap, align 4
   %5 = load i8*, i8** %ap.1, align 4                   ; <i8*> [#uses=1]
   %6 = bitcast i8* %5 to i32**                    ; <i32**> [#uses=1]
@@ -46,7 +46,7 @@ entry:
   %8 = load i8*, i8** %ap_copy, align 4                ; <i8*> [#uses=1]
   store i8* %8, i8** %ap_copy.3, align 4
   %9 = load i8*, i8** %ap_copy.3, align 4              ; <i8*> [#uses=1]
-  %10 = getelementptr inbounds i8* %9, i64 4      ; <i8*> [#uses=1]
+  %10 = getelementptr inbounds i8, i8* %9, i64 4      ; <i8*> [#uses=1]
   store i8* %10, i8** %ap_copy, align 4
   %11 = load i8*, i8** %ap_copy.3, align 4             ; <i8*> [#uses=1]
   %12 = bitcast i8* %11 to i32**                  ; <i32**> [#uses=1]

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=230916&r1=230915&r2=230916&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:11:47 2015
@@ -33,18 +33,18 @@ entry:
   %ap_copy35 = bitcast %struct.__va_list_tag* %ap_copy3 to i8* ; <i8*> [#uses=1]
   %ap46 = bitcast %struct.__va_list_tag* %ap4 to i8* ; <i8*> [#uses=1]
   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]
+  %1 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %2 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %1, i32 0, i32 0 ; <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]
+  %5 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %6 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %5, i32 0, i32 3 ; <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]
+  %8 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %9 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %8, i32 0, i32 0 ; <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]
@@ -52,23 +52,23 @@ bb:
   %14 = add i64 %12, %13                          ; <i64> [#uses=1]
   %15 = inttoptr i64 %14 to i8*                   ; <i8*> [#uses=1]
   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]
+  %16 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %17 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %16, i32 0, i32 0 ; <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]
+  %20 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %21 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %20, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 %19, i32* %21, align 8
   br label %bb8
 
 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]
+  %22 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %23 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %22, i32 0, i32 2 ; <i8**> [#uses=1]
   %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]
-  %27 = getelementptr inbounds %struct.__va_list_tag* %26, i32 0, i32 2 ; <i8**> [#uses=1]
+  %25 = getelementptr inbounds i8, i8* %24, i64 8     ; <i8*> [#uses=1]
+  %26 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %27 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %26, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %25, i8** %27, align 8
   br label %bb8
 
@@ -80,18 +80,18 @@ bb8:
   %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]
+  %31 = getelementptr inbounds [1 x %struct.__va_list_tag], [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, %struct.__va_list_tag* %31, i32 0, i32 0 ; <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]
+  %35 = getelementptr inbounds [1 x %struct.__va_list_tag], [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, %struct.__va_list_tag* %35, i32 0, i32 3 ; <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]
+  %38 = getelementptr inbounds [1 x %struct.__va_list_tag], [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, %struct.__va_list_tag* %38, i32 0, i32 0 ; <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]
@@ -99,23 +99,23 @@ bb11:
   %44 = add i64 %42, %43                          ; <i64> [#uses=1]
   %45 = inttoptr i64 %44 to i8*                   ; <i8*> [#uses=1]
   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]
+  %46 = getelementptr inbounds [1 x %struct.__va_list_tag], [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, %struct.__va_list_tag* %46, i32 0, i32 0 ; <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]
+  %50 = getelementptr inbounds [1 x %struct.__va_list_tag], [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, %struct.__va_list_tag* %50, i32 0, i32 0 ; <i32*> [#uses=1]
   store i32 %49, i32* %51, align 8
   br label %bb13
 
 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]
+  %52 = getelementptr inbounds [1 x %struct.__va_list_tag], [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, %struct.__va_list_tag* %52, i32 0, i32 2 ; <i8**> [#uses=1]
   %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]
-  %57 = getelementptr inbounds %struct.__va_list_tag* %56, i32 0, i32 2 ; <i8**> [#uses=1]
+  %55 = getelementptr inbounds i8, i8* %54, i64 8     ; <i8*> [#uses=1]
+  %56 = getelementptr inbounds [1 x %struct.__va_list_tag], [1 x %struct.__va_list_tag]* %ap_copy, i64 0, i64 0 ; <%struct.__va_list_tag*> [#uses=1]
+  %57 = getelementptr inbounds %struct.__va_list_tag, %struct.__va_list_tag* %56, i32 0, i32 2 ; <i8**> [#uses=1]
   store i8* %55, i8** %57, align 8
   br label %bb13
 

Modified: poolalloc/trunk/test/pa/clone/computeNodeMappingFail.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/pa/clone/computeNodeMappingFail.ll?rev=230916&r1=230915&r2=230916&view=diff
==============================================================================
--- poolalloc/trunk/test/pa/clone/computeNodeMappingFail.ll (original)
+++ poolalloc/trunk/test/pa/clone/computeNodeMappingFail.ll Sun Mar  1 16:11:47 2015
@@ -40,7 +40,7 @@ KernelGetAttr.exit42:
   unreachable
 
 bb23:                                             ; preds = %bb21
-  %tmp72 = getelementptr inbounds %struct.RefObj* undef, i64 0, i32 1 ; <%struct.TypeToken*> [#uses=1]
+  %tmp72 = getelementptr inbounds %struct.RefObj, %struct.RefObj* undef, i64 0, i32 1 ; <%struct.TypeToken*> [#uses=1]
   %tmp85 = call fastcc i32 @ImageGetObject(%struct.TypeToken* %tmp72, i32* %Status, i8** %RefObject) nounwind ; <i32> [#uses=0]
   unreachable
 





More information about the llvm-commits mailing list