/third_party/spirv-tools/source/opt/ |
D | optimizer.cpp | 277 std::string pass_name = p.first; in RegisterPassFromFlag() local 287 if (pass_name == "strip-debug") { in RegisterPassFromFlag() 289 } else if (pass_name == "strip-reflect") { in RegisterPassFromFlag() 291 } else if (pass_name == "set-spec-const-default-value") { in RegisterPassFromFlag() 311 } else if (pass_name == "if-conversion") { in RegisterPassFromFlag() 313 } else if (pass_name == "freeze-spec-const") { in RegisterPassFromFlag() 315 } else if (pass_name == "inline-entry-points-exhaustive") { in RegisterPassFromFlag() 317 } else if (pass_name == "inline-entry-points-opaque") { in RegisterPassFromFlag() 319 } else if (pass_name == "combine-access-chains") { in RegisterPassFromFlag() 321 } else if (pass_name == "convert-local-access-chains") { in RegisterPassFromFlag() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | optimizer.cpp | 277 std::string pass_name = p.first; in RegisterPassFromFlag() local 287 if (pass_name == "strip-debug") { in RegisterPassFromFlag() 289 } else if (pass_name == "strip-reflect") { in RegisterPassFromFlag() 291 } else if (pass_name == "set-spec-const-default-value") { in RegisterPassFromFlag() 311 } else if (pass_name == "if-conversion") { in RegisterPassFromFlag() 313 } else if (pass_name == "freeze-spec-const") { in RegisterPassFromFlag() 315 } else if (pass_name == "inline-entry-points-exhaustive") { in RegisterPassFromFlag() 317 } else if (pass_name == "inline-entry-points-opaque") { in RegisterPassFromFlag() 319 } else if (pass_name == "combine-access-chains") { in RegisterPassFromFlag() 321 } else if (pass_name == "convert-local-access-chains") { in RegisterPassFromFlag() [all …]
|
/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
D | optimizer.cpp | 277 std::string pass_name = p.first; in RegisterPassFromFlag() local 287 if (pass_name == "strip-debug") { in RegisterPassFromFlag() 289 } else if (pass_name == "strip-reflect") { in RegisterPassFromFlag() 291 } else if (pass_name == "set-spec-const-default-value") { in RegisterPassFromFlag() 311 } else if (pass_name == "if-conversion") { in RegisterPassFromFlag() 313 } else if (pass_name == "freeze-spec-const") { in RegisterPassFromFlag() 315 } else if (pass_name == "inline-entry-points-exhaustive") { in RegisterPassFromFlag() 317 } else if (pass_name == "inline-entry-points-opaque") { in RegisterPassFromFlag() 319 } else if (pass_name == "combine-access-chains") { in RegisterPassFromFlag() 321 } else if (pass_name == "convert-local-access-chains") { in RegisterPassFromFlag() [all …]
|
/third_party/mindspore/mindspore/lite/tools/converter/registry/ |
D | pass_registry.cc | 31 void RegPass(const std::string &pass_name, const PassBasePtr &pass) { in RegPass() argument 37 outer_pass_storage[pass_name] = pass; in RegPass() 41 PassRegistry::PassRegistry(const std::string &pass_name, const PassBasePtr &pass) { RegPass(pass_na… in PassRegistry() argument 58 PassBasePtr PassRegistry::GetPassFromStoreRoom(const std::string &pass_name) { in GetPassFromStoreRoom() argument 59 …return outer_pass_storage.find(pass_name) == outer_pass_storage.end() ? nullptr : outer_pass_stora… in GetPassFromStoreRoom()
|
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/ |
D | py_pass_manager.cc | 51 void PyPassManager::Register(const std::string &pass_name, const PatternPtr &pattern, const Pattern… in Register() argument 64 PythonPassPtr new_pass = std::make_shared<PythonPass>(pass_name, pattern, target, run_only_once); in Register() 68 void PyPassManager::Unregister(const std::string &pass_name) { in Unregister() argument 70 if (!opt_pm->DeletePass(pass_name)) { in Unregister() 71 MS_LOG(WARNING) << "Opt has no such pass : " + pass_name + "\n"; in Unregister() 74 if (!pre_ad_pm->DeletePass(pass_name)) { in Unregister() 75 MS_LOG(WARNING) << "Pre_AD has no such pass : " + pass_name + "\n"; in Unregister() 87 auto pass_name = new_para_pattern->para_name(); in GenNewParameter() local 89 auto new_pass = std::make_shared<PythonPass>(pass_name, nullptr, parameter, true); in GenNewParameter()
|
D | pass_group.cc | 28 bool PassGroup::DeletePass(const std::string &pass_name) { in DeletePass() argument 30 if ((*iter)->name() == pass_name) { in DeletePass()
|
D | py_pass_manager.h | 55 …void Register(const std::string &pass_name, const PatternPtr &pattern, const PatternPtr &target, b… 57 void Unregister(const std::string &pass_name);
|
D | pass_group.h | 37 bool DeletePass(const std::string &pass_name);
|
/third_party/mindspore/mindspore/lite/tools/converter/ |
D | optimizer_manager.cc | 33 for (auto &pass_name : pass_names) { in RunOptimizerPass() local 34 auto pass_outer = registry::PassRegistry::GetPassFromStoreRoom(pass_name); in RunOptimizerPass() 37 MS_LOG(WARNING) << "run pass failed, pass name is " << pass_name; in RunOptimizerPass() 42 auto pass_builtin = PassStorage::GetPassFromStorage(pass_name); in RunOptimizerPass() 44 MS_LOG(ERROR) << "exited pass cannot be obtained, pass name is " << pass_name; in RunOptimizerPass() 48 MS_LOG(ERROR) << "run pass failed, pass name is " << pass_name; in RunOptimizerPass()
|
D | optimizer_manager.h | 32 static int StorePass(const std::string &pass_name, const opt::PassPtr &pass) { in StorePass() argument 33 if (registry::PassRegistry::GetPassFromStoreRoom(pass_name) != nullptr) { in StorePass() 36 pass_stroge_[pass_name] = pass; in StorePass() 39 …tic opt::PassPtr GetPassFromStorage(const std::string &pass_name) { return pass_stroge_[pass_name]… in GetPassFromStorage() argument
|
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/ |
D | rewrite_output_shape.h | 26 explicit SaveOutputShape(const std::string &pass_name = "save_output_shape") : Pass(pass_name) {} in Pass() argument 33 …explicit RewriteOutputShape(const std::string &pass_name = "rewrite_output_shape") : Pass(pass_nam… in Pass() argument
|
D | graph_kernel_pass_manager.cc | 31 auto pass_name = pass->name(); in AddPass() local 32 auto pass_in_list = [this, pass_id, &pass_name](const std::vector<std::string> &pass_list) { in AddPass() 36 … std::find(pass_list.begin(), pass_list.end(), this->name_ + "." + pass_name) != pass_list.end(); in AddPass()
|
/third_party/mindspore/mindspore/lite/include/registry/ |
D | pass_registry.h | 39 PassRegistry(const std::string &pass_name, const PassBasePtr &pass); 62 static PassBasePtr GetPassFromStoreRoom(const std::string &pass_name);
|
/third_party/mindspore/mindspore/graph_utils/python_pass/ |
D | python_pass_register.py | 54 pass_name = py_pass.__name__ 59 super().register(pass_name, pattern, target, self.requires_grad, self.run_only_once_)
|
/third_party/mindspore/mindspore/lite/tools/optimizer/format/ |
D | to_format_base.h | 41 std::string pass_name = "ToFormatBase") 42 : Pass(pass_name), fmk_type_(fmk_type), train_flag_(train_flag) {} in Pass() argument
|
/third_party/mindspore/mindspore/ccsrc/backend/session/ |
D | cpu_session.cc | 90 std::string pass_name = "replace_node_by_proxy"; in Optimize() local 91 pass_name.append(std::to_string(graph_sum_)); in Optimize() 92 pm->AddPass(std::make_shared<opt::ReplaceNodeByProxy>(pass_name)); in Optimize()
|
/third_party/mesa3d/src/compiler/nir/ |
D | nir_algebraic.py | 1138 def __init__(self, pass_name, transforms): argument 1141 self.pass_name = pass_name 1199 return _algebraic_pass_template.render(pass_name=self.pass_name,
|
D | nir.h | 4515 static inline bool should_skip_nir(UNUSED const char *pass_name) { return false; } in should_skip_nir() argument
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | LowerMatrixIntrinsics.cpp | 885 static const char pass_name[] = "Lower the matrix intrinsics"; variable 887 INITIALIZE_PASS_BEGIN(LowerMatrixIntrinsicsLegacyPass, DEBUG_TYPE, pass_name, in INITIALIZE_PASS_BEGIN() argument 889 INITIALIZE_PASS_END(LowerMatrixIntrinsicsLegacyPass, DEBUG_TYPE, pass_name, in INITIALIZE_PASS_BEGIN()
|
/third_party/e2fsprogs/e2fsck/ |
D | extents.c | 402 static void rebuild_extents(e2fsck_t ctx, const char *pass_name, int pr_header) in rebuild_extents() argument 461 print_resource_track(ctx, pass_name, &rtrack, ctx->fs->io); in rebuild_extents()
|