Home
last modified time | relevance | path

Searched refs:tls_model (Results 1 – 24 of 24) sorted by relevance

/llvm-project/clang/test/Sema/
H A Dattr-tls_model.c3 #if !__has_attribute(tls_model)
7 int f(void) __attribute((tls_model("global-dynamic"))); // expected-error {{'tls_model' attribute o…
9 int x __attribute((tls_model("global-dynamic"))); // expected-error {{'tls_model' attribute only ap…
10 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning
12 static __thread int y __attribute((tls_model("local", "dynamic"))); // expected-error {{'tls_model'…
13 static __thread int y __attribute((tls_model(123))); // expected-error {{expected string literal as…
14 static __thread int y __attribute((tls_model("foobar"))); // expected-error {{tls_model must be "gl…
H A Daix-attr-tls_model.c4 #if !__has_attribute(tls_model)
8 static __thread int y __attribute((tls_model("global-dynamic"))); // no-warning
9 static __thread int y __attribute((tls_model("local-dynamic"))); // expected-no-diagnostics
10 static __thread int y __attribute((tls_model("initial-exec"))); // no-warning
11 static __thread int y __attribute((tls_model("local-exec"))); // no-warning
/llvm-project/clang/test/CodeGen/
H A Dthread-specifier.c27 __thread int g __attribute__((tls_model("global-dynamic")));
28 __thread int h __attribute__((tls_model("local-dynamic")));
29 __thread int i __attribute__((tls_model("initial-exec")));
30 __thread int j __attribute__((tls_model("local-exec")));
33 __thread static int a __attribute__((tls_model("initial-exec"))); in f()
H A Dtls-model.cpp17 int __thread __attribute__((tls_model("initial-exec"))) z;
/llvm-project/compiler-rt/test/tsan/Linux/
H A Ddlopen_static_tls.cpp31 __attribute__((tls_model("initial-exec"))) __thread char x = 42;
32 __attribute__((tls_model("initial-exec"))) __thread char y;
/llvm-project/clang/test/SemaCXX/
H A Dcxx11-gnu-attrs.cpp40 __thread int tls_model [[gnu::tls_model("local-exec")]]; variable
/llvm-project/compiler-rt/lib/gwp_asan/
H A Ddefinitions.h13 __thread __attribute__((tls_model("initial-exec")))
/llvm-project/clang/test/AST/
H A Dast-dump-attr-json.cpp22 __thread __attribute__ ((tls_model ("local-exec"))) int tls_model_var;
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerPlatform.h130 ATTRIBUTE_INTERFACE __attribute__((tls_model("initial-exec"))) thread_local
/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_common_linux.cpp42 __attribute__((tls_model("initial-exec")))
H A Dlsan_common_fuchsia.cpp35 __attribute__((tls_model("initial-exec"))) THREADLOCAL int disable_counter;
/llvm-project/compiler-rt/lib/tsan/dd/
H A Ddd_interceptors.cpp18 __attribute__((tls_model("initial-exec")))
20 __attribute__((tls_model("initial-exec")))
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_tls_get_addr.cpp33 __attribute__((tls_model("initial-exec")))
H A Dsanitizer_mutex.cpp217 __attribute__((tls_model("initial-exec"))) static THREADLOCAL
/llvm-project/compiler-rt/lib/hwasan/
H A Dhwasan_fuchsia.cpp30 [[gnu::tls_model("initial-exec")]]
/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl.h246 __attribute__((tls_model("initial-exec")))
H A Dtsan_rtl.cpp51 alignas(SANITIZER_CACHE_LINE_SIZE) THREADLOCAL __attribute__((tls_model(
/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp354 alignas(16) __attribute__((visibility("hidden"), tls_model("initial-exec"),
/llvm-project/llvm/lib/Support/rpmalloc/
H A Drpmalloc.c862 #define TLS_MODEL __attribute__((tls_model("initial-exec")))
/llvm-project/clang/include/clang/Basic/
H A DAttr.td930 let Spellings = [GCC<"tls_model">];
H A DAttrDocs.td174 The ``tls_model`` attribute allows you to specify which thread-local storage
H A DDiagnosticSemaKinds.td3555 def err_attr_tlsmodel_arg : Error<"tls_model must be \"global-dynamic\", "
/llvm-project/clang/include/clang/Driver/
H A DOptions.td6770 defm tls_model : BooleanFFlag<"tls-model">, Group<clang_ignored_f_Group>;
/llvm-project/llvm/docs/
H A DLangRef.rst803 :ref:`Thread Local Storage Model <tls_model>`.
970 <dllstorageclass>` and an optional :ref:`tls model <tls_model>`.
582 .. _tls_model: global() target
[all...]