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 [libc][NFC] Use a end of list marker for cpu feature detection. 2021-01-27 01:24:15 -08:00
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 [libc] [NFC] Split the CMake rules into multiple files. 2020-04-21 09:24:17 -07:00
LLVMLibCTargetNameUtils.cmake [libc] Add fully-qualified target names. 2020-04-10 18:01:52 -07:00
LLVMLibCTestRules.cmake [libc] Allow target architecture customization 2021-05-10 07:53:48 +00:00