Searched refs:VarNode (Results 1 – 5 of 5) sorted by relevance
92 class VarNode : public AnfNode {94 VarNode(const VarPtr &value, const FuncGraphPtr &func_graph) : AnfNode(func_graph), var_(value) {} in VarNode() function95 ~VarNode() override = default;96 MS_DECLARE_PARENT(VarNode, AnfNode);100 using VarNodePtr = std::shared_ptr<VarNode>;
53 if (node->isa<VarNode>()) { in GetVar()
107 if (node->isa<VarNode>()) { in GetVar()
678 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), nullptr); in CreateVarNodeWithSexp()682 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), utils::cast<FuncGraphPtr>(graph)); in CreateVarNodeWithSexp()
205 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), nullptr); in CreateVarNodeWithSexp()209 return std::make_shared<VarNode>(utils::cast<VarPtr>(sexp), utils::cast<FuncGraphPtr>(graph)); in CreateVarNodeWithSexp()