/third_party/mindspore/mindspore/ccsrc/backend/optimizer/pass/ |
D | optimize_updatestate.cc | 39 auto update_state = dyn_cast<CNode>(node); in Process() local 40 MS_EXCEPTION_IF_NULL(update_state); in Process() 41 if (update_state->size() <= kAdditionalAttachIndex) { in Process() 49 (void)new_inputs.emplace_back(update_state->input(0)); in Process() 50 (void)new_inputs.emplace_back(update_state->input(kInputIndex)); in Process() 51 (void)new_inputs.emplace_back(update_state->input(kAttachIndex)); in Process() 52 for (size_t i = kAdditionalAttachIndex; i < update_state->size(); ++i) { in Process() 53 auto &attach = update_state->input(i); in Process() 56 if ((users.size() == 1) && (users.front().first == update_state) && !attach->isa<Parameter>()) { in Process() 62 if (new_inputs.size() == update_state->size()) { in Process() [all …]
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/irpass/ |
D | updatestate_eliminate.cc | 115 AnfNodePtr NewUpdateStateWithAttach(const CNodePtr &update_state, const AnfNodePtr &attach) { in NewUpdateStateWithAttach() argument 116 auto fg = update_state->func_graph(); in NewUpdateStateWithAttach() 121 fg->NewCNode({update_state->input(kFirstInputIndex), update_state->input(kInputIndex), attach}); in NewUpdateStateWithAttach() 122 new_update_state->set_abstract(update_state->abstract()); in NewUpdateStateWithAttach() 123 new_update_state->set_scope(update_state->scope()); in NewUpdateStateWithAttach() 127 AnfNodePtr EliminateUpdateStateWithDepend(const CNodePtr &update_state) { in EliminateUpdateStateWithDepend() argument 128 auto depend = update_state->input(kAttachIndex)->cast<CNodePtr>(); in EliminateUpdateStateWithDepend() 134 auto update_monad = update_state->input(kInputIndex); in EliminateUpdateStateWithDepend() 137 MS_LOG(WARNING) << "Not a monad input: " << update_state->DebugString(); in EliminateUpdateStateWithDepend() 149 auto mgr = GetManager(update_state); in EliminateUpdateStateWithDepend() [all …]
|
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/static_analysis/ |
D | order_enforce.cc | 60 auto update_state = node->cast<CNodePtr>(); in HandleUpdateState() local 61 MS_EXCEPTION_IF_NULL(update_state); in HandleUpdateState() 63 if (update_state->inputs().size() < update_state_inputs_size) { in HandleUpdateState() 64 …MS_LOG(ERROR) << "UpdateState inputs size is less than 3, node is:" << update_state->DebugString(); in HandleUpdateState() 66 if (!HasAbstractUMonad(update_state->input(1))) { in HandleUpdateState() 71 auto &attach = update_state->input(attach_index); in HandleUpdateState() 77 auto &prev_u = update_state->input(1); in HandleUpdateState() 83 auto side_effect_nodes = FindNodeUsers(prev_u, [&update_state](const AnfNodePtr &user_node) { in HandleUpdateState() 84 return (user_node != update_state) && !IsPrimitiveCNode(user_node, prim::kPrimLoad); in HandleUpdateState() 165 auto update_state = FindLastUpdateState(maketuple); in HandleMakeTupleUsers() local [all …]
|
D | auto_monad.cc | 1114 bool update_state = NeedUpdateState(); in HandleCNodes() local 1126 HandleMemoryEffects(cnode, update_state); in HandleCNodes() 1129 HandleLoad(cnode, update_state); in HandleCNodes() 1133 HandleIoEffects(cnode, update_state); in HandleCNodes() 1146 if (update_state) { in HandleCNodes() 1234 void HandleMemoryEffects(const CNodePtr &cnode, bool update_state) { in HandleMemoryEffects() argument 1237 if (update_state) { in HandleMemoryEffects() 1250 void HandleIoEffects(const CNodePtr &cnode, bool update_state) { in HandleIoEffects() argument 1253 if (update_state) { in HandleIoEffects() 1258 void HandleLoad(const CNodePtr &cnode, bool update_state) { in HandleLoad() argument [all …]
|
/third_party/boost/libs/locale/src/shared/ |
D | mo_hash.hpp | 21 static state_type update_state(state_type value,char c) in update_state() function 29 static state_type update_state(state_type value,char const *ptr) in update_state() function 32 value = update_state(value,*ptr++); in update_state() 35 static state_type update_state(state_type value,char const *begin,char const *end) in update_state() function 38 value = update_state(value,*begin++); in update_state() 46 state = pj_winberger_hash::update_state(state,ptr); in pj_winberger_hash_function() 53 state = pj_winberger_hash::update_state(state,begin,end); in pj_winberger_hash_function()
|
D | message.cpp | 137 st = pj_winberger_hash::update_state(st,context_in); in find() 138 st = pj_winberger_hash::update_state(st,'\4'); // EOT in find() 139 st = pj_winberger_hash::update_state(st,key_in); in find() 441 state = pj_winberger_hash::update_state(state, in operator ()() 444 state = pj_winberger_hash::update_state(state,'\4'); in operator ()() 450 state = pj_winberger_hash::update_state(state, in operator ()()
|
/third_party/mindspore/tests/ut/cpp/python_input/gtest_input/pre_activate/ |
D | fused_batch_norm_fusion_test.py | 28 update_state = Primitive('UpdateState') variable 60 u0 = update_state(U, assign_sub0) 62 u1 = update_state(u0, assign_sub1) 77 u0 = update_state(U, assign_sub0) 79 u1 = update_state(u0, assign_sub1) 94 u0 = update_state(U, assign_sub0) 96 u1 = update_state(u0, assign_sub1)
|
/third_party/weston/clients/ |
D | simple-egl-hos.c | 672 uint32_t update_state, in ScreenUpdate() argument 677 LOG("screenUpdate update_state: %d", update_state); in ScreenUpdate() 681 if (update_state == WMS_SCREEN_STATUS_ADD) { in ScreenUpdate() 689 void WindowUpdate(void *data, struct wms *wms, uint32_t update_state, uint32_t window_id, in WindowUpdate() argument 694 LOG("WindowUpdate update_state: %d", update_state); in WindowUpdate() 698 if (update_state == WMS_WINDOW_STATUS_CREATED) { in WindowUpdate() 703 else if (update_state == WMS_WINDOW_STATUS_FAILED) { in WindowUpdate()
|
D | simple-dmabuf-egl-hos.c | 1044 uint32_t update_state, in ScreenUpdate() argument 1049 LOG("screenUpdate update_state: %d", update_state); in ScreenUpdate() 1053 if (update_state == WMS_SCREEN_STATUS_ADD) { in ScreenUpdate() 1061 void WindowUpdate(void *data, struct wms *wms, uint32_t update_state, uint32_t window_id, in WindowUpdate() argument 1066 LOG("WindowUpdate update_state: %d", update_state); in WindowUpdate() 1070 if (update_state == WMS_WINDOW_STATUS_CREATED) { in WindowUpdate() 1075 else if (update_state == WMS_WINDOW_STATUS_FAILED) { in WindowUpdate()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/format_type/ |
D | insert_cast.cc | 40 for (auto &update_state : update_states) { in InsertCastForMultipleOutput() local 41 manager->SetEdge(update_state.first, update_state.second, cnode); in InsertCastForMultipleOutput()
|
D | deal_ref_and_split_unsupported_transdata.cc | 178 for (auto &update_state : update_states) { in DealRefForMultipleOutput() local 179 manager->SetEdge(update_state.first, update_state.second, cnode); in DealRefForMultipleOutput()
|
/third_party/weston/libweston/ |
D | backend.h | 188 enum weston_key_state_update update_state); 191 enum weston_key_state_update update_state);
|
D | input.c | 2192 enum weston_key_state_update update_state) in notify_key() argument 2233 if (update_state == STATE_UPDATE_AUTOMATIC) { in notify_key() 2276 enum weston_key_state_update update_state) in notify_keyboard_focus_in() argument 2287 if (update_state == STATE_UPDATE_AUTOMATIC) in notify_keyboard_focus_in()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | auto_monad_eliminate.cc | 264 auto update_state = load_node->cast<CNodePtr>()->input(second_input_index); in ReplaceUpdateStateForLoad() local 268 auto &node_users = mgr->node_users()[update_state]; in ReplaceUpdateStateForLoad() 270 if (!IsPrimitiveCNode(update_state, prim::kPrimUpdateState) || node_users.size() == kUserSize) { in ReplaceUpdateStateForLoad()
|
/third_party/mesa3d/src/gallium/drivers/svga/ |
D | svga_state.c | 182 update_state(struct svga_context *svga, in update_state() function 273 ret = update_state( svga, in svga_update_state()
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/ascend/ |
D | ascend_helper.cc | 163 for (auto &update_state : update_states) { in InsertTransOpForMultipleOutput() local 164 manager->SetEdge(update_state.first, update_state.second, node); in InsertTransOpForMultipleOutput()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ad/ |
D | dfunctor.cc | 887 for (auto &update_state : update_states) { in RemovePrimalUpdateStates() local 888 auto &input_monad = update_state->inputs().at(1); in RemovePrimalUpdateStates() 889 manager->Replace(update_state, input_monad); in RemovePrimalUpdateStates()
|
/third_party/ffmpeg/libavcodec/ |
D | amrnbdec.c | 847 static void update_state(AMRContext *p) in update_state() function 1058 update_state(p); in amrnb_decode_frame()
|
/third_party/libevdev/libevdev/ |
D | libevdev.c | 1059 update_state(struct libevdev *dev, const struct input_event *e) in update_state() function 1172 update_state(dev, &e); in libevdev_next_event() 1202 update_state(dev, ev); in libevdev_next_event()
|
/third_party/weston/xwayland/ |
D | window-manager.c | 1714 update_state(int action, int *state) in update_state() function 1779 update_state(action, &window->fullscreen)) { in weston_wm_window_handle_state() 1795 update_state(action, &window->maximized_vert)) in weston_wm_window_handle_state() 1799 update_state(action, &window->maximized_horz)) in weston_wm_window_handle_state()
|
/third_party/boost/boost/msm/back/ |
D | state_machine.hpp | 1575 struct update_state struct in boost::msm::back::state_machine 1577 update_state(substate_list& to_overwrite_):to_overwrite(&to_overwrite_){} in update_state() argument 1589 …::boost::fusion::as_vector(FoldToList()(expr, boost::fusion::nil_())),update_state(this->m_substat… in set_states()
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | ascend_auto_monad.cc | 1279 auto update_state = NewValueNode(prim::kPrimUpdateState); in UpdateState() local 1280 auto update_state_cnode = kernel_graph_->NewCNode({update_state, state, input}); in UpdateState()
|