00001 #ifndef CACHED_FUNCTION_AST_ATTRIBUTES_H_INCLUDED_ 00002 #define CACHED_FUNCTION_AST_ATTRIBUTES_H_INCLUDED_ 00003 00004 #include "rose.h" 00005 00006 #include "segment_graph.h" 00007 00008 namespace risc { 00009 00010 namespace sg { 00011 00018 class CachedFunctionAstAttributes: public AstAttribute { 00019 00020 public: 00021 00022 CachedFunctionAstAttributes(VertexDescriptor starting_vertex); 00023 00030 bool has_no_boundary(); 00031 00037 bool starting_segment_is_leaving_segment(); 00038 00039 VertexDescriptor starting_vertex_; 00040 SegmentGraph::SegmentSet leaving_segments_; 00041 }; 00042 00043 } // end of namespace sg 00044 00045 } // end of namespace risc 00046 00047 #endif /* CACHED_FUNCTION_AST_ATTRIBUTES_H_INCLUDED_ */ 00048 00049 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */