aboutsummaryrefslogtreecommitdiff
path: root/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
diff options
context:
space:
mode:
Diffstat (limited to 'utils/bazel/llvm-project-overlay/libc/BUILD.bazel')
-rw-r--r--utils/bazel/llvm-project-overlay/libc/BUILD.bazel235
1 files changed, 182 insertions, 53 deletions
diff --git a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
index 25353e1..aa635ac 100644
--- a/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
+++ b/utils/bazel/llvm-project-overlay/libc/BUILD.bazel
@@ -2039,19 +2039,6 @@ libc_support_library(
)
libc_support_library(
- name = "atan_utils",
- hdrs = ["src/math/generic/atan_utils.h"],
- deps = [
- ":__support_fputil_double_double",
- ":__support_fputil_dyadic_float",
- ":__support_fputil_multiply_add",
- ":__support_fputil_polyeval",
- ":__support_integer_literals",
- ":__support_macros_optimization",
- ],
-)
-
-libc_support_library(
name = "log_range_reduction",
hdrs = ["src/math/generic/log_range_reduction.h"],
deps = [
@@ -2232,6 +2219,132 @@ libc_support_library(
)
libc_support_library(
+ name = "__support_math_asinhf",
+ hdrs = ["src/__support/math/asinhf.h"],
+ deps = [
+ ":__support_math_acoshf_utils",
+ ":__support_fputil_fp_bits",
+ ":__support_fputil_polyeval",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_sqrt",
+ ":__support_macros_config",
+ ":__support_macros_optimization",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_asinhf16",
+ hdrs = ["src/__support/math/asinhf16.h"],
+ deps = [
+ ":__support_math_acoshf_utils",
+ ":__support_fputil_fenv_impl",
+ ":__support_fputil_fp_bits",
+ ":__support_fputil_polyeval",
+ ":__support_fputil_cast",
+ ":__support_fputil_except_value_utils",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_rounding_mode",
+ ":__support_fputil_sqrt",
+ ":__support_macros_config",
+ ":__support_macros_optimization",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atan_utils",
+ hdrs = ["src/__support/math/atan_utils.h"],
+ deps = [
+ ":__support_fputil_double_double",
+ ":__support_fputil_dyadic_float",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_polyeval",
+ ":__support_integer_literals",
+ ":__support_macros_optimization",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atan",
+ hdrs = ["src/__support/math/atan.h"],
+ deps = [
+ ":__support_fputil_double_double",
+ ":__support_fputil_nearest_integer",
+ ":__support_macros_optimization",
+ ":__support_math_atan_utils",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atan2",
+ hdrs = ["src/__support/math/atan2.h"],
+ deps = [
+ ":__support_fputil_double_double",
+ ":__support_fputil_nearest_integer",
+ ":__support_math_atan_utils",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atan2f",
+ hdrs = ["src/__support/math/atan2f.h"],
+ deps = [
+ ":__support_fputil_fenv_impl",
+ ":__support_fputil_fp_bits",
+ ":__support_fputil_polyeval",
+ ":__support_fputil_double_double",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_nearest_integer",
+ ":__support_macros_config",
+ ":__support_macros_optimization",
+ ":__support_math_inv_trigf_utils",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atan2f128",
+ hdrs = ["src/__support/math/atan2f128.h"],
+ deps = [
+ ":__support_math_atan_utils",
+ ":__support_fputil_fp_bits",
+ ":__support_fputil_dyadic_float",
+ ":__support_fputil_nearest_integer",
+ ":__support_integer_literals",
+ ":__support_macros_config",
+ ":__support_macros_optimization",
+ ":__support_uint128",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atanf",
+ hdrs = ["src/__support/math/atanf.h"],
+ deps = [
+ ":__support_fputil_except_value_utils",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_nearest_integer",
+ ":__support_fputil_polyeval",
+ ":__support_fputil_rounding_mode",
+ ":__support_macros_optimization",
+ ":__support_math_inv_trigf_utils",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atanf16",
+ hdrs = ["src/__support/math/atanf16.h"],
+ deps = [
+ ":__support_fputil_cast",
+ ":__support_fputil_except_value_utils",
+ ":__support_fputil_fenv_impl",
+ ":__support_fputil_fp_bits",
+ ":__support_fputil_polyeval",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_sqrt",
+ ":__support_macros_optimization",
+ ],
+)
+
+libc_support_library(
name = "__support_math_asinf",
hdrs = ["src/__support/math/asinf.h"],
deps = [
@@ -2248,6 +2361,31 @@ libc_support_library(
)
libc_support_library(
+ name = "__support_math_asinf16",
+ hdrs = ["src/__support/math/asinf16.h"],
+ deps = [
+ ":__support_fputil_fenv_impl",
+ ":__support_fputil_fp_bits",
+ ":__support_fputil_polyeval",
+ ":__support_fputil_multiply_add",
+ ":__support_fputil_sqrt",
+ ":__support_macros_optimization",
+ ],
+)
+
+libc_support_library(
+ name = "__support_math_atanhf",
+ hdrs = ["src/__support/math/atanhf.h"],
+ deps = [
+ ":__support_math_acoshf_utils",
+ ":__support_fputil_fenv_impl",
+ ":__support_fputil_fp_bits",
+ ":__support_macros_config",
+ ":__support_macros_optimization",
+ ],
+)
+
+libc_support_library(
name = "__support_math_erff",
hdrs = ["src/__support/math/erff.h"],
deps = [
@@ -2809,82 +2947,70 @@ libc_math_function(
libc_math_function(
name = "asinf16",
additional_deps = [
- ":__support_fputil_cast",
- ":__support_fputil_fma",
- ":__support_fputil_multiply_add",
- ":__support_fputil_nearest_integer",
- ":__support_fputil_polyeval",
- ":__support_fputil_sqrt",
- ":__support_macros_optimization",
- ":__support_math_inv_trigf_utils",
+ ":__support_math_asinf16",
],
)
libc_math_function(
name = "asinhf",
additional_deps = [
- ":__support_fputil_fma",
- ":__support_fputil_multiply_add",
- ":__support_fputil_nearest_integer",
- ":__support_fputil_polyeval",
- ":__support_fputil_sqrt",
- ":__support_macros_optimization",
- ":common_constants",
- ":explogxf",
+ ":__support_math_asinhf",
+ ],
+)
+
+libc_math_function(
+ name = "asinhf16",
+ additional_deps = [
+ ":__support_math_asinhf16",
],
)
libc_math_function(
name = "atanf",
additional_deps = [
- ":__support_fputil_fma",
- ":__support_fputil_multiply_add",
- ":__support_fputil_nearest_integer",
- ":__support_fputil_polyeval",
- ":__support_fputil_rounding_mode",
- ":__support_macros_optimization",
- ":__support_math_inv_trigf_utils",
+ ":__support_math_atanf"
+ ],
+)
+
+libc_math_function(
+ name = "atanf16",
+ additional_deps = [
+ ":__support_math_atanf16"
],
)
libc_math_function(
name = "atan",
additional_deps = [
- ":__support_fputil_double_double",
- ":__support_fputil_nearest_integer",
- ":__support_macros_optimization",
- ":atan_utils",
+ ":__support_math_atan"
],
)
libc_math_function(
name = "atan2f",
additional_deps = [
- ":__support_fputil_double_double",
- ":__support_fputil_nearest_integer",
- ":__support_math_inv_trigf_utils",
+ ":__support_math_atan2f",
+ ],
+)
+
+libc_math_function(
+ name = "atan2f128",
+ additional_deps = [
+ ":__support_math_atan2f128",
],
)
libc_math_function(
name = "atan2",
additional_deps = [
- ":__support_fputil_double_double",
- ":__support_fputil_nearest_integer",
- ":atan_utils",
+ ":__support_math_atan2",
],
)
libc_math_function(
name = "atanhf",
additional_deps = [
- ":__support_fputil_fma",
- ":__support_fputil_multiply_add",
- ":__support_fputil_nearest_integer",
- ":__support_fputil_polyeval",
- ":__support_macros_optimization",
- ":common_constants",
- ":explogxf",
+ ":__support_math_atanhf",
],
)
@@ -6239,7 +6365,9 @@ libc_function(
deps = [
":__support_common",
":__support_macros_config",
+ ":__support_macros_null_check",
":types_wchar_t",
+ ":wchar_utils",
],
)
@@ -6366,6 +6494,7 @@ libc_function(
":__support_common",
":__support_macros_null_check",
":types_wchar_t",
+ ":wchar_utils",
],
)