Otawa  0.10
Node.h
Go to the documentation of this file.
1 /*
2  * CCGNode class interface
3  *
4  * This file is part of OTAWA
5  * Copyright (c) 2006, IRIT UPS.
6  *
7  * OTAWA is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License as published by
9  * the Free Software Foundation; either version 2 of the License, or
10  * (at your option) any later version.
11  *
12  * OTAWA is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15  * GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License
18  * along with OTAWA; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
20  */
21 #ifndef OTAWA_CCG_CCGNODE_H
22 #define OTAWA_CCG_CCGNODE_H
23 
24 
25 #include <otawa/cfg/BasicBlock.h>
26 #include <otawa/ccg/Edge.h>
27 #include <otawa/ccg/features.h>
28 
29 namespace otawa { namespace ccg {
30 
31 class Node: public GenGraph<otawa::ccg::Node, otawa::ccg::Edge>::GenNode {
32 public:
33  Node(LBlock *node);
34  LBlock *lblock(){return lbl;};
35 private:
36  LBlock *lbl;
37 };
38 
39 } } // otawa::ccg
40 
41 #endif // OTAWA_CCG_CCGNode_H
Definition: GenGraph.h:38
The l-block is an abstraction allowing to split the basic block according to the bound of the cache b...
Definition: features.h:44
LBlock * lblock()
Definition: Node.h:34
LBlock * lbl
Definition: Node.h:34
Node of a CCG (Cache Conflict Graph).
Definition: Node.h:31
Node(LBlock *node)
Definition: ccg_Node.cpp:38