Home | History | Annotate | Download | only in CodeGenCXX

Lines Matching refs:thread_local

9 // LINUX: @a = thread_local global i32 0
10 // DARWIN: @a = internal thread_local global i32 0
11 thread_local int a = f();
12 extern thread_local int b;
15 // CHECK: @_ZL1d = internal thread_local global i32 0
16 static thread_local int d = g();
18 struct U { static thread_local int m; };
19 // LINUX: @_ZN1U1mE = thread_local global i32 0
20 // DARWIN: @_ZN1U1mE = internal thread_local global i32 0
21 thread_local int U::m = f();
31 static thread_local U u;
35 template<typename T> struct V { static thread_local int m; };
36 template<typename T> thread_local int V<T>::m = g();
41 // CHECK: @_ZN1VIiE1mE = linkonce_odr thread_local global i32 0
43 // CHECK: @_ZZ1fvE1n = internal thread_local global i32 0
45 // CHECK: @_ZGVZ1fvE1n = internal thread_local global i8 0
47 // CHECK: @_ZZ8tls_dtorvE1s = internal thread_local global
48 // CHECK: @_ZGVZ8tls_dtorvE1s = internal thread_local global i8 0
50 // CHECK: @_ZZ8tls_dtorvE1t = internal thread_local global
51 // CHECK: @_ZGVZ8tls_dtorvE1t = internal thread_local global i8 0
53 // CHECK: @_ZZ8tls_dtorvE1u = internal thread_local global
54 // CHECK: @_ZGVZ8tls_dtorvE1u = internal thread_local global i8 0
55 // CHECK: @_ZGRZ8tls_dtorvE1u_ = internal thread_local global
57 // CHECK: @_ZGVN1VIiE1mE = linkonce_odr thread_local global i64 0
59 // CHECK: @__tls_guard = internal thread_local global i8 0
87 static thread_local int n = g();
140 static thread_local S s;
147 static thread_local T t;
154 static thread_local const S &u = S();
162 thread_local int n;
168 static thread_local int n;
179 thread_local int anon_i{1};