LLVM API Documentation

Classes | Namespaces | Enumerations | Functions
GraphWriter.h File Reference
#include "llvm/ADT/GraphTraits.h"
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/Support/Path.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include <vector>
Include dependency graph for GraphWriter.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::GraphWriter< GraphType >

Namespaces

namespace  llvm
 

List of target independent CodeGen pass IDs.


namespace  llvm::DOT
namespace  llvm::GraphProgram

Enumerations

enum  llvm::GraphProgram::Name {
  llvm::GraphProgram::DOT, llvm::GraphProgram::FDP, llvm::GraphProgram::NEATO, llvm::GraphProgram::TWOPI,
  llvm::GraphProgram::CIRCO
}

Functions

std::string llvm::DOT::EscapeString (const std::string &Label)
StringRef llvm::DOT::getColorString (unsigned NodeNumber)
 Get a color string for this node number. Simply round-robin selects from a reasonable number of colors.
bool llvm::DisplayGraph (StringRef Filename, bool wait=true, GraphProgram::Name program=GraphProgram::DOT)
template<typename GraphType >
raw_ostream & llvm::WriteGraph (raw_ostream &O, const GraphType &G, bool ShortNames=false, const Twine &Title="")
std::string llvm::createGraphFilename (const Twine &Name, int &FD)
template<typename GraphType >
std::string llvm::WriteGraph (const GraphType &G, const Twine &Name, bool ShortNames=false, const Twine &Title="")
template<typename GraphType >
void llvm::ViewGraph (const GraphType &G, const Twine &Name, bool ShortNames=false, const Twine &Title="", GraphProgram::Name Program=GraphProgram::DOT)