//===- LoopLikeSCFOpsTest.cpp - SCF LoopLikeOpInterface Tests -------------===// // // 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 "mlir/Dialect/Arith/IR/Arith.h" #include "mlir/Dialect/SCF/IR/SCF.h" #include "mlir/IR/Diagnostics.h" #include "mlir/IR/MLIRContext.h" #include "mlir/IR/OwningOpRef.h" #include "gtest/gtest.h" usingnamespacemlir; usingnamespacemlir::scf; //===----------------------------------------------------------------------===// // Test Fixture //===----------------------------------------------------------------------===// class SCFLoopLikeTest : public ::testing::Test { … }; TEST_F(SCFLoopLikeTest, queryUnidimensionalLooplikes) { … } TEST_F(SCFLoopLikeTest, queryMultidimensionalLooplikes) { … }