Home
last modified time | relevance | path

Searched refs:passes_ (Results 1 – 24 of 24) sorted by relevance

/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dpass_manager.h72 std::vector<std::unique_ptr<Pass>> passes_; variable
76 passes_.push_back(std::move(pass)); in AddPass()
81 passes_.emplace_back(new T(std::forward<Args>(args)...)); in AddPass()
82 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
86 return static_cast<uint32_t>(passes_.size()); in NumPasses()
90 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
91 return passes_[index].get(); in GetPass()
Dpass_manager.cpp22 for (const auto& pass : passes_) { in Run()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dpass_manager.h117 std::vector<std::unique_ptr<Pass>> passes_; variable
133 passes_.push_back(std::move(pass)); in AddPass()
138 passes_.emplace_back(new T(std::forward<Args>(args)...)); in AddPass()
139 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
143 return static_cast<uint32_t>(passes_.size()); in NumPasses()
147 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
148 return passes_[index].get(); in GetPass()
Dpass_manager.cpp47 for (auto& pass : passes_) { in Run()
80 passes_.clear(); in Run()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass_manager.h117 std::vector<std::unique_ptr<Pass>> passes_; variable
133 passes_.push_back(std::move(pass)); in AddPass()
138 passes_.emplace_back(new T(std::forward<Args>(args)...)); in AddPass()
139 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
143 return static_cast<uint32_t>(passes_.size()); in NumPasses()
147 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
148 return passes_[index].get(); in GetPass()
Dpass_manager.cpp47 for (auto& pass : passes_) { in Run()
80 passes_.clear(); in Run()
/third_party/spirv-tools/source/opt/
Dpass_manager.h117 std::vector<std::unique_ptr<Pass>> passes_; variable
133 passes_.push_back(std::move(pass)); in AddPass()
138 passes_.emplace_back(new T(std::forward<Args>(args)...)); in AddPass()
139 passes_.back()->SetMessageConsumer(consumer_); in AddPass()
143 return static_cast<uint32_t>(passes_.size()); in NumPasses()
147 SPIRV_ASSERT(consumer_, index < passes_.size(), "index out of bound"); in GetPass()
148 return passes_[index].get(); in GetPass()
Dpass_manager.cpp47 for (auto& pass : passes_) { in Run()
80 passes_.clear(); in Run()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_pass_manager.cc30 auto pass_id = passes_.size(); in AddPass()
46 passes_.push_back(pass); in AddPass()
56 for (size_t i = 0; i < passes_.size(); i++) { in Run()
58 changed = RunPass(func_graph, i, passes_[i]) || changed; in Run()
62 …h_kernel/" << std::setfill('0') << std::setw(4) << g_id++ << "_" << GetPassFullname(i, passes_[i]); in Run()
65 MS_LOG(INFO) << "pass " << GetPassFullname(i, passes_[i]) << " is disabled."; in Run()
/third_party/mindspore/mindspore/ccsrc/frontend/optimizer/
Dpass_group.cc24 passes_.push_back(pass); in AddPass()
29 for (auto iter = passes_.begin(); iter != passes_.end(); iter++) { in DeletePass()
32 passes_.erase(iter); in DeletePass()
61 change = Run(func_graph, passes_, res); in Run()
Doptimizer.h116 passes_.push_back(OptPass::Renormalize()); in Init()
122 passes_.push_back(OptPass(func)); in Init()
126 passes_.push_back(OptPass(config.func())); in Init()
129 if (passes_.size() == 1) { in Init()
160 for (size_t i = 0; i < passes_.size(); ++i) {
161 const OptPass &opt = passes_[i];
253 std::vector<OptPass> passes_; variable
Dpass_group.h32 : name_(name), passes_{}, run_only_once_(run_only_once) {} in name_()
52 size_t size() { return passes_.size(); } in size()
56 std::vector<PythonPassPtr> passes_; variable
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dpass_manager_extends.cc30 const std::vector<PassPtr> &PassManager::Passes() const { return passes_; } in Passes()
34 passes_.push_back(pass); in AddPass()
93 change = Run(func_graph, passes_); in Run()
/third_party/spirv-tools/source/fuzz/pass_management/
Drepeated_pass_instances.h107 passes_.push_back(std::move(pass)); \
176 return passes_; in GetPasses()
181 std::vector<std::unique_ptr<FuzzerPass>> passes_;
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/pass_management/
Drepeated_pass_instances.h108 passes_.push_back(std::move(pass)); \
178 return passes_; in GetPasses()
183 std::vector<std::unique_ptr<FuzzerPass>> passes_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/pass_management/
Drepeated_pass_instances.h108 passes_.push_back(std::move(pass)); \
178 return passes_; in GetPasses()
183 std::vector<std::unique_ptr<FuzzerPass>> passes_;
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dreducer.cpp43 for (auto& pass : passes_) { in SetMessageConsumer()
86 RunPasses(&passes_, options, validator_options, tools, &current_binary, in Run()
145 passes_.push_back( in AddReductionPass()
Dreducer.h115 std::vector<std::unique_ptr<ReductionPass>> passes_; variable
/third_party/skia/third_party/externals/spirv-tools/source/reduce/
Dreducer.cpp43 for (auto& pass : passes_) { in SetMessageConsumer()
86 RunPasses(&passes_, options, validator_options, tools, &current_binary, in Run()
145 passes_.push_back( in AddReductionPass()
Dreducer.h115 std::vector<std::unique_ptr<ReductionPass>> passes_; variable
/third_party/spirv-tools/source/reduce/
Dreducer.cpp42 for (auto& pass : passes_) { in SetMessageConsumer()
85 RunPasses(&passes_, options, validator_options, tools, &current_binary, in Run()
142 passes_.push_back( in AddReductionPass()
Dreducer.h115 std::vector<std::unique_ptr<ReductionPass>> passes_; variable
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dpass_manager.h48 …: name_(name), passes_{}, run_only_once_(run_only_once), cache_manager_(std::make_shared<CacheMana… in name_()
73 std::vector<PassPtr> passes_; variable
Dpass_manager.cc92 const std::vector<PassPtr> &PassManager::Passes() const { return passes_; } in Passes()
96 passes_.push_back(pass); in AddPass()
168 change = Run(func_graph, passes_); in Run()