hanchenye-llvm-project/libc/cmake/modules
Guillaume Chatelet 6351993da7 [libc] Simplifies multi implementations
This is a roll forward of D101895 with two additional fixes:

Original Patch description:
> This is a follow up on D101524 which:
>
> - simplifies cpu features detection and usage,
> - flattens target dependent optimizations so it's obvious which implementations are generated,
> - provides an implementation targeting the host (march/mtune=native) for the mem* functions,
> - makes sure all implementations are unittested (provided the host can run them).

Additional fixes:
 - Fix uninitialized ALL_CPU_FEATURES
 - Use non pseudo microarch as it is only supported from Clang 12 on

Differential Revision: https://reviews.llvm.org/D102233
2021-05-12 07:24:53 +00:00
..
cpu_features
LLVMLibCArchitectures.cmake [libc] Normalize LIBC_TARGET_MACHINE 2021-05-05 15:52:42 +00:00
LLVMLibCCheckCpuFeatures.cmake [libc] Simplifies multi implementations 2021-05-12 07:24:53 +00:00
LLVMLibCHeaderRules.cmake [libc] Introduce a full build mode CMake option. 2021-03-12 13:28:40 -08:00
LLVMLibCLibraryRules.cmake [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00
LLVMLibCObjectRules.cmake [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00
LLVMLibCRules.cmake
LLVMLibCTargetNameUtils.cmake
LLVMLibCTestRules.cmake [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00