[poolalloc] r232266 - Update test IR for explicit type param in GEP op (r232184).
Will Dietz
wdietz2 at illinois.edu
Sat Mar 14 08:00:04 PDT 2015
Author: wdietz2
Date: Sat Mar 14 10:00:04 2015
New Revision: 232266
URL: http://llvm.org/viewvc/llvm-project?rev=232266&view=rev
Log:
Update test IR for explicit type param in GEP op (r232184).
Used migration script from commit message, thanks!
Modified:
poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll
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/pr7799.ll
poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll
poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll
poolalloc/trunk/test/dsa/extern/extern_global.ll
poolalloc/trunk/test/dsa/local/array_in_struct.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/regression/2010-07-12-SCCLeader.ll
poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll
poolalloc/trunk/test/dsa/regression/2012-04-29.GlobalInitCollapse.ll
poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll
poolalloc/trunk/test/dsa/td/checkIncomplete.ll
poolalloc/trunk/test/dsa/var_arg/print.ll
Modified: poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/calltargets_typemismatch1.ll Sat Mar 14 10:00:04 2015
@@ -19,7 +19,7 @@ entry:
store float %f, float* %f_addr
%1 = load float, float* %f_addr, align 4 ; <float> [#uses=1]
%2 = fpext float %1 to double ; <double> [#uses=1]
- %3 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([4 x i8]* @.str, i64 0, i64 0), double %2) nounwind ; <i32> [#uses=0]
+ %3 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), double %2) nounwind ; <i32> [#uses=0]
store i32* null, i32** %0, align 8
%4 = load i32*, i32** %0, align 8 ; <i32*> [#uses=1]
store i32* %4, i32** %retval, align 8
@@ -40,7 +40,7 @@ entry:
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store double %d, double* %d_addr
%1 = load double, double* %d_addr, align 8 ; <double> [#uses=1]
- %2 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([4 x i8]* @.str1, i64 0, i64 0), double %1) nounwind ; <i32> [#uses=0]
+ %2 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([4 x i8], [4 x i8]* @.str1, i64 0, i64 0), double %1) nounwind ; <i32> [#uses=0]
store i32* null, 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/callgraph/class.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/class.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/class.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/class.ll Sat Mar 14 10:00:04 2015
@@ -14,11 +14,11 @@ target triple = "x86_64-unknown-linux-gn
@ob = internal global %struct.BaseClass zeroinitializer ; <%struct.BaseClass*> [#uses=2]
@_ZTV9BaseClass = internal constant [4 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to i32 (...)*), i32 (...)* bitcast (void (%struct.BaseClass*)* @_ZN9BaseClass10myFunctionEv to i32 (...)*), i32 (...)* bitcast (void (%struct.BaseClass*)* @_ZN9BaseClass14calledFunctionEv to i32 (...)*)], align 32 ; <[4 x i32 (...)*]*> [#uses=1]
- at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
+ at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
@_ZTVN10__cxxabiv117__class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS9BaseClass = internal constant [11 x i8] c"9BaseClass\00" ; <[11 x i8]*> [#uses=1]
@_ZTV13DerivedClass1 = internal constant [4 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass1*)* @_ZN13DerivedClass110myFunctionEv to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass1*)* @_ZN13DerivedClass114calledFunctionEv to i32 (...)*)], align 32 ; <[4 x i32 (...)*]*> [#uses=1]
- at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
+ at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
@_ZTVN10__cxxabiv120__si_class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS13DerivedClass1 = internal constant [16 x i8] c"13DerivedClass1\00", align 16 ; <[16 x i8]*> [#uses=1]
@derivedObject1 = internal global %struct.DerivedClass1 zeroinitializer ; <%struct.DerivedClass1*> [#uses=1]
@@ -136,7 +136,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([4 x i32 (...)*], [4 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -150,7 +150,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([4 x i32 (...)*], [4 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -168,7 +168,7 @@ entry:
%2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#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
+ store i32 (...)** getelementptr inbounds ([4 x i32 (...)*], [4 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
br label %return
return: ; preds = %entry
Modified: poolalloc/trunk/test/dsa/callgraph/inheritance1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance1.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance1.ll Sat Mar 14 10:00:04 2015
@@ -36,15 +36,15 @@ target triple = "x86_64-unknown-linux-gn
%union.pthread_mutexattr_t = type { i32 }
@_ZTV9BaseClass = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to i32 (...)*), i32 (...)* bitcast (void (%struct.BaseClass*)* @_ZN9BaseClass10myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
+ at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
@_ZTVN10__cxxabiv117__class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS9BaseClass = internal constant [11 x i8] c"9BaseClass\00" ; <[11 x i8]*> [#uses=1]
@_ZTV13DerivedClass1 = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass1*)* @_ZN13DerivedClass110myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=2]
+ at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=2]
@_ZTVN10__cxxabiv120__si_class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS13DerivedClass1 = internal constant [16 x i8] c"13DerivedClass1\00", align 16 ; <[16 x i8]*> [#uses=1]
@_ZTV13DerivedClass2 = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass2 to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass2*)* @_ZN13DerivedClass210myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI13DerivedClass2 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8]* @_ZTS13DerivedClass2, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
+ at _ZTI13DerivedClass2 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @_ZTS13DerivedClass2, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
@_ZTS13DerivedClass2 = internal constant [16 x i8] c"13DerivedClass2\00", align 16 ; <[16 x i8]*> [#uses=1]
@_ZSt4cout = external global %"struct.std::basic_ostream<char,std::char_traits<char> >" ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=3]
@.str = private constant [41 x i8] c"Using BaseClass version of myFunction()\0A\00", align 8 ; <[41 x i8]*> [#uses=1]
@@ -123,7 +123,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -135,7 +135,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([41 x i8]* @.str, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -149,7 +149,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -167,7 +167,7 @@ entry:
%2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
br label %return
return: ; preds = %entry
@@ -179,7 +179,7 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8]* @.str1, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str1, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -197,7 +197,7 @@ entry:
%2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
br label %return
return: ; preds = %entry
@@ -216,7 +216,7 @@ entry:
%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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass2, i64 0, i64 2), i32 (...)*** %5, align 8
br label %return
return: ; preds = %entry
@@ -228,7 +228,7 @@ entry:
%this_addr = alloca %struct.DerivedClass2* ; <%struct.DerivedClass2**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass2* %this, %struct.DerivedClass2** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8]* @.str2, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str2, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
Modified: poolalloc/trunk/test/dsa/callgraph/inheritance2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance2.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance2.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance2.ll Sat Mar 14 10:00:04 2015
@@ -43,15 +43,15 @@ target triple = "x86_64-unknown-linux-gn
@.str1 = private constant [47 x i8] c"Using DerivedClass1's version of myFunction()\0A\00", align 8 ; <[47 x i8]*> [#uses=1]
@.str2 = private constant [47 x i8] c"Using DerivedClass2's version of myFunction()\0A\00", align 8 ; <[47 x i8]*> [#uses=1]
@_ZTV9BaseClass = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to i32 (...)*), i32 (...)* bitcast (void (%struct.BaseClass*)* @_ZN9BaseClass10myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
+ at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
@_ZTVN10__cxxabiv117__class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS9BaseClass = internal constant [11 x i8] c"9BaseClass\00" ; <[11 x i8]*> [#uses=1]
@_ZTV13DerivedClass1 = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass1*)* @_ZN13DerivedClass110myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=2]
+ at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=2]
@_ZTVN10__cxxabiv120__si_class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS13DerivedClass1 = internal constant [16 x i8] c"13DerivedClass1\00", align 16 ; <[16 x i8]*> [#uses=1]
@_ZTV13DerivedClass2 = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass2 to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass2*)* @_ZN13DerivedClass210myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI13DerivedClass2 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8]* @_ZTS13DerivedClass2, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
+ at _ZTI13DerivedClass2 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @_ZTS13DerivedClass2, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
@_ZTS13DerivedClass2 = internal constant [16 x i8] c"13DerivedClass2\00", align 16 ; <[16 x i8]*> [#uses=1]
@_ZStL8__ioinit = internal global %"struct.std::ios_base::Init" zeroinitializer ; <%"struct.std::ios_base::Init"*> [#uses=2]
@__dso_handle = external global i8* ; <i8**> [#uses=1]
@@ -88,7 +88,7 @@ bb1:
br i1 %4, label %bb2, label %bb3
bb2: ; preds = %bb1
- store %struct.BaseClass* getelementptr inbounds (%struct.DerivedClass1* @derivedObject1, i64 0, i32 0), %struct.BaseClass** %0, align 8
+ store %struct.BaseClass* getelementptr inbounds (%struct.DerivedClass1, %struct.DerivedClass1* @derivedObject1, i64 0, i32 0), %struct.BaseClass** %0, align 8
br label %bb6
bb3: ; preds = %bb1
@@ -97,7 +97,7 @@ bb3:
br i1 %6, label %bb4, label %bb5
bb4: ; preds = %bb3
- store %struct.BaseClass* getelementptr inbounds (%struct.DerivedClass2* @derivedObject2, i64 0, i32 0, i32 0), %struct.BaseClass** %0, align 8
+ store %struct.BaseClass* getelementptr inbounds (%struct.DerivedClass2, %struct.DerivedClass2* @derivedObject2, i64 0, i32 0, i32 0), %struct.BaseClass** %0, align 8
br label %bb6
bb5: ; preds = %bb3
@@ -164,7 +164,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([41 x i8]* @.str, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -178,7 +178,7 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8]* @.str1, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str1, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -190,7 +190,7 @@ entry:
%this_addr = alloca %struct.DerivedClass2* ; <%struct.DerivedClass2**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass2* %this, %struct.DerivedClass2** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8]* @.str2, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str2, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -204,7 +204,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -218,7 +218,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -236,7 +236,7 @@ entry:
%2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
br label %return
return: ; preds = %entry
@@ -254,7 +254,7 @@ entry:
%2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
br label %return
return: ; preds = %entry
@@ -273,7 +273,7 @@ entry:
%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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass2, i64 0, i64 2), i32 (...)*** %5, align 8
br label %return
return: ; preds = %entry
Modified: poolalloc/trunk/test/dsa/callgraph/inheritance3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/inheritance3.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/inheritance3.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/inheritance3.ll Sat Mar 14 10:00:04 2015
@@ -42,11 +42,11 @@ target triple = "x86_64-unknown-linux-gn
@.str = private constant [41 x i8] c"Using BaseClass version of myFunction()\0A\00", align 8 ; <[41 x i8]*> [#uses=1]
@.str1 = private constant [47 x i8] c"Using DerivedClass1's version of myFunction()\0A\00", align 8 ; <[47 x i8]*> [#uses=1]
@_ZTV9BaseClass = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to i32 (...)*), i32 (...)* bitcast (void (%struct.BaseClass*)* @_ZN9BaseClass10myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
+ at _ZTI9BaseClass = internal constant %struct.__class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv117__class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([11 x i8], [11 x i8]* @_ZTS9BaseClass, i64 0, i64 0) } }, align 16 ; <%struct.__class_type_info_pseudo*> [#uses=2]
@_ZTVN10__cxxabiv117__class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS9BaseClass = internal constant [11 x i8] c"9BaseClass\00" ; <[11 x i8]*> [#uses=1]
@_ZTV13DerivedClass1 = internal constant [3 x i32 (...)*] [i32 (...)* null, i32 (...)* bitcast (%struct.__si_class_type_info_pseudo* @_ZTI13DerivedClass1 to i32 (...)*), i32 (...)* bitcast (void (%struct.DerivedClass1*)* @_ZN13DerivedClass110myFunctionEv to i32 (...)*)], align 16 ; <[3 x i32 (...)*]*> [#uses=1]
- at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
+ at _ZTI13DerivedClass1 = internal constant %struct.__si_class_type_info_pseudo { %struct.__type_info_pseudo { i8* inttoptr (i64 add (i64 ptrtoint ([0 x i32 (...)*]* @_ZTVN10__cxxabiv120__si_class_type_infoE to i64), i64 16) to i8*), i8* getelementptr inbounds ([16 x i8], [16 x i8]* @_ZTS13DerivedClass1, i64 0, i64 0) }, %"struct.std::type_info"* bitcast (%struct.__class_type_info_pseudo* @_ZTI9BaseClass to %"struct.std::type_info"*) }, align 16 ; <%struct.__si_class_type_info_pseudo*> [#uses=1]
@_ZTVN10__cxxabiv120__si_class_type_infoE = external constant [0 x i32 (...)*] ; <[0 x i32 (...)*]*> [#uses=1]
@_ZTS13DerivedClass1 = internal constant [16 x i8] c"13DerivedClass1\00", align 16 ; <[16 x i8]*> [#uses=1]
@_ZStL8__ioinit = internal global %"struct.std::ios_base::Init" zeroinitializer ; <%"struct.std::ios_base::Init"*> [#uses=2]
@@ -83,7 +83,7 @@ bb1:
br i1 %4, label %bb2, label %bb3
bb2: ; preds = %bb1
- store %struct.BaseClass* getelementptr inbounds (%struct.DerivedClass1* @derivedObject1, i64 0, i32 0), %struct.BaseClass** %0, align 8
+ store %struct.BaseClass* getelementptr inbounds (%struct.DerivedClass1, %struct.DerivedClass1* @derivedObject1, i64 0, i32 0), %struct.BaseClass** %0, align 8
br label %bb4
bb3: ; preds = %bb1
@@ -171,7 +171,7 @@ entry:
%this_addr = alloca %struct.BaseClass* ; <%struct.BaseClass**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.BaseClass* %this, %struct.BaseClass** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([41 x i8]* @.str, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([41 x i8], [41 x i8]* @.str, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -185,7 +185,7 @@ entry:
%this_addr = alloca %struct.DerivedClass1* ; <%struct.DerivedClass1**> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
store %struct.DerivedClass1* %this, %struct.DerivedClass1** %this_addr
- %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8]* @.str1, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
+ %0 = call %"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(%"struct.std::basic_ostream<char,std::char_traits<char> >"* @_ZSt4cout, i8* getelementptr inbounds ([47 x i8], [47 x i8]* @.str1, i64 0, i64 0)) ; <%"struct.std::basic_ostream<char,std::char_traits<char> >"*> [#uses=0]
br label %return
return: ; preds = %entry
@@ -199,7 +199,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -213,7 +213,7 @@ entry:
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, %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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV9BaseClass, i64 0, i64 2), i32 (...)*** %1, align 8
br label %return
return: ; preds = %entry
@@ -231,7 +231,7 @@ entry:
%2 = load %struct.DerivedClass1*, %struct.DerivedClass1** %this_addr, align 8 ; <%struct.DerivedClass1*> [#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
+ store i32 (...)** getelementptr inbounds ([3 x i32 (...)*], [3 x i32 (...)*]* @_ZTV13DerivedClass1, i64 0, i64 2), i32 (...)*** %4, align 8
br label %return
return: ; preds = %entry
Modified: poolalloc/trunk/test/dsa/callgraph/pr7799.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/callgraph/pr7799.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/pr7799.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/pr7799.ll Sat Mar 14 10:00:04 2015
@@ -6,7 +6,7 @@ target triple = "x86_64-unknown-linux-gn
%struct.combo = type { i8*, i32 (i32)* }
- at farray = internal global [2 x %struct.combo] [%struct.combo { i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i32 (i32)* @a }, %struct.combo { i8* getelementptr inbounds ([7 x i8]* @.str1, i64 0, i64 0), i32 (i32)* @b }], align 32 ; <[2 x %struct.combo]*> [#uses=1]
+ at farray = internal global [2 x %struct.combo] [%struct.combo { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 (i32)* @a }, %struct.combo { i8* getelementptr inbounds ([7 x i8], [7 x i8]* @.str1, i64 0, i64 0), i32 (i32)* @b }], align 32 ; <[2 x %struct.combo]*> [#uses=1]
@.str = private constant [6 x i8] c"first\00", align 1 ; <[6 x i8]*> [#uses=1]
@.str1 = private constant [7 x i8] c"second\00", align 1 ; <[7 x i8]*> [#uses=1]
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/table_dispatch.ll Sat Mar 14 10:00:04 2015
@@ -8,7 +8,7 @@ target triple = "x86_64-unknown-linux-gn
%struct.parse_table = type { i8*, i32 ()* }
- at table = internal constant [2 x %struct.parse_table] [%struct.parse_table { i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i32 ()* @func1 }, %struct.parse_table { i8* getelementptr inbounds ([6 x i8]* @.str1, i64 0, i64 0), i32 ()* @func2 }], align 32 ; <[2 x %struct.parse_table]*> [#uses=2]
+ at table = internal constant [2 x %struct.parse_table] [%struct.parse_table { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 ()* @func1 }, %struct.parse_table { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str1, i64 0, i64 0), i32 ()* @func2 }], align 32 ; <[2 x %struct.parse_table]*> [#uses=2]
@.str = private constant [6 x i8] c"name1\00", align 1 ; <[6 x i8]*> [#uses=1]
@.str1 = private constant [6 x i8] c"name2\00", align 1 ; <[6 x i8]*> [#uses=1]
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll (original)
+++ poolalloc/trunk/test/dsa/callgraph/table_dispatch1.ll Sat Mar 14 10:00:04 2015
@@ -7,7 +7,7 @@ target triple = "x86_64-unknown-linux-gn
%struct.parse_table = type { i8*, i32 ()* }
- at table = internal global [2 x %struct.parse_table] [%struct.parse_table { i8* getelementptr inbounds ([6 x i8]* @.str, i64 0, i64 0), i32 ()* @func1 }, %struct.parse_table { i8* getelementptr inbounds ([6 x i8]* @.str1, i64 0, i64 0), i32 ()* @func2 }], align 32 ; <[2 x %struct.parse_table]*> [#uses=2]
+ at table = internal global [2 x %struct.parse_table] [%struct.parse_table { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str, i64 0, i64 0), i32 ()* @func1 }, %struct.parse_table { i8* getelementptr inbounds ([6 x i8], [6 x i8]* @.str1, i64 0, i64 0), i32 ()* @func2 }], align 32 ; <[2 x %struct.parse_table]*> [#uses=2]
@.str = private constant [6 x i8] c"name1\00", align 1 ; <[6 x i8]*> [#uses=1]
@.str1 = private constant [6 x i8] c"name2\00", align 1 ; <[6 x i8]*> [#uses=1]
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/extern/extern_global.ll (original)
+++ poolalloc/trunk/test/dsa/extern/extern_global.ll Sat Mar 14 10:00:04 2015
@@ -41,7 +41,7 @@ entry:
%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
+ store %struct.myStruct* %s, %struct.myStruct** getelementptr inbounds (%struct.myStruct, %struct.myStruct* @globalStructWithPointers, i64 0, i32 1), align 8
;Play around with the rest of the globals
store i32* @globalInt, i32** @globalIntPtr, align 8
store i32** @globalIntPtr, i32*** @normalGlobal, align 8
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/array_in_struct.ll (original)
+++ poolalloc/trunk/test/dsa/local/array_in_struct.ll Sat Mar 14 10:00:04 2015
@@ -20,7 +20,7 @@ entry:
%r1 = alloca i32 ; <i32*> [#uses=1]
%r2 = alloca float ; <float*> [#uses=1]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
- %0 = call i32 (i8*, ...)* @scanf(i8* noalias getelementptr inbounds ([4 x i8]* @.str, i64 0, i64 0), i32* %z) nounwind ; <i32> [#uses=0]
+ %0 = call i32 (i8*, ...)* @scanf(i8* noalias getelementptr inbounds ([4 x i8], [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, %struct.sType* %arr, i32 0, i32 1 ; <[10 x i32]*> [#uses=1]
%3 = sext i32 %1 to i64 ; <i64> [#uses=1]
Modified: poolalloc/trunk/test/dsa/local/bitfields1.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields1.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields1.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields1.ll Sat Mar 14 10:00:04 2015
@@ -28,7 +28,7 @@ entry:
%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, %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]
+ %8 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([18 x i8], [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, %union.I_format_t* %9, i32 0, i32 0 ; <i32*> [#uses=1]
%11 = bitcast i32* %10 to %struct.anon* ; <%struct.anon*> [#uses=1]
@@ -38,7 +38,7 @@ entry:
%15 = lshr i8 %14, 2 ; <i8> [#uses=1]
%16 = trunc i8 %15 to i6 ; <i6> [#uses=1]
%17 = zext i6 %16 to i32 ; <i32> [#uses=1]
- %18 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8]* @.str1, i64 0, i64 0), i32 %17) nounwind ; <i32> [#uses=0]
+ %18 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8], [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, %union.I_format_t* %19, i32 0, i32 0 ; <i32*> [#uses=1]
%21 = bitcast i32* %20 to %struct.anon* ; <%struct.anon*> [#uses=1]
@@ -69,14 +69,14 @@ entry:
%46 = lshr i32 %45, 27 ; <i32> [#uses=1]
%47 = trunc i32 %46 to i5 ; <i5> [#uses=1]
%48 = zext i5 %47 to i32 ; <i32> [#uses=1]
- %49 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([23 x i8]* @.str2, i64 0, i64 0), i32 %48, i32 %38, i32 %28) nounwind ; <i32> [#uses=0]
+ %49 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([23 x i8], [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, %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, %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]
+ %56 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8], [11 x i8]* @.str3, i64 0, i64 0), i32 %55) nounwind ; <i32> [#uses=0]
store i32 0, i32* %0, align 4
%57 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %57, i32* %retval, align 4
Modified: poolalloc/trunk/test/dsa/local/bitfields2.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields2.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields2.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields2.ll Sat Mar 14 10:00:04 2015
@@ -27,16 +27,16 @@ entry:
%n = alloca i32 ; <i32*> [#uses=2]
%"alloca point" = bitcast i32 0 to i32 ; <i32> [#uses=0]
%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]
+ %2 = load i32, i32* getelementptr inbounds ([4 x i32], [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], [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]
+ %4 = load i32, i32* getelementptr inbounds ([4 x i32], [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], [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]
+ %6 = load i32, i32* getelementptr inbounds ([4 x i32], [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], [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]
+ %8 = load i32, i32* getelementptr inbounds ([4 x i32], [4 x i32]* @C.0.1960, i64 0, i64 3), align 4 ; <i32> [#uses=1]
store i32 %8, i32* %7, align 4
store i32 4, i32* %n, align 4
store i32 0, i32* %i, align 4
@@ -51,7 +51,7 @@ bb:
store i32 %12, i32* %13, align 4
%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]
+ %16 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([18 x i8], [18 x i8]* @.str, i64 0, i64 0), i32 %15) nounwind ; <i32> [#uses=0]
%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, %0* %18, i32 0, i32 0 ; <i16*> [#uses=1]
@@ -60,7 +60,7 @@ bb:
%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]
+ %25 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8], [12 x i8]* @.str1, i64 0, i64 0), i32 %24) nounwind ; <i32> [#uses=0]
%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, %0* %27, i32 0, i32 0 ; <i16*> [#uses=1]
@@ -79,7 +79,7 @@ bb:
%41 = lshr i32 %40, 27 ; <i32> [#uses=1]
%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]
+ %44 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([15 x i8], [15 x i8]* @.str2, i64 0, i64 0), i32 %43, i32 %34) nounwind ; <i32> [#uses=0]
%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, %0* %46, i32 0, i32 0 ; <i16*> [#uses=1]
@@ -114,7 +114,7 @@ bb1:
%73 = lshr i16 %72, 11 ; <i16> [#uses=1]
%74 = trunc i16 %73 to i5 ; <i5> [#uses=1]
%75 = zext i5 %74 to i32 ; <i32> [#uses=1]
- %76 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([24 x i8]* @.str3, i64 0, i64 0), i32 %75, i32 %68, i32 %60) nounwind ; <i32> [#uses=0]
+ %76 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([24 x i8], [24 x i8]* @.str3, i64 0, i64 0), i32 %75, i32 %68, i32 %60) nounwind ; <i32> [#uses=0]
br label %bb3
bb2: ; preds = %bb
@@ -123,7 +123,7 @@ bb2:
%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]
+ %82 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8], [11 x i8]* @.str4, i64 0, i64 0), i32 %81) nounwind ; <i32> [#uses=0]
br label %bb3
bb3: ; preds = %bb2, %bb1
Modified: poolalloc/trunk/test/dsa/local/bitfields3.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/local/bitfields3.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/local/bitfields3.ll (original)
+++ poolalloc/trunk/test/dsa/local/bitfields3.ll Sat Mar 14 10:00:04 2015
@@ -35,34 +35,34 @@ entry:
%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]
+ %11 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([35 x i8], [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, %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]
+ %16 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([16 x i8], [16 x i8]* @.str1, i64 0, i64 0), i64 %15) nounwind ; <i32> [#uses=0]
%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]
+ %23 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([13 x i8], [13 x i8]* @.str2, i64 0, i64 0), i32 %22) nounwind ; <i32> [#uses=0]
%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]
+ %30 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([12 x i8], [12 x i8]* @.str3, i64 0, i64 0), i32 %29) nounwind ; <i32> [#uses=0]
%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]
%35 = trunc i32 %34 to i12 ; <i12> [#uses=1]
%36 = zext i12 %35 to i32 ; <i32> [#uses=1]
- %37 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8]* @.str4, i64 0, i64 0), i32 %36) nounwind ; <i32> [#uses=0]
+ %37 = call i32 (i8*, ...)* @printf(i8* noalias getelementptr inbounds ([11 x i8], [11 x i8]* @.str4, i64 0, i64 0), i32 %36) nounwind ; <i32> [#uses=0]
store i32 0, i32* %0, align 4
%38 = load i32, i32* %0, align 4 ; <i32> [#uses=1]
store i32 %38, i32* %retval, align 4
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-07-12-SCCLeader.ll Sat Mar 14 10:00:04 2015
@@ -21,7 +21,7 @@ InstIntFunc.exit17:
%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]
+ %tmp82 = tail call fastcc %struct.TypHeader* @FindIdent(i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str8302, i64 0, i64 0)) nounwind ; <%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
@@ -113,7 +113,7 @@ InstIntFunc.exit6.i410:
%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]
+ %tmp218 = tail call fastcc %struct.TypHeader* @FindIdent(i8* getelementptr inbounds ([10 x i8], [10 x i8]* @.str4251, i64 0, i64 0)) nounwind ; <%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
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2010-08-23-InlineCallersSegfault.ll Sat Mar 14 10:00:04 2015
@@ -152,7 +152,7 @@ _ZN10mrInstance9SetMatrixERK19ggHRigidBo
bb16.i: ; preds = %_ZN10mrInstance9SetMatrixERK19ggHRigidBodyMatrix3S2_.exit.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
+ store i32 (...)** getelementptr inbounds ([9 x i32 (...)*], [9 x i32 (...)*]* @_ZTV16mrSurfaceTexture, i64 0, i64 2), i32 (...)*** %12, align 8
%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
Modified: poolalloc/trunk/test/dsa/regression/2012-04-29.GlobalInitCollapse.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/regression/2012-04-29.GlobalInitCollapse.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2012-04-29.GlobalInitCollapse.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2012-04-29.GlobalInitCollapse.ll Sat Mar 14 10:00:04 2015
@@ -6,5 +6,5 @@ target triple = "x86_64-unknown-linux-gn
%struct.IntPair = type { i32, i32 }
- at ptr = global i8* getelementptr (i8* bitcast (i32* getelementptr inbounds (%struct.IntPair* @ip, i64 0, i32 1) to i8*), i64 2), align 8
+ at ptr = global i8* getelementptr (i8, i8* bitcast (i32* getelementptr inbounds (%struct.IntPair, %struct.IntPair* @ip, i64 0, i32 1) to i8*), i64 2), align 8
@ip = global %struct.IntPair { i32 5, i32 10 }, align 4
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=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll (original)
+++ poolalloc/trunk/test/dsa/regression/2012-11-19.MultipleVAStartAlias.ll Sat Mar 14 10:00:04 2015
@@ -115,7 +115,7 @@ declare void @llvm.va_end(i8*) nounwind
define i32 @main() nounwind uwtable {
entry:
%call = tail call i32 (i32, ...)* @sum(i32 5, i32 1, i32 2, i32 3, i32 4, i32 5)
- %call1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8]* @.str, i64 0, i64 0), i32 %call) nounwind
+ %call1 = tail call i32 (i8*, ...)* @printf(i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str, i64 0, i64 0), i32 %call) nounwind
ret i32 0
}
Modified: poolalloc/trunk/test/dsa/td/checkIncomplete.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/td/checkIncomplete.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/td/checkIncomplete.ll (original)
+++ poolalloc/trunk/test/dsa/td/checkIncomplete.ll Sat Mar 14 10:00:04 2015
@@ -31,7 +31,7 @@ return:
define void @main() nounwind {
entry:
- call void @print(i8* getelementptr inbounds ([30 x i8]* @buf, i64 0, i64 0)) nounwind
+ call void @print(i8* getelementptr inbounds ([30 x i8], [30 x i8]* @buf, i64 0, i64 0)) nounwind
br label %return
return: ; preds = %entry
Modified: poolalloc/trunk/test/dsa/var_arg/print.ll
URL: http://llvm.org/viewvc/llvm-project/poolalloc/trunk/test/dsa/var_arg/print.ll?rev=232266&r1=232265&r2=232266&view=diff
==============================================================================
--- poolalloc/trunk/test/dsa/var_arg/print.ll (original)
+++ poolalloc/trunk/test/dsa/var_arg/print.ll Sat Mar 14 10:00:04 2015
@@ -53,10 +53,10 @@ entry:
%0 = call noalias i8* @malloc(i64 4) nounwind ; <i8*> [#uses=1]
%1 = bitcast i8* %0 to i32* ; <i32*> [#uses=1]
store i32* %1, i32** %x, align 8
- call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([22 x i8]* @.str, i64 0, i64 0), i32 1234, i32 1234, double 1.232200e+02, double 1.234500e+02) nounwind
- call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([12 x i8]* @.str1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8]* @.str2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8]* @.str3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8]* @.str4, i64 0, i64 0)) nounwind
+ call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([22 x i8], [22 x i8]* @.str, i64 0, i64 0), i32 1234, i32 1234, double 1.232200e+02, double 1.234500e+02) nounwind
+ call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([12 x i8], [12 x i8]* @.str1, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str4, i64 0, i64 0)) nounwind
%2 = load i32*, i32** %x, align 8 ; <i32*> [#uses=1]
- call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([15 x i8]* @.str5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8]* @.str2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8]* @.str3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8]* @.str4, i64 0, i64 0), i32* %2) nounwind
+ call void (i8*, ...)* @generic_sendmsg(i8* getelementptr inbounds ([15 x i8], [15 x i8]* @.str5, i64 0, i64 0), i8* getelementptr inbounds ([5 x i8], [5 x i8]* @.str2, i64 0, i64 0), i8* getelementptr inbounds ([4 x i8], [4 x i8]* @.str3, i64 0, i64 0), i8* getelementptr inbounds ([8 x i8], [8 x i8]* @.str4, i64 0, i64 0), i32* %2) nounwind
br label %return
return: ; preds = %entry
More information about the llvm-commits
mailing list