//===- FlattenTest.cpp ----------------------------------------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// #include "polly/FlattenAlgo.h" #include "polly/Support/GICHelper.h" #include "gtest/gtest.h" #include "isl/union_map.h" usingnamespacellvm; usingnamespacepolly; namespace { /// Flatten a schedule and compare to the expected result. /// /// @param ScheduleStr The schedule to flatten as string. /// @param ExpectedStr The expected result as string. /// /// @result Whether the flattened schedule is the same as the expected schedule. bool checkFlatten(const char *ScheduleStr, const char *ExpectedStr) { … } TEST(Flatten, FlattenTrivial) { … } TEST(Flatten, FlattenSequence) { … } TEST(Flatten, FlattenLoop) { … } } // anonymous namespace