00001 #ifndef CFG_TO_DOT_H
00002 #define CFG_TO_DOT_H
00003 #include <string>
00004
00005 namespace VirtualCFG {
00006
00007
00008 std::ostream& cfgToDot(std::ostream& o, std::string graphName, CFGNode start);
00009 std::ostream& cfgToDot(std::ostream& o, std::string graphName, InterestingNode start);
00010
00011 std::ostream& cfgToDotForDebugging(std::ostream& o, std::string graphName, CFGNode start);
00012 std::ostream& cfgToDotForDebugging(std::ostream& o, std::string graphName, InterestingNode start);
00013
00015 void cfgToDot (SgNode* start, const std::string& file_name);
00016
00018 void interestingCfgToDot (SgNode* start, const std::string& file_name);
00019
00021 void cfgToDotForDebugging(SgNode* start, const std::string& file_name);
00022 }
00023
00024
00025 #endif