Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / pstl / test / support / stdlib / algorithm
blob39e6f7471a6d0d448901df4ee182d2adfc9f3a19
1 // -*- C++ -*-
2 //===-- algorithm ---------------------------------------------------------===//
3 //
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 //
8 //===----------------------------------------------------------------------===//
10 #ifndef _TEST_SUPPORT_STDLIB_ALGORITHM
11 #define _TEST_SUPPORT_STDLIB_ALGORITHM
13 #include_next <algorithm>
15 #include <pstl/internal/pstl_config.h>
17 #if _PSTL_EXECUTION_POLICIES_DEFINED
18 // If <execution> has already been included, pull in implementations
19 #    include <pstl/internal/glue_algorithm_impl.h>
20 #else
21 // Otherwise just pull in forward declarations
22 #    include <pstl/internal/glue_algorithm_defs.h>
23 #    define _PSTL_ALGORITHM_FORWARD_DECLARED 1
24 #endif
26 #endif /* _TEST_SUPPORT_STDLIB_ALGORITHM */