Searched refs:j_value_nodes_ (Results 1 – 2 of 2) sorted by relevance
425 const std::unordered_map<AnfNodePtr, int> &FuncGraph::j_value_nodes() const { return j_value_nodes_… in j_value_nodes()435 void FuncGraph::ClearJValueNodes() { j_value_nodes_.clear(); } in ClearJValueNodes()438 if (j_value_nodes_.count(value_node) == 0) { in AddJValueNode()439 j_value_nodes_[value_node] = count; in AddJValueNode()441 j_value_nodes_[value_node] += count; in AddJValueNode()446 if (j_value_nodes_.count(value_node) != 0) { in DropJValueNode()447 if (j_value_nodes_[value_node] == 1) { in DropJValueNode()448 (void)j_value_nodes_.erase(value_node); in DropJValueNode()450 j_value_nodes_[value_node]--; in DropJValueNode()451 if (j_value_nodes_[value_node] < 0) { in DropJValueNode()
438 std::unordered_map<AnfNodePtr, int> j_value_nodes_; variable