ΒΆtemplate <typename GraphType>
std::string WriteGraph(
const GraphType& G,
const llvm::Twine& Name,
bool ShortNames = false,
const llvm::Twine& Title = "",
std::string Filename = "")
template <typename GraphType>
std::string WriteGraph(
const GraphType& G,
const llvm::Twine& Name,
bool ShortNames = false,
const llvm::Twine& Title = "",
std::string Filename = "")
Description
Writes graph into a provided @c Filename. If @c Filename is empty, generates a random one.
Declared at: llvm/include/llvm/Support/GraphWriter.h:378
Templates
- GraphType
Parameters
- const GraphType& G
- const llvm::Twine& Name
- bool ShortNames = false
- const llvm::Twine& Title = ""
- std::string Filename = ""
Returns
The resulting filename, or an empty string if writing failed.