Home
last modified time | relevance | path

Searched refs:removable_phis (Results 1 – 2 of 2) sorted by relevance

/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dparse.cc1918 AnfNodePtr FindPhis(const std::unordered_map<ParameterPtr, AnfNodePtr> &removable_phis, const AnfNo… in FindPhis() argument
1921 const auto &iter = removable_phis.find(inp); in FindPhis()
1922 if (iter == removable_phis.end()) { in FindPhis()
1925 return FindPhis(removable_phis, iter->second); in FindPhis()
1930 std::unordered_map<ParameterPtr, AnfNodePtr> removable_phis; in RemoveUnnecessaryPhis() local
1934 removable_phis.insert(block->removable_phis().begin(), block->removable_phis().end()); in RemoveUnnecessaryPhis()
1935 …std::transform(block->removable_phis().begin(), block->removable_phis().end(), std::back_inserter(… in RemoveUnnecessaryPhis()
1938 if (removable_phis.empty()) { in RemoveUnnecessaryPhis()
1946 auto new_node = FindPhis(removable_phis, phi); in RemoveUnnecessaryPhis()
1952 auto &local_removable_phis = block->removable_phis(); in RemoveUnnecessaryPhis()
Dfunction_block.h78 …const std::unordered_map<ParameterPtr, AnfNodePtr> &removable_phis() const { return removable_phis… in removable_phis() function