llvm-capstone/libc
Joseph Huber 6970920ca6 [libc] Remove 'try_open' from the client interface
We previously provided the `try_open` facility to indicate if opening a
port failed. This is used on the server to continuously poll and quit if
there is no work. However the Client currently has no way to recover
from not finding a port and simply spins repeatedly. The abstraction
here costs us some resources. This patch changes the interface to only
allow `open` on the client side and merges the loops. This saves us a
branch and a good number of registers.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D158365
2023-08-21 06:43:38 -05:00
..
AOR_v20.02 [NFC][Py Reformat] Reformat python files in the rest of the dirs 2023-05-25 11:17:05 +02:00
benchmarks [test][libc] Fix aligned_alloc argument 2023-08-07 16:36:20 -07:00
cmake/modules [libc] Do not run tests on vendor implemented math 2023-08-17 17:22:55 -05:00
config Revert "[libc] Add limits.h" 2023-08-17 06:21:50 +02:00
docs Fx typos in documentation 2023-08-18 23:36:04 -07:00
examples Reland "[CMake] Bumps minimum version to 3.20.0. 2023-05-27 12:51:21 +02:00
fuzzing [libc] Add fuzzing for printf floats 2023-08-15 16:23:24 -07:00
include Revert "[libc] Add limits.h" 2023-08-17 06:21:50 +02:00
lib [libc] Build two different static archives libc.a and libm.a under full build. 2023-01-31 21:45:08 +00:00
spec Revert "[libc] Add limits.h" 2023-08-17 06:21:50 +02:00
src [libc] Remove 'try_open' from the client interface 2023-08-21 06:43:38 -05:00
startup [libc][cleanup] Fix most conversion warnings 2023-08-07 15:03:01 -07:00
test [libc] Fix HPD on extremely long numbers 2023-08-18 11:03:45 -07:00
utils [libc] Add support for the 'fread' function on the GPU 2023-07-26 13:51:35 -05:00
.clang-tidy [libc][NFC] Clean up clang-tidy warnings for src/__support and src/math. 2023-03-15 18:47:31 -04:00
.gitignore
CMakeLists.txt [libc] _INCLUDE_SCUDO: check for compiler-rt in enabled RUNTIMES too 2023-07-27 05:11:54 +01:00
common_libc_tuners.cmake [libc][NFC] Make tuning macros start with LIBC_COPT_ 2023-02-15 10:00:16 +00:00
LICENSE.TXT
README.txt

LLVM libc
=========

This directory and its subdirectories contain source code for llvm-libc,
a retargetable implementation of the C standard library.

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