Searched refs:ColorKind (Results 1 – 1 of 1) sorted by relevance
104 enum class ColorKind { None, Red, Black }; enum110 using MapType = std::map<Node, ColorKind>;123 ColorKind other(ColorKind Color) { in other()124 if (Color == ColorKind::None) in other()125 return ColorKind::Red; in other()126 return Color == ColorKind::Red ? ColorKind::Black : ColorKind::Red; in other()144 ColorKind getColor(Node N) { in getColor()146 return F != Colors.end() ? F->second : ColorKind::None; in getColor()149 std::pair<bool, ColorKind> getUniqueColor(const NodeSet &Nodes);156 std::pair<bool, ColorKind> Coloring::getUniqueColor(const NodeSet &Nodes) { in getUniqueColor()[all …]