blob: 1f0ef761c29607a754078ab8f439b998c6ec0af8 [file] [log] [blame]
//===-- CFGGraphDrawer.h - Creates an image representing a CFG ---*- C++ -*-==//
//
// Class for drawing CFG of a Function
//
//===----------------------------------------------------------------------===//
#ifndef CFGGRAPHDRAWER_H
#define CFGGRAPHDRAWER_H
#include "GraphDrawer.h"
namespace llvm {
class Function;
}
//===----------------------------------------------------------------------===//
// CFGGraphDrawer interface
class CFGGraphDrawer : public GraphDrawer {
public:
wxImage *drawFunctionGraph (llvm::Function *fn);
CFGGraphDrawer (wxWindow *parent) : GraphDrawer (parent) { }
std::string getDisplayTitle (TVTreeItemData *item);
};
#endif // CFGGRAPHDRAWER_H