llvm-project/llvm
Chuanqi Xu 9701053517 Introduce @llvm.threadlocal.address intrinsic to access TLS variable
This belongs to a series of patches which try to solve the thread
identification problem in coroutines. See
https://discourse.llvm.org/t/address-thread-identification-problems-with-coroutine/62015
for a full background.

The problem consists of two concrete problems: TLS variable and readnone
functions. This patch tries to convert the TLS problem to readnone
problem by converting the access of TLS variable to an intrinsic which
is marked as readnone.

The readnone problem would be addressed in following patches.

Reviewed By: nikic, jyknight, nhaehnle, ychen

Differential Revision: https://reviews.llvm.org/D125291
2022-08-01 10:51:30 +08:00
..
benchmarks
bindings [IR] Remove support for float binop constant expressions 2022-07-12 09:40:49 +02:00
cmake [CMake] Enable -z defs on Solaris 2022-07-27 12:33:51 +02:00
docs Introduce @llvm.threadlocal.address intrinsic to access TLS variable 2022-08-01 10:51:30 +08:00
examples
include Introduce @llvm.threadlocal.address intrinsic to access TLS variable 2022-08-01 10:51:30 +08:00
lib Introduce @llvm.threadlocal.address intrinsic to access TLS variable 2022-08-01 10:51:30 +08:00
projects
resources
runtimes
test Introduce @llvm.threadlocal.address intrinsic to access TLS variable 2022-08-01 10:51:30 +08:00
tools Use any_of (NFC) 2022-07-30 10:35:56 -07:00
unittests [Support] Add KnownBits::concat method 2022-07-29 11:06:39 +01:00
utils [gn build] Port 88181375a3 more 2022-07-30 19:30:53 -04:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt Bump the trunk major version to 16 2022-07-26 21:34:45 -07:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.