Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/c++/v1/__cxx03/experimental/__config is written in an unsupported language. File is not indexed.

0001 // -*- C++ -*-
0002 //===----------------------------------------------------------------------===//
0003 //
0004 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
0005 // See https://llvm.org/LICENSE.txt for license information.
0006 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
0007 //
0008 //===----------------------------------------------------------------------===//
0009 
0010 #ifndef _LIBCPP___CXX03_EXPERIMENTAL_CONFIG
0011 #define _LIBCPP___CXX03_EXPERIMENTAL_CONFIG
0012 
0013 #include <__cxx03/__config>
0014 
0015 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
0016 #  pragma GCC system_header
0017 #endif
0018 
0019 #define _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL                                                                           \
0020   namespace std {                                                                                                      \
0021   namespace experimental {
0022 #define _LIBCPP_END_NAMESPACE_EXPERIMENTAL                                                                             \
0023   }                                                                                                                    \
0024   }
0025 
0026 #define _LIBCPP_BEGIN_NAMESPACE_LFTS _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v1 {
0027 #define _LIBCPP_END_NAMESPACE_LFTS                                                                                     \
0028   }                                                                                                                    \
0029   }                                                                                                                    \
0030   }
0031 
0032 #define _LIBCPP_BEGIN_NAMESPACE_LFTS_V2 _LIBCPP_BEGIN_NAMESPACE_EXPERIMENTAL inline namespace fundamentals_v2 {
0033 #define _LIBCPP_END_NAMESPACE_LFTS_V2                                                                                  \
0034   }                                                                                                                    \
0035   }                                                                                                                    \
0036   }
0037 
0038 // TODO: support more targets
0039 #if defined(__AVX__)
0040 #  define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 32
0041 #else
0042 #  define _LIBCPP_NATIVE_SIMD_WIDTH_IN_BYTES 16
0043 #endif
0044 
0045 #endif