Path: blob/master/modules/gapi/src/compiler/passes/helpers.hpp
16344 views
// This file is part of OpenCV project.1// It is subject to the license terms in the LICENSE file found in the top-level directory2// of this distribution and at http://opencv.org/license.html.3//4// Copyright (C) 2018 Intel Corporation567#ifndef OPENCV_GAPI_COMPILER_PASSES_HELPERS_HPP8#define OPENCV_GAPI_COMPILER_PASSES_HELPERS_HPP910// FIXME: DROP THIS and REUSE ADE utilities11// (which serve as passes already but are not exposed as standalone functions)1213#include <vector>1415#include <ade/passes/pass_base.hpp>16#include <ade/node.hpp> // FIXME: Forward declarations instead?17#include <ade/graph.hpp>1819namespace cv {20namespace gimpl {21namespace pass_helpers {2223bool hasCycles(const ade::Graph &graph);24std::vector<ade::NodeHandle> topoSort(const ade::Graph &graph);2526} // namespace pass_helpers27} // namespace gimpl28} // name2930#endif // OPENCV_GAPI_COMPILER_PASSES_HELPERS_HPP313233