LLVM 22.0.0git
|
Functions | |
LLVM_ABI std::string | EscapeString (const std::string &Label) |
LLVM_ABI StringRef | getColorString (unsigned NodeNumber) |
Get a color string for this node number. | |
std::string llvm::DOT::EscapeString | ( | const std::string & | Label | ) |
Definition at line 56 of file GraphWriter.cpp.
Referenced by llvm::VPlanPrinter::dump(), llvm::GraphWriterBase< GraphType, Derived >::emitSimpleNode(), llvm::GraphWriterBase< GraphType, Derived >::getEdgeSourceLabels(), printNodeDOT(), llvm::LazyCallGraphDOTPrinterPass::run(), llvm::GraphWriterBase< GraphType, Derived >::writeHeader(), and llvm::GraphWriterBase< GraphType, Derived >::writeNode().
Get a color string for this node number.
Simply round-robin selects from a reasonable number of colors.
Definition at line 91 of file GraphWriter.cpp.
Referenced by llvm::DOTGraphTraits< ScheduleDAGMI * >::getNodeAttributes().