|
LLVM 24.0.0git
|
#include "llvm/Support/GraphWriter.h"#include "DebugOptions.h"#include "llvm/ADT/SmallString.h"#include "llvm/ADT/SmallVector.h"#include "llvm/ADT/StringRef.h"#include "llvm/Config/config.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/ErrorOr.h"#include "llvm/Support/FileSystem.h"#include "llvm/Support/ManagedStatic.h"#include "llvm/Support/Path.h"#include "llvm/Support/Program.h"#include "llvm/Support/raw_ostream.h"#include <string>#include <system_error>#include <vector>Go to the source code of this file.
Functions | |
| static std::string | replaceIllegalFilenameChars (std::string Filename, const char ReplacementChar) |
| static bool | ExecGraphViewer (StringRef ExecPath, std::vector< StringRef > &args, StringRef Filename, bool wait, std::string &ErrMsg) |
| static const char * | getProgramName (GraphProgram::Name program) |
Variables | |
| static ManagedStatic< cl::opt< std::string >, CreateDAGGraphWriteLocation > | DAGGraphWriteLocation |
| static ManagedStatic< cl::opt< bool >, CreateNoOpenDAGViewer > | NoOpenDAGViewer |
|
static |
Definition at line 175 of file GraphWriter.cpp.
References args, llvm::errs(), llvm::sys::ExecuteAndWait(), llvm::sys::ExecuteNoWait(), Filename, and llvm::sys::fs::remove().
Referenced by llvm::DisplayGraph().
|
static |
Definition at line 214 of file GraphWriter.cpp.
References llvm::GraphProgram::CIRCO, llvm::GraphProgram::DOT, llvm::GraphProgram::FDP, llvm_unreachable, llvm::GraphProgram::NEATO, and llvm::GraphProgram::TWOPI.
Referenced by llvm::DisplayGraph().
|
static |
Definition at line 125 of file GraphWriter.cpp.
References Filename, llvm::sys::path::native, and llvm::replace().
Referenced by llvm::createGraphFilename().
|
static |
Definition at line 69 of file GraphWriter.cpp.
Referenced by llvm::createGraphFilename(), and llvm::initGraphWriterOptions().
|
static |
Definition at line 70 of file GraphWriter.cpp.
Referenced by llvm::DisplayGraph(), and llvm::initGraphWriterOptions().