Searched refs:ColorKind (Results 1 – 1 of 1) sorted by relevance
100 enum class ColorKind { None, Red, Black }; enum106 using MapType = std::map<Node, ColorKind>;119 ColorKind other(ColorKind Color) { in other()120 if (Color == ColorKind::None) in other()121 return ColorKind::Red; in other()122 return Color == ColorKind::Red ? ColorKind::Black : ColorKind::Red; in other()140 ColorKind getColor(Node N) { in getColor()142 return F != Colors.end() ? F->second : ColorKind::None; in getColor()145 std::pair<bool, ColorKind> getUniqueColor(const NodeSet &Nodes);152 std::pair<bool, ColorKind> Coloring::getUniqueColor(const NodeSet &Nodes) { in getUniqueColor()[all …]