OpenASIP 2.2
Loading...
Searching...
No Matches
ControlDependenceGraphPass.hh
Go to the documentation of this file.
1/*
2 Copyright 2002-2008 Tampere University. All Rights
3 Reserved.
4
5 This file is part of TTA-Based Codesign Environment (TCE).
6
7 TCE is free software; you can redistribute it and/or modify it under the
8 terms of the GNU General Public License version 2 as published by the Free
9 Software Foundation.
10
11 TCE is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 details.
15
16 You should have received a copy of the GNU General Public License along
17 with TCE; if not, write to the Free Software Foundation, Inc., 51 Franklin
18 St, Fifth Floor, Boston, MA 02110-1301 USA
19
20 As a special exception, you may use this file as part of a free software
21 library without restriction. Specifically, if other files instantiate
22 templates or use macros or inline functions from this file, or you compile
23 this file and link it with other files to produce an executable, this
24 file does not by itself cause the resulting executable to be covered by
25 the GNU General Public License. This exception does not however
26 invalidate any other reasons why the executable file might be covered by
27 the GNU General Public License.
28*/
29/**
30 * @file ControlDependenceGraphPass.hh
31 *
32 * Declaration of ControlDependenceGraphPass interface.
33 *
34 * @author VladimĂ­r Guzma 2008 (vladimir.guzma@tut.fi)
35 * @note rating: red
36 */
37
38#ifndef TTA_CDG_PASS_HH
39#define TTA_CDG_PASS_HH
40
41#include "Exception.hh"
42#include "SchedulerPass.hh"
43
44class BasicBlockPass;
46class BasicBlockNode;
47
48namespace TTAMachine {
49 class Machine;
50}
51
52/**
53 * Interface for scheduler passes that handle control dependence graphs.
54 */
56public:
59
62 const TTAMachine::Machine& targetMachine) = 0;
63};
64#endif
virtual void handleControlDependenceGraph(ControlDependenceGraph &cdg, const TTAMachine::Machine &targetMachine)=0