LLVM  14.0.0git
Classes | Namespaces | Enumerations | Functions
GraphWriter.h File Reference
#include "llvm/ADT/GraphTraits.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/DOTGraphTraits.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
#include <cstddef>
#include <iterator>
#include <string>
#include <type_traits>
#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.


class  llvm::GraphWriter< GraphType >


 This file implements support for optimizing divisions by a constant.


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


std::string llvm::DOT::EscapeString (const std::string &Label)
StringRef llvm::DOT::getColorString (unsigned NodeNumber)
 Get a color string for this node number. More...
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="", std::string Filename="")
 Writes graph into a provided Filename. More...
template<typename GraphType >
LLVM_DUMP_METHOD void llvm::dumpDotGraphToFile (const GraphType &G, const Twine &FileName, const Twine &Title, bool ShortNames=false, const Twine &Name="")
 DumpDotGraph - Just dump a dot graph to the user-provided file name. More...
template<typename GraphType >
void llvm::ViewGraph (const GraphType &G, const Twine &Name, bool ShortNames=false, const Twine &Title="", GraphProgram::Name Program=GraphProgram::DOT)
 ViewGraph - Emit a dot graph, run 'dot', run gv on the postscript file, then cleanup. More...