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