//===- LoopLikeInterface.cpp - Loop-like operations in MLIR ---------------===// // // 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/Interfaces/LoopLikeInterface.h" #include "mlir/Interfaces/FunctionInterfaces.h" #include "llvm/ADT/DenseSet.h" usingnamespacemlir; /// Include the definitions of the loop-like interfaces. #include "mlir/Interfaces/LoopLikeInterface.cpp.inc" bool LoopLikeOpInterface::blockIsInLoop(Block *block) { … } LogicalResult detail::verifyLoopLikeOpInterface(Operation *op) { … }