OpenASIP  2.0
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 
44 class BasicBlockPass;
46 class BasicBlockNode;
47 
48 namespace TTAMachine {
49  class Machine;
50 }
51 
52 /**
53  * Interface for scheduler passes that handle control dependence graphs.
54  */
56 public:
59 
60  virtual void handleControlDependenceGraph(
62  const TTAMachine::Machine& targetMachine) = 0;
63 };
64 #endif
SchedulerPass
Definition: SchedulerPass.hh:43
ControlDependenceGraphPass::handleControlDependenceGraph
virtual void handleControlDependenceGraph(ControlDependenceGraph &cdg, const TTAMachine::Machine &targetMachine)=0
Definition: ControlDependenceGraphPass.cc:70
Exception.hh
SchedulerPass.hh
BasicBlockPass
Definition: BasicBlockPass.hh:60
ControlDependenceGraphPass::ControlDependenceGraphPass
ControlDependenceGraphPass(InterPassData &data)
Definition: ControlDependenceGraphPass.cc:47
ControlDependenceGraphPass
Definition: ControlDependenceGraphPass.hh:55
BasicBlockNode
Definition: BasicBlockNode.hh:64
InterPassData
Definition: InterPassData.hh:48
ControlDependenceGraph
Definition: ControlDependenceGraph.hh:65
ControlDependenceGraphPass::~ControlDependenceGraphPass
virtual ~ControlDependenceGraphPass()
Definition: ControlDependenceGraphPass.cc:54
TTAMachine
Definition: Assembler.hh:48
TTAMachine::Machine
Definition: Machine.hh:73