[all-commits] [llvm/llvm-project] c120ed: [libc][nfc] move ctype_utils and FPUtils to __support
michaelrj-google via All-commits
all-commits at lists.llvm.org
Fri Aug 6 10:29:54 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c120edc7b3e1907127c3107b30e2667f1fde1ee2
https://github.com/llvm/llvm-project/commit/c120edc7b3e1907127c3107b30e2667f1fde1ee2
Author: Michael Jones <michaelrj at google.com>
Date: 2021-08-06 (Fri, 06 Aug 2021)
Changed paths:
M libc/fuzzing/math/CMakeLists.txt
M libc/fuzzing/math/Compare.h
M libc/fuzzing/math/RemQuoDiff.h
M libc/fuzzing/math/SingleInputSingleOutputDiff.h
M libc/fuzzing/math/TwoInputSingleOutputDiff.h
M libc/src/__support/CMakeLists.txt
A libc/src/__support/FPUtil/BasicOperations.h
A libc/src/__support/FPUtil/CMakeLists.txt
A libc/src/__support/FPUtil/DivisionAndRemainderOperations.h
A libc/src/__support/FPUtil/DummyFEnvImpl.h
A libc/src/__support/FPUtil/FEnvUtils.h
A libc/src/__support/FPUtil/FMA.h
A libc/src/__support/FPUtil/FPBits.h
A libc/src/__support/FPUtil/FPExceptMatcher.cpp
A libc/src/__support/FPUtil/FPExceptMatcher.h
A libc/src/__support/FPUtil/FloatProperties.h
A libc/src/__support/FPUtil/Hypot.h
A libc/src/__support/FPUtil/LongDoubleBitsX86.h
A libc/src/__support/FPUtil/ManipulationFunctions.h
A libc/src/__support/FPUtil/NearestIntegerOperations.h
A libc/src/__support/FPUtil/NextAfterLongDoubleX86.h
A libc/src/__support/FPUtil/NormalFloat.h
A libc/src/__support/FPUtil/PlatformDefs.h
A libc/src/__support/FPUtil/PolyEval.h
A libc/src/__support/FPUtil/Sqrt.h
A libc/src/__support/FPUtil/SqrtLongDoubleX86.h
A libc/src/__support/FPUtil/TestHelpers.cpp
A libc/src/__support/FPUtil/TestHelpers.h
A libc/src/__support/FPUtil/aarch64/FEnvImpl.h
A libc/src/__support/FPUtil/aarch64/FMA.h
A libc/src/__support/FPUtil/generic/FMA.h
A libc/src/__support/FPUtil/generic/README.md
A libc/src/__support/FPUtil/x86_64/FEnvImpl.h
A libc/src/__support/FPUtil/x86_64/FMA.h
A libc/src/__support/ctype_utils.h
M libc/src/ctype/CMakeLists.txt
R libc/src/ctype/ctype_utils.h
M libc/src/ctype/isalnum.cpp
M libc/src/ctype/isalpha.cpp
M libc/src/ctype/isdigit.cpp
M libc/src/ctype/isgraph.cpp
M libc/src/ctype/islower.cpp
M libc/src/ctype/ispunct.cpp
M libc/src/ctype/isspace.cpp
M libc/src/ctype/isupper.cpp
M libc/src/ctype/isxdigit.cpp
M libc/src/ctype/tolower.cpp
M libc/src/ctype/toupper.cpp
M libc/src/fenv/CMakeLists.txt
M libc/src/fenv/feclearexcept.cpp
M libc/src/fenv/fegetenv.cpp
M libc/src/fenv/fegetexceptflag.cpp
M libc/src/fenv/fegetround.cpp
M libc/src/fenv/feholdexcept.cpp
M libc/src/fenv/feraiseexcept.cpp
M libc/src/fenv/fesetenv.cpp
M libc/src/fenv/fesetexceptflag.cpp
M libc/src/fenv/fesetround.cpp
M libc/src/fenv/fetestexcept.cpp
M libc/src/fenv/feupdateenv.cpp
M libc/src/math/CMakeLists.txt
M libc/src/math/fma.cpp
M libc/src/math/fmaf.cpp
M libc/src/math/generic/CMakeLists.txt
M libc/src/math/generic/ceil.cpp
M libc/src/math/generic/ceilf.cpp
M libc/src/math/generic/ceill.cpp
M libc/src/math/generic/copysign.cpp
M libc/src/math/generic/copysignf.cpp
M libc/src/math/generic/copysignl.cpp
M libc/src/math/generic/expm1f.cpp
M libc/src/math/generic/fabs.cpp
M libc/src/math/generic/fabsf.cpp
M libc/src/math/generic/fabsl.cpp
M libc/src/math/generic/fdim.cpp
M libc/src/math/generic/fdimf.cpp
M libc/src/math/generic/fdiml.cpp
M libc/src/math/generic/floor.cpp
M libc/src/math/generic/floorf.cpp
M libc/src/math/generic/floorl.cpp
M libc/src/math/generic/fmax.cpp
M libc/src/math/generic/fmaxf.cpp
M libc/src/math/generic/fmaxl.cpp
M libc/src/math/generic/fmin.cpp
M libc/src/math/generic/fminf.cpp
M libc/src/math/generic/fminl.cpp
M libc/src/math/generic/frexp.cpp
M libc/src/math/generic/frexpf.cpp
M libc/src/math/generic/frexpl.cpp
M libc/src/math/generic/hypot.cpp
M libc/src/math/generic/hypotf.cpp
M libc/src/math/generic/ilogb.cpp
M libc/src/math/generic/ilogbf.cpp
M libc/src/math/generic/ilogbl.cpp
M libc/src/math/generic/ldexp.cpp
M libc/src/math/generic/ldexpf.cpp
M libc/src/math/generic/ldexpl.cpp
M libc/src/math/generic/llrint.cpp
M libc/src/math/generic/llrintf.cpp
M libc/src/math/generic/llrintl.cpp
M libc/src/math/generic/llround.cpp
M libc/src/math/generic/llroundf.cpp
M libc/src/math/generic/llroundl.cpp
M libc/src/math/generic/logb.cpp
M libc/src/math/generic/logbf.cpp
M libc/src/math/generic/logbl.cpp
M libc/src/math/generic/lrint.cpp
M libc/src/math/generic/lrintf.cpp
M libc/src/math/generic/lrintl.cpp
M libc/src/math/generic/lround.cpp
M libc/src/math/generic/lroundf.cpp
M libc/src/math/generic/lroundl.cpp
M libc/src/math/generic/modf.cpp
M libc/src/math/generic/modff.cpp
M libc/src/math/generic/modfl.cpp
M libc/src/math/generic/nearbyint.cpp
M libc/src/math/generic/nearbyintf.cpp
M libc/src/math/generic/nearbyintl.cpp
M libc/src/math/generic/nextafter.cpp
M libc/src/math/generic/nextafterf.cpp
M libc/src/math/generic/nextafterl.cpp
M libc/src/math/generic/remainder.cpp
M libc/src/math/generic/remainderf.cpp
M libc/src/math/generic/remainderl.cpp
M libc/src/math/generic/remquo.cpp
M libc/src/math/generic/remquof.cpp
M libc/src/math/generic/remquol.cpp
M libc/src/math/generic/rint.cpp
M libc/src/math/generic/rintf.cpp
M libc/src/math/generic/rintl.cpp
M libc/src/math/generic/round.cpp
M libc/src/math/generic/roundf.cpp
M libc/src/math/generic/roundl.cpp
M libc/src/math/generic/sqrt.cpp
M libc/src/math/generic/sqrtf.cpp
M libc/src/math/generic/sqrtl.cpp
M libc/src/math/generic/trunc.cpp
M libc/src/math/generic/truncf.cpp
M libc/src/math/generic/truncl.cpp
M libc/test/src/fenv/CMakeLists.txt
M libc/test/src/fenv/enabled_exceptions_test.cpp
M libc/test/src/fenv/exception_flags_test.cpp
M libc/test/src/fenv/exception_status_test.cpp
M libc/test/src/fenv/feclearexcept_test.cpp
M libc/test/src/fenv/feholdexcept_test.cpp
M libc/test/src/fenv/feupdateenv_test.cpp
M libc/test/src/fenv/getenv_and_setenv_test.cpp
M libc/test/src/math/CMakeLists.txt
M libc/test/src/math/CeilTest.h
M libc/test/src/math/CopySignTest.h
M libc/test/src/math/FAbsTest.h
M libc/test/src/math/FDimTest.h
M libc/test/src/math/FMaxTest.h
M libc/test/src/math/FMinTest.h
M libc/test/src/math/FloorTest.h
M libc/test/src/math/FmaTest.h
M libc/test/src/math/FrexpTest.h
M libc/test/src/math/HypotTest.h
M libc/test/src/math/ILogbTest.h
M libc/test/src/math/LdExpTest.h
M libc/test/src/math/LogbTest.h
M libc/test/src/math/ModfTest.h
M libc/test/src/math/NextAfterTest.h
M libc/test/src/math/RIntTest.h
M libc/test/src/math/RemQuoTest.h
M libc/test/src/math/RoundTest.h
M libc/test/src/math/RoundToIntegerTest.h
M libc/test/src/math/SqrtTest.h
M libc/test/src/math/TruncTest.h
M libc/test/src/math/cos_test.cpp
M libc/test/src/math/cosf_test.cpp
M libc/test/src/math/differential_testing/CMakeLists.txt
M libc/test/src/math/differential_testing/SingleInputSingleOutputDiff.h
M libc/test/src/math/exhaustive/CMakeLists.txt
M libc/test/src/math/exhaustive/cosf_test.cpp
M libc/test/src/math/exhaustive/expm1f_test.cpp
M libc/test/src/math/exhaustive/sinf_test.cpp
M libc/test/src/math/exhaustive/sqrtf_test.cpp
M libc/test/src/math/exp2f_test.cpp
M libc/test/src/math/expf_test.cpp
M libc/test/src/math/expm1f_test.cpp
M libc/test/src/math/fdim_test.cpp
M libc/test/src/math/fdimf_test.cpp
M libc/test/src/math/fdiml_test.cpp
M libc/test/src/math/generic/CMakeLists.txt
M libc/test/src/math/ilogb_test.cpp
M libc/test/src/math/ilogbf_test.cpp
M libc/test/src/math/ilogbl_test.cpp
M libc/test/src/math/sin_test.cpp
M libc/test/src/math/sincosf_test.cpp
M libc/test/src/math/sinf_test.cpp
M libc/test/src/math/tan_test.cpp
M libc/test/utils/FPUtil/CMakeLists.txt
M libc/test/utils/FPUtil/x86_long_double_test.cpp
M libc/utils/CMakeLists.txt
R libc/utils/FPUtil/BasicOperations.h
R libc/utils/FPUtil/CMakeLists.txt
R libc/utils/FPUtil/DivisionAndRemainderOperations.h
R libc/utils/FPUtil/DummyFEnvImpl.h
R libc/utils/FPUtil/FEnvUtils.h
R libc/utils/FPUtil/FMA.h
R libc/utils/FPUtil/FPBits.h
R libc/utils/FPUtil/FPExceptMatcher.cpp
R libc/utils/FPUtil/FPExceptMatcher.h
R libc/utils/FPUtil/FloatProperties.h
R libc/utils/FPUtil/Hypot.h
R libc/utils/FPUtil/LongDoubleBitsX86.h
R libc/utils/FPUtil/ManipulationFunctions.h
R libc/utils/FPUtil/NearestIntegerOperations.h
R libc/utils/FPUtil/NextAfterLongDoubleX86.h
R libc/utils/FPUtil/NormalFloat.h
R libc/utils/FPUtil/PlatformDefs.h
R libc/utils/FPUtil/PolyEval.h
R libc/utils/FPUtil/Sqrt.h
R libc/utils/FPUtil/SqrtLongDoubleX86.h
R libc/utils/FPUtil/TestHelpers.cpp
R libc/utils/FPUtil/TestHelpers.h
R libc/utils/FPUtil/aarch64/FEnvImpl.h
R libc/utils/FPUtil/aarch64/FMA.h
R libc/utils/FPUtil/generic/FMA.h
R libc/utils/FPUtil/generic/README.md
R libc/utils/FPUtil/x86_64/FEnvImpl.h
R libc/utils/FPUtil/x86_64/FMA.h
M libc/utils/MPFRWrapper/CMakeLists.txt
M libc/utils/MPFRWrapper/MPFRUtils.cpp
Log Message:
-----------
[libc][nfc] move ctype_utils and FPUtils to __support
Some ctype functions are called from other libc functions (e.g. isspace
is used in atoi). By moving ctype_utils.h to __support it becomes easier
to include just the implementations of these functions. For these
reasons the implementation for isspace was moved into
ctype_utils as well.
FPUtils was moved to simplify the build order, and to clarify which
files are a part of the actual libc.
Many files were modified to accomodate these changes, mostly changing
the #include paths.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D107600
More information about the All-commits
mailing list