xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/2009-03-17-LSR-APInt.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1*9880d681SAndroid Build Coastguard Worker; RUN: llc < %s
2*9880d681SAndroid Build Coastguard Worker; PR3806
3*9880d681SAndroid Build Coastguard Worker
4*9880d681SAndroid Build Coastguard Worker	%struct..0__pthread_mutex_s = type { i32, i32, i32, i32, i32, i32, %struct.__pthread_list_t }
5*9880d681SAndroid Build Coastguard Worker	%struct.Alignment = type { i32 }
6*9880d681SAndroid Build Coastguard Worker	%struct.QDesignerFormWindowInterface = type { %struct.QWidget }
7*9880d681SAndroid Build Coastguard Worker	%struct.QFont = type { %struct.QFontPrivate*, i32 }
8*9880d681SAndroid Build Coastguard Worker	%struct.QFontPrivate = type opaque
9*9880d681SAndroid Build Coastguard Worker	%"struct.QHash<QString,QList<QAbstractExtensionFactory*> >" = type { %"struct.QHash<QString,QList<QAbstractExtensionFactory*> >::._120" }
10*9880d681SAndroid Build Coastguard Worker	%"struct.QHash<QString,QList<QAbstractExtensionFactory*> >::._120" = type { %struct.QHashData* }
11*9880d681SAndroid Build Coastguard Worker	%struct.QHashData = type { %"struct.QHashData::Node"*, %"struct.QHashData::Node"**, %struct.Alignment, i32, i32, i16, i16, i32, i8 }
12*9880d681SAndroid Build Coastguard Worker	%"struct.QHashData::Node" = type { %"struct.QHashData::Node"*, i32 }
13*9880d681SAndroid Build Coastguard Worker	%"struct.QList<QAbstractExtensionFactory*>" = type { %"struct.QList<QAbstractExtensionFactory*>::._101" }
14*9880d681SAndroid Build Coastguard Worker	%"struct.QList<QAbstractExtensionFactory*>::._101" = type { %struct.QListData }
15*9880d681SAndroid Build Coastguard Worker	%struct.QListData = type { %"struct.QListData::Data"* }
16*9880d681SAndroid Build Coastguard Worker	%"struct.QListData::Data" = type { %struct.Alignment, i32, i32, i32, i8, [1 x i8*] }
17*9880d681SAndroid Build Coastguard Worker	%struct.QObject = type { i32 (...)**, %struct.QObjectData* }
18*9880d681SAndroid Build Coastguard Worker	%struct.QObjectData = type { i32 (...)**, %struct.QObject*, %struct.QObject*, %"struct.QList<QAbstractExtensionFactory*>", i32, i32 }
19*9880d681SAndroid Build Coastguard Worker	%struct.QPaintDevice.base = type { i32 (...)**, i16 }
20*9880d681SAndroid Build Coastguard Worker	%"struct.QPair<int,int>" = type { i32, i32 }
21*9880d681SAndroid Build Coastguard Worker	%struct.QPalette = type { %struct.QPalettePrivate*, i32 }
22*9880d681SAndroid Build Coastguard Worker	%struct.QPalettePrivate = type opaque
23*9880d681SAndroid Build Coastguard Worker	%struct.QRect = type { i32, i32, i32, i32 }
24*9880d681SAndroid Build Coastguard Worker	%struct.QWidget = type { %struct.QObject, %struct.QPaintDevice.base, %struct.QWidgetData* }
25*9880d681SAndroid Build Coastguard Worker	%struct.QWidgetData = type { i64, i32, %struct.Alignment, i8, i8, i16, %struct.QRect, %struct.QPalette, %struct.QFont, %struct.QRect }
26*9880d681SAndroid Build Coastguard Worker	%struct.__pthread_list_t = type { %struct.__pthread_list_t*, %struct.__pthread_list_t* }
27*9880d681SAndroid Build Coastguard Worker	%struct.pthread_attr_t = type { i64, [48 x i8] }
28*9880d681SAndroid Build Coastguard Worker	%struct.pthread_mutex_t = type { %struct..0__pthread_mutex_s }
29*9880d681SAndroid Build Coastguard Worker	%"struct.qdesigner_internal::Grid" = type { i32, i32, %struct.QWidget**, i8*, i8* }
30*9880d681SAndroid Build Coastguard Worker	%"struct.qdesigner_internal::GridLayout" = type { %"struct.qdesigner_internal::Layout", %"struct.QPair<int,int>", %"struct.qdesigner_internal::Grid"* }
31*9880d681SAndroid Build Coastguard Worker	%"struct.qdesigner_internal::Layout" = type { %struct.QObject, %"struct.QList<QAbstractExtensionFactory*>", %struct.QWidget*, %"struct.QHash<QString,QList<QAbstractExtensionFactory*> >", %struct.QWidget*, %struct.QDesignerFormWindowInterface*, i8, %"struct.QPair<int,int>", %struct.QRect, i8 }
32*9880d681SAndroid Build Coastguard Worker
33*9880d681SAndroid Build Coastguard Worker@_ZL20__gthrw_pthread_oncePiPFvvE = weak alias i32 (i32*, void ()*), i32 (i32*, void ()*)* @pthread_once		; <i32 (i32*, void ()*)*> [#uses=0]
34*9880d681SAndroid Build Coastguard Worker@_ZL27__gthrw_pthread_getspecificj = weak alias i8* (i32), i8* (i32)* @pthread_getspecific		; <i8* (i32)*> [#uses=0]
35*9880d681SAndroid Build Coastguard Worker@_ZL27__gthrw_pthread_setspecificjPKv = weak alias i32 (i32, i8*), i32 (i32, i8*)* @pthread_setspecific		; <i32 (i32, i8*)*> [#uses=0]
36*9880d681SAndroid Build Coastguard Worker@_ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_ = weak alias i32 (i64*, %struct.pthread_attr_t*, i8* (i8*)*, i8*), i32 (i64*, %struct.pthread_attr_t*, i8* (i8*)*, i8*)* @pthread_create		; <i32 (i64*, %struct.pthread_attr_t*, i8* (i8*)*, i8*)*> [#uses=0]
37*9880d681SAndroid Build Coastguard Worker@_ZL22__gthrw_pthread_cancelm = weak alias i32 (i64), i32 (i64)* @pthread_cancel		; <i32 (i64)*> [#uses=0]
38*9880d681SAndroid Build Coastguard Worker@_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_lock		; <i32 (%struct.pthread_mutex_t*)*> [#uses=0]
39*9880d681SAndroid Build Coastguard Worker@_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_trylock		; <i32 (%struct.pthread_mutex_t*)*> [#uses=0]
40*9880d681SAndroid Build Coastguard Worker@_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = weak alias i32 (%struct.pthread_mutex_t*), i32 (%struct.pthread_mutex_t*)* @pthread_mutex_unlock		; <i32 (%struct.pthread_mutex_t*)*> [#uses=0]
41*9880d681SAndroid Build Coastguard Worker@_ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t = weak alias i32 (%struct.pthread_mutex_t*, %struct.Alignment*), i32 (%struct.pthread_mutex_t*, %struct.Alignment*)* @pthread_mutex_init		; <i32 (%struct.pthread_mutex_t*, %struct.Alignment*)*> [#uses=0]
42*9880d681SAndroid Build Coastguard Worker@_ZL26__gthrw_pthread_key_createPjPFvPvE = weak alias i32 (i32*, void (i8*)*), i32 (i32*, void (i8*)*)* @pthread_key_create		; <i32 (i32*, void (i8*)*)*> [#uses=0]
43*9880d681SAndroid Build Coastguard Worker@_ZL26__gthrw_pthread_key_deletej = weak alias i32 (i32), i32 (i32)* @pthread_key_delete		; <i32 (i32)*> [#uses=0]
44*9880d681SAndroid Build Coastguard Worker@_ZL30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_init		; <i32 (%struct.Alignment*)*> [#uses=0]
45*9880d681SAndroid Build Coastguard Worker@_ZL33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti = weak alias i32 (%struct.Alignment*, i32), i32 (%struct.Alignment*, i32)* @pthread_mutexattr_settype		; <i32 (%struct.Alignment*, i32)*> [#uses=0]
46*9880d681SAndroid Build Coastguard Worker@_ZL33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t = weak alias i32 (%struct.Alignment*), i32 (%struct.Alignment*)* @pthread_mutexattr_destroy		; <i32 (%struct.Alignment*)*> [#uses=0]
47*9880d681SAndroid Build Coastguard Worker
48*9880d681SAndroid Build Coastguard Workerdefine void @_ZN18qdesigner_internal10GridLayout9buildGridEv(%"struct.qdesigner_internal::GridLayout"* %this) nounwind {
49*9880d681SAndroid Build Coastguard Workerentry:
50*9880d681SAndroid Build Coastguard Worker	br label %bb44
51*9880d681SAndroid Build Coastguard Worker
52*9880d681SAndroid Build Coastguard Workerbb44:		; preds = %bb47, %entry
53*9880d681SAndroid Build Coastguard Worker	%indvar = phi i128 [ %indvar.next144, %bb47 ], [ 0, %entry ]		; <i128> [#uses=2]
54*9880d681SAndroid Build Coastguard Worker	br i1 false, label %bb46, label %bb47
55*9880d681SAndroid Build Coastguard Worker
56*9880d681SAndroid Build Coastguard Workerbb46:		; preds = %bb44
57*9880d681SAndroid Build Coastguard Worker	%tmp = shl i128 %indvar, 64		; <i128> [#uses=1]
58*9880d681SAndroid Build Coastguard Worker	%tmp96 = and i128 %tmp, 79228162495817593519834398720		; <i128> [#uses=0]
59*9880d681SAndroid Build Coastguard Worker	br label %bb47
60*9880d681SAndroid Build Coastguard Worker
61*9880d681SAndroid Build Coastguard Workerbb47:		; preds = %bb46, %bb44
62*9880d681SAndroid Build Coastguard Worker	%indvar.next144 = add i128 %indvar, 1		; <i128> [#uses=1]
63*9880d681SAndroid Build Coastguard Worker	br label %bb44
64*9880d681SAndroid Build Coastguard Worker}
65*9880d681SAndroid Build Coastguard Worker
66*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_once(i32*, void ()*) {
67*9880d681SAndroid Build Coastguard Worker  ret i32 0
68*9880d681SAndroid Build Coastguard Worker}
69*9880d681SAndroid Build Coastguard Worker
70*9880d681SAndroid Build Coastguard Workerdefine i8* @pthread_getspecific(i32) {
71*9880d681SAndroid Build Coastguard Worker  ret i8* null
72*9880d681SAndroid Build Coastguard Worker}
73*9880d681SAndroid Build Coastguard Worker
74*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_setspecific(i32, i8*) {
75*9880d681SAndroid Build Coastguard Worker  ret i32 0
76*9880d681SAndroid Build Coastguard Worker}
77*9880d681SAndroid Build Coastguard Worker
78*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_create(i64*, %struct.pthread_attr_t*, i8* (i8*)*, i8*) {
79*9880d681SAndroid Build Coastguard Worker  ret i32 0
80*9880d681SAndroid Build Coastguard Worker}
81*9880d681SAndroid Build Coastguard Worker
82*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_cancel(i64) {
83*9880d681SAndroid Build Coastguard Worker  ret i32 0
84*9880d681SAndroid Build Coastguard Worker}
85*9880d681SAndroid Build Coastguard Worker
86*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutex_lock(%struct.pthread_mutex_t*) {
87*9880d681SAndroid Build Coastguard Worker  ret i32 0
88*9880d681SAndroid Build Coastguard Worker}
89*9880d681SAndroid Build Coastguard Worker
90*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutex_trylock(%struct.pthread_mutex_t*) {
91*9880d681SAndroid Build Coastguard Worker  ret i32 0
92*9880d681SAndroid Build Coastguard Worker}
93*9880d681SAndroid Build Coastguard Worker
94*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutex_unlock(%struct.pthread_mutex_t*) {
95*9880d681SAndroid Build Coastguard Worker  ret i32 0
96*9880d681SAndroid Build Coastguard Worker}
97*9880d681SAndroid Build Coastguard Worker
98*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutex_init(%struct.pthread_mutex_t*, %struct.Alignment*) {
99*9880d681SAndroid Build Coastguard Worker  ret i32 0
100*9880d681SAndroid Build Coastguard Worker}
101*9880d681SAndroid Build Coastguard Worker
102*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_key_create(i32*, void (i8*)*) {
103*9880d681SAndroid Build Coastguard Worker  ret i32 0
104*9880d681SAndroid Build Coastguard Worker}
105*9880d681SAndroid Build Coastguard Worker
106*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_key_delete(i32) {
107*9880d681SAndroid Build Coastguard Worker  ret i32 0
108*9880d681SAndroid Build Coastguard Worker}
109*9880d681SAndroid Build Coastguard Worker
110*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutexattr_init(%struct.Alignment*) {
111*9880d681SAndroid Build Coastguard Worker  ret i32 0
112*9880d681SAndroid Build Coastguard Worker}
113*9880d681SAndroid Build Coastguard Worker
114*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutexattr_settype(%struct.Alignment*, i32) {
115*9880d681SAndroid Build Coastguard Worker  ret i32 0
116*9880d681SAndroid Build Coastguard Worker}
117*9880d681SAndroid Build Coastguard Worker
118*9880d681SAndroid Build Coastguard Workerdefine i32 @pthread_mutexattr_destroy(%struct.Alignment*) {
119*9880d681SAndroid Build Coastguard Worker  ret i32 0
120*9880d681SAndroid Build Coastguard Worker}
121