llvm-project
103 строки · 3.6 Кб
1; RUN: opt %loadNPMPolly -passes=polly-codegen < %s
2target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
3
4%struct..0__pthread_mutex_s = type { i32, i32, i32, i32, i32, i32, %struct.__pthread_list_t }
5%struct.__pthread_list_t = type { ptr, ptr }
6%union.pthread_attr_t = type { i64, [12 x i32] }
7%union.pthread_mutex_t = type { %struct..0__pthread_mutex_s }
8%union.pthread_mutexattr_t = type { i32 }
9
10@_ZL20__gthrw_pthread_oncePiPFvvE = weak alias i32 (ptr, ptr), ptr @pthread_once ; <ptr> [#uses=0]
11@_ZL27__gthrw_pthread_getspecificj = weak alias ptr (i32), ptr @pthread_getspecific ; <ptr> [#uses=0]
12@_ZL27__gthrw_pthread_setspecificjPKv = weak alias i32 (i32, ptr), ptr @pthread_setspecific ; <ptr> [#uses=0]
13@_ZL22__gthrw_pthread_createPmPK14pthread_attr_tPFPvS3_ES3_ = weak alias i32 (ptr, ptr, ptr, ptr), ptr @pthread_create ; <ptr> [#uses=0]
14@_ZL22__gthrw_pthread_cancelm = weak alias i32 (i64), ptr @pthread_cancel ; <ptr> [#uses=0]
15@_ZL26__gthrw_pthread_mutex_lockP15pthread_mutex_t = weak alias i32 (ptr), ptr @pthread_mutex_lock ; <ptr> [#uses=0]
16@_ZL29__gthrw_pthread_mutex_trylockP15pthread_mutex_t = weak alias i32 (ptr), ptr @pthread_mutex_trylock ; <ptr> [#uses=0]
17@_ZL28__gthrw_pthread_mutex_unlockP15pthread_mutex_t = weak alias i32 (ptr), ptr @pthread_mutex_unlock ; <ptr> [#uses=0]
18@_ZL26__gthrw_pthread_mutex_initP15pthread_mutex_tPK19pthread_mutexattr_t = weak alias i32 (ptr, ptr), ptr @pthread_mutex_init ; <ptr> [#uses=0]
19@_ZL26__gthrw_pthread_key_createPjPFvPvE = weak alias i32 (ptr, ptr), ptr @pthread_key_create ; <ptr> [#uses=0]
20@_ZL26__gthrw_pthread_key_deletej = weak alias i32 (i32), ptr @pthread_key_delete ; <ptr> [#uses=0]
21@_ZL30__gthrw_pthread_mutexattr_initP19pthread_mutexattr_t = weak alias i32 (ptr), ptr @pthread_mutexattr_init ; <ptr> [#uses=0]
22@_ZL33__gthrw_pthread_mutexattr_settypeP19pthread_mutexattr_ti = weak alias i32 (ptr, i32), ptr @pthread_mutexattr_settype ; <ptr> [#uses=0]
23@_ZL33__gthrw_pthread_mutexattr_destroyP19pthread_mutexattr_t = weak alias i32 (ptr), ptr @pthread_mutexattr_destroy ; <ptr> [#uses=0]
24
25define void @_ZL6createP6node_tii3v_tS1_d() {
26entry:
27br i1 undef, label %bb, label %bb5
28
29bb: ; preds = %entry
30br i1 false, label %bb1, label %bb3
31
32bb1: ; preds = %bb
33br label %bb3
34
35bb3: ; preds = %bb1, %bb
36%iftmp.99.0 = phi i64 [ undef, %bb1 ], [ 1, %bb ] ; <i64> [#uses=0]
37br label %bb5
38
39bb5: ; preds = %bb3, %entry
40br i1 undef, label %return, label %bb7
41
42bb7: ; preds = %bb5
43unreachable
44
45return: ; preds = %bb5
46ret void
47}
48
49define i32 @pthread_once(ptr, ptr) {
50ret i32 0
51}
52
53define ptr @pthread_getspecific(i32) {
54ret ptr null
55}
56
57define i32 @pthread_setspecific(i32, ptr) {
58ret i32 0
59}
60
61define i32 @pthread_create(ptr, ptr, ptr, ptr) {
62ret i32 0
63}
64
65define i32 @pthread_cancel(i64) {
66ret i32 0
67}
68
69define i32 @pthread_mutex_lock(ptr) {
70ret i32 0
71}
72
73define i32 @pthread_mutex_trylock(ptr) {
74ret i32 0
75}
76
77define i32 @pthread_mutex_unlock(ptr) {
78ret i32 0
79}
80
81define i32 @pthread_mutex_init(ptr, ptr) {
82ret i32 0
83}
84
85define i32 @pthread_key_create(ptr, ptr) {
86ret i32 0
87}
88
89define i32 @pthread_key_delete(i32) {
90ret i32 0
91}
92
93define i32 @pthread_mutexattr_init(ptr) {
94ret i32 0
95}
96
97define i32 @pthread_mutexattr_settype(ptr, i32) {
98ret i32 0
99}
100
101define i32 @pthread_mutexattr_destroy(ptr) {
102ret i32 0
103}
104