LLVM 20.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 <iterator>
#include <string>
#include <type_traits>
#include <vector>

Go to the source code of this file.

Classes

class  llvm::GraphWriter< GraphType >
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
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.
 
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.
 
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.
 
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.