Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
81 changes: 43 additions & 38 deletions utils/bazel/llvm-project-overlay/libc/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -1098,6 +1098,7 @@ libc_support_library(
":__support_cpp_bit",
":__support_cpp_type_traits",
":__support_fputil_cast",
":__support_fputil_comparison_operations",
":__support_fputil_dyadic_float",
":__support_macros_config",
":__support_macros_properties_types",
Expand Down Expand Up @@ -1172,6 +1173,7 @@ libc_support_library(
name = "__support_fputil_rounding_mode",
hdrs = ["src/__support/FPUtil/rounding_mode.h"],
deps = [
":__support_cpp_type_traits",
":__support_macros_attributes",
":__support_macros_config",
":hdr_fenv_macros",
Expand Down Expand Up @@ -1932,8 +1934,8 @@ libc_support_library(
srcs = ["src/math/generic/common_constants.cpp"],
hdrs = ["src/math/generic/common_constants.h"],
deps = [
":__support_math_exp_constants",
":__support_math_acosh_float_constants",
":__support_math_exp_constants",
":__support_number_pair",
],
)
Expand Down Expand Up @@ -2016,10 +2018,10 @@ libc_support_library(
":__support_fputil_fma",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_math_exp_utils",
":__support_math_exp10f_utils",
":__support_math_acoshf_utils",
":__support_macros_properties_cpu_features",
":__support_math_acoshf_utils",
":__support_math_exp10f_utils",
":__support_math_exp_utils",
":common_constants",
],
)
Expand Down Expand Up @@ -2071,16 +2073,15 @@ libc_support_library(
":__support_fputil_cast",
":__support_fputil_fp_bits",
":__support_fputil_nearest_integer",
":__support_math_expf16_utils",
":__support_math_exp10_float16_constants",
":__support_math_expf16_utils",
],
)

libc_support_library(
name = "__support_math_acos",
hdrs = ["src/__support/math/acos.h"],
deps = [
":__support_math_asin_utils",
":__support_fputil_double_double",
":__support_fputil_dyadic_float",
":__support_fputil_fenv_impl",
Expand All @@ -2089,22 +2090,23 @@ libc_support_library(
":__support_fputil_polyeval",
":__support_fputil_sqrt",
":__support_macros_optimization",
":__support_macros_properties_types",
":__support_macros_properties_cpu_features",
":__support_macros_properties_types",
":__support_math_asin_utils",
],
)

libc_support_library(
name = "__support_math_acosf",
hdrs = ["src/__support/math/acosf.h"],
deps = [
":__support_math_inv_trigf_utils",
":__support_fputil_except_value_utils",
":__support_fputil_fp_bits",
":__support_fputil_multiply_add",
":__support_fputil_polyeval",
":__support_fputil_sqrt",
":__support_macros_optimization",
":__support_math_inv_trigf_utils",
],
)

Expand All @@ -2113,6 +2115,7 @@ libc_support_library(
hdrs = ["src/__support/math/acosf16.h"],
deps = [
":__support_fputil_cast",
":__support_fputil_except_value_utils",
":__support_fputil_fma",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
Expand All @@ -2134,31 +2137,30 @@ libc_support_library(
name = "__support_math_acoshf_utils",
hdrs = ["src/__support/math/acoshf_utils.h"],
deps = [
":__support_math_acosh_float_constants",
":__support_fputil_fp_bits",
":__support_fputil_multiply_add",
":__support_fputil_polyeval",
":__support_math_acosh_float_constants",
],
)

libc_support_library(
name = "__support_math_acoshf",
hdrs = ["src/__support/math/acoshf.h"],
deps = [
":__support_math_acoshf_utils",
":__support_fputil_fenv_impl",
":__support_fputil_fp_bits",
":__support_fputil_multiply_add",
":__support_fputil_sqrt",
":__support_macros_optimization",
":__support_math_acoshf_utils",
],
)

libc_support_library(
name = "__support_math_acoshf16",
hdrs = ["src/__support/math/acoshf16.h"],
deps = [
":__support_math_acoshf_utils",
":__support_fputil_cast",
":__support_fputil_except_value_utils",
":__support_fputil_fenv_impl",
Expand All @@ -2167,19 +2169,20 @@ libc_support_library(
":__support_fputil_polyeval",
":__support_fputil_sqrt",
":__support_macros_optimization",
":__support_math_acoshf_utils",
],
)

libc_support_library(
name = "__support_math_asin_utils",
hdrs = ["src/__support/math/asin_utils.h"],
deps = [
":__support_integer_literals",
":__support_fputil_double_double",
":__support_fputil_dyadic_float",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_integer_literals",
":__support_macros_optimization",
],
)
Expand All @@ -2188,6 +2191,8 @@ libc_support_library(
name = "__support_math_erff",
hdrs = ["src/__support/math/erff.h"],
deps = [
":__support_fputil_except_value_utils",
":__support_fputil_fp_bits",
":__support_fputil_multiply_add",
":__support_fputil_polyeval",
":__support_macros_optimization",
Expand Down Expand Up @@ -2228,7 +2233,7 @@ libc_support_library(
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_macros_attributes",
":llvm_libc_macros_float16_macros"
":llvm_libc_macros_float16_macros",
],
)

Expand All @@ -2237,7 +2242,6 @@ libc_support_library(
hdrs = ["src/__support/math/expf16.h"],
deps = [
":__support_common",
":__support_libc_errno",
":__support_cpp_array",
":__support_fputil_cast",
":__support_fputil_except_value_utils",
Expand All @@ -2247,39 +2251,40 @@ libc_support_library(
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_fputil_rounding_mode",
":__support_libc_errno",
":__support_macros_optimization",
":__support_math_expf16_utils",
":llvm_libc_macros_float16_macros"
":llvm_libc_macros_float16_macros",
],
)

libc_support_library(
name = "__support_math_frexpf128",
hdrs = ["src/__support/math/frexpf128.h"],
deps = [
":__support_macros_properties_types",
":__support_fputil_manipulation_functions",
":__support_macros_properties_types",
],
)

libc_support_library(
name = "__support_math_inv_trigf_utils",
hdrs = ["src/__support/math/inv_trigf_utils.h"],
deps = [
":__support_common",
":__support_fputil_multiply_add",
":__support_fputil_polyeval",
":__support_common",
],
)

libc_support_library(
name = "__support_math_frexpf16",
hdrs = ["src/__support/math/frexpf16.h"],
deps = [
":__support_fputil_manipulation_functions",
":__support_macros_config",
":__support_macros_properties_types",
":__support_fputil_manipulation_functions",
":llvm_libc_macros_float16_macros"
":llvm_libc_macros_float16_macros",
],
)

Expand All @@ -2297,17 +2302,17 @@ libc_support_library(
deps = [
":__support_fputil_manipulation_functions",
":__support_macros_properties_types",
":llvm_libc_types_float128"
":llvm_libc_types_float128",
],
)

libc_support_library(
name = "__support_math_ldexpf16",
hdrs = ["src/__support/math/ldexpf16.h"],
deps = [
":__support_macros_properties_types",
":__support_fputil_manipulation_functions",
":llvm_libc_macros_float16_macros"
":__support_macros_properties_types",
":llvm_libc_macros_float16_macros",
],
)

Expand All @@ -2331,8 +2336,8 @@ libc_support_library(
name = "__support_math_exp_utils",
hdrs = ["src/__support/math/exp_utils.h"],
deps = [
":__support_cpp_optional",
":__support_cpp_bit",
":__support_cpp_optional",
":__support_fputil_fp_bits",
],
)
Expand All @@ -2341,10 +2346,9 @@ libc_support_library(
name = "__support_math_exp",
hdrs = ["src/__support/math/exp.h"],
deps = [
":__support_math_exp_constants",
":__support_math_exp_utils",
":__support_cpp_bit",
":__support_cpp_optional",
":__support_fputil_double_double",
":__support_fputil_dyadic_float",
":__support_fputil_fenv_impl",
":__support_fputil_fp_bits",
Expand All @@ -2353,18 +2357,17 @@ libc_support_library(
":__support_fputil_polyeval",
":__support_fputil_rounding_mode",
":__support_fputil_triple_double",
":__support_fputil_double_double",
":__support_integer_literals",
":__support_macros_optimization",
":__support_math_exp_constants",
":__support_math_exp_utils",
],
)

libc_support_library(
name = "__support_math_exp10",
hdrs = ["src/__support/math/exp10.h"],
deps = [
":__support_math_exp_constants",
":__support_math_exp_utils",
":__support_fputil_double_double",
":__support_fputil_dyadic_float",
":__support_fputil_multiply_add",
Expand All @@ -2374,19 +2377,21 @@ libc_support_library(
":__support_fputil_triple_double",
":__support_integer_literals",
":__support_macros_optimization",
":__support_math_exp_constants",
":__support_math_exp_utils",
],
)

libc_support_library(
name = "__support_math_exp10f_utils",
hdrs = ["src/__support/math/exp10f_utils.h"],
deps = [
":__support_common",
":__support_fputil_basic_operations",
":__support_fputil_fenv_impl",
":__support_fputil_multiply_add",
":__support_fputil_nearest_integer",
":__support_fputil_polyeval",
":__support_common",
":__support_math_exp_utils",
],
)
Expand All @@ -2395,12 +2400,12 @@ libc_support_library(
name = "__support_math_exp10f",
hdrs = ["src/__support/math/exp10f.h"],
deps = [
":__support_math_exp10f_utils",
":__support_fputil_fenv_impl",
":__support_fputil_fp_bits",
":__support_fputil_multiply_add",
":__support_fputil_rounding_mode",
":__support_macros_optimization",
":__support_math_exp10f_utils",
],
)

Expand All @@ -2416,23 +2421,23 @@ libc_support_library(
name = "__support_math_exp10f16_utils",
hdrs = ["src/__support/math/exp10f16_utils.h"],
deps = [
":__support_fputil_fp_bits",
":__support_math_exp10_float16_constants",
":__support_math_expf16_utils",
":__support_fputil_fp_bits",
],
)

libc_support_library(
name = "__support_math_exp10f16",
hdrs = ["src/__support/math/exp10f16.h"],
deps = [
":__support_math_exp10f16_utils",
":__support_fputil_fp_bits",
":__support_fputil_cast",
":__support_fputil_rounding_mode",
":__support_fputil_except_value_utils",
":__support_fputil_fp_bits",
":__support_fputil_rounding_mode",
":__support_macros_optimization",
":__support_macros_properties_cpu_features",
":__support_math_exp10f16_utils",
],
)

Expand Down Expand Up @@ -3004,7 +3009,7 @@ libc_math_function(name = "dsubf128")
libc_math_function(
name = "erff",
additional_deps = [
":__support_math_erff"
":__support_math_erff",
],
)

Expand Down Expand Up @@ -3475,13 +3480,13 @@ libc_math_function(
name = "frexpf128",
additional_deps = [
":__support_math_frexpf128",
]
],
)

libc_math_function(
name = "frexpf16",
additional_deps = [
":__support_math_frexpf16"
":__support_math_frexpf16",
],
)

Expand Down Expand Up @@ -3576,7 +3581,7 @@ libc_math_function(
name = "ldexpf",
additional_deps = [
":__support_math_ldexpf",
]
],
)

libc_math_function(name = "ldexpl")
Expand Down
Loading