Path: blob/master/modules/gapi/src/compiler/passes/passes.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_HPP8#define OPENCV_GAPI_COMPILER_PASSES_HPP910#include <ostream>11#include <ade/passes/pass_base.hpp>1213#include "opencv2/gapi/garg.hpp"14#include "opencv2/gapi/gcommon.hpp"1516// Forward declarations - external17namespace ade {18class Graph;1920namespace passes {21struct PassContext;22}23}2425namespace cv {2627namespace gimpl { namespace passes {2829void dumpDot(const ade::Graph &g, std::ostream& os);30void dumpDot(ade::passes::PassContext &ctx, std::ostream& os);31void dumpDotStdout(ade::passes::PassContext &ctx);32void dumpGraph(ade::passes::PassContext &ctx, const std::string& dump_path);33void dumpDotToFile(ade::passes::PassContext &ctx, const std::string& dump_path);3435void initIslands(ade::passes::PassContext &ctx);36void checkIslands(ade::passes::PassContext &ctx);37void checkIslandsContent(ade::passes::PassContext &ctx);3839void initMeta(ade::passes::PassContext &ctx, const GMetaArgs &metas);40void inferMeta(ade::passes::PassContext &ctx);41void storeResultingMeta(ade::passes::PassContext &ctx);4243void expandKernels(ade::passes::PassContext &ctx,44const gapi::GKernelPackage& kernels);4546void resolveKernels(ade::passes::PassContext &ctx,47const gapi::GKernelPackage &kernels,48const gapi::GLookupOrder &order);4950void fuseIslands(ade::passes::PassContext &ctx);51void syncIslandTags(ade::passes::PassContext &ctx);5253}} // namespace gimpl::passes5455} // namespace cv5657#endif // OPENCV_GAPI_COMPILER_PASSES_HPP585960