Home
last modified time | relevance | path

Searched refs:PassManager (Results 1 – 25 of 134) sorted by relevance

123456

/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dpass_manager.h36 class PassManager {
43 PassManager() in PassManager() function
82 PassManager& SetPrintAll(std::ostream* out) { in SetPrintAll()
90 PassManager& SetTimeReport(std::ostream* out) { in SetTimeReport()
96 PassManager& SetTargetEnv(spv_target_env env) { in SetTargetEnv()
102 PassManager& SetValidatorOptions(spv_validator_options options) { in SetValidatorOptions()
108 PassManager& SetValidateAfterAll(bool validate) { in SetValidateAfterAll()
132 inline void PassManager::AddPass(std::unique_ptr<Pass> pass) { in AddPass()
137 inline void PassManager::AddPass(Args&&... args) { in AddPass()
142 inline uint32_t PassManager::NumPasses() const { in NumPasses()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dpass_manager.h36 class PassManager {
43 PassManager() in PassManager() function
82 PassManager& SetPrintAll(std::ostream* out) { in SetPrintAll()
90 PassManager& SetTimeReport(std::ostream* out) { in SetTimeReport()
96 PassManager& SetTargetEnv(spv_target_env env) { in SetTargetEnv()
102 PassManager& SetValidatorOptions(spv_validator_options options) { in SetValidatorOptions()
108 PassManager& SetValidateAfterAll(bool validate) { in SetValidateAfterAll()
132 inline void PassManager::AddPass(std::unique_ptr<Pass> pass) { in AddPass()
137 inline void PassManager::AddPass(Args&&... args) { in AddPass()
142 inline uint32_t PassManager::NumPasses() const { in NumPasses()
[all …]
/third_party/spirv-tools/source/opt/
Dpass_manager.h36 class PassManager {
43 PassManager() in PassManager() function
82 PassManager& SetPrintAll(std::ostream* out) { in SetPrintAll()
90 PassManager& SetTimeReport(std::ostream* out) { in SetTimeReport()
96 PassManager& SetTargetEnv(spv_target_env env) { in SetTargetEnv()
102 PassManager& SetValidatorOptions(spv_validator_options options) { in SetValidatorOptions()
108 PassManager& SetValidateAfterAll(bool validate) { in SetValidateAfterAll()
132 inline void PassManager::AddPass(std::unique_ptr<Pass> pass) { in AddPass()
137 inline void PassManager::AddPass(Args&&... args) { in AddPass()
142 inline uint32_t PassManager::NumPasses() const { in NumPasses()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/source/opt/
Dpass_manager.h33 class PassManager {
40 PassManager() : consumer_(nullptr) {} in PassManager() function
75 inline void PassManager::AddPass(std::unique_ptr<Pass> pass) { in AddPass()
80 inline void PassManager::AddPass(Args&&... args) { in AddPass()
85 inline uint32_t PassManager::NumPasses() const { in NumPasses()
89 inline Pass* PassManager::GetPass(uint32_t index) const { in GetPass()
94 inline const MessageConsumer& PassManager::consumer() const { in consumer()
/third_party/mindspore/mindspore/lite/tools/optimizer/common/
Dpass_manager_extends.cc30 const std::vector<PassPtr> &PassManager::Passes() const { return passes_; } in Passes()
32 void PassManager::AddPass(const PassPtr &pass) { in AddPass()
39 bool PassManager::RunPass(const FuncGraphPtr &func_graph, size_t pass_id, const PassPtr &pass) cons… in RunPass()
42 std::string PassManager::GetPassFullname(size_t pass_id, const PassPtr &pass) const { return ""; } in GetPassFullname()
45 void PassManager::DumpPassIR(const FuncGraphPtr &func_graph, const std::string &pass_fullname) cons… in DumpPassIR()
47 bool PassManager::Run(const FuncGraphPtr &func_graph, const std::vector<PassPtr> &passes) const { in Run()
84 bool PassManager::Run(const FuncGraphPtr &func_graph) const { in Run()
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fusion/
Dlamb_next_mv_rule_test.cc67 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
111 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
154 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
197 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
240 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
259 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
280 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
299 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
320 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
339 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
[all …]
Dadam_apply_one_fusion_test.cc60 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
98 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
136 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
174 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
212 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
232 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
252 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
272 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
292 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
312 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
Dadam_apply_one_with_decay_rule_test.cc45 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
66 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
87 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
108 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
129 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
150 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
171 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
192 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
213 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
234 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
Dlamb_next_mv_with_decay_rule_test.cc68 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
113 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
158 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
203 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
248 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
268 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
289 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
309 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
330 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
350 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
[all …]
Dlamb_next_mv_with_decay_v1_rule_test.cc42 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
63 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
83 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
103 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/common/
Dpass_manager.cc92 const std::vector<PassPtr> &PassManager::Passes() const { return passes_; } in Passes()
94 void PassManager::AddPass(const PassPtr &pass) { in AddPass()
100 bool PassManager::RunPass(const FuncGraphPtr &func_graph, size_t pass_id, const PassPtr &pass) cons… in RunPass()
124 std::string PassManager::GetPassFullname(size_t pass_id, const PassPtr &pass) const { in GetPassFullname()
128 void PassManager::DumpPassIR(const FuncGraphPtr &func_graph, const std::string &pass_fullname) cons… in DumpPassIR()
144 bool PassManager::Run(const FuncGraphPtr &func_graph, const std::vector<PassPtr> &passes) const { in Run()
163 bool PassManager::Run(const FuncGraphPtr &func_graph) const { in Run()
Dpass_manager.h45 class PassManager {
47 explicit PassManager(const std::string &name = "pm", bool run_only_once = true)
49 virtual ~PassManager() = default;
77 using PassManagerPtr = std::shared_ptr<PassManager>;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Lanai/
DLanaiTargetMachine.cpp81 LanaiPassConfig(LanaiTargetMachine &TM, PassManagerBase *PassManager) in LanaiPassConfig() argument
82 : TargetPassConfig(TM, *PassManager) {} in LanaiPassConfig()
95 LanaiTargetMachine::createPassConfig(PassManagerBase &PassManager) { in createPassConfig() argument
96 return new LanaiPassConfig(*this, &PassManager); in createPassConfig()
/third_party/mindspore/tests/ut/cpp/pre_activate/pass/
Doptimize_dependence_test.cc43 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
63 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
84 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
105 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
/third_party/mindspore/mindspore/ccsrc/backend/optimizer/graph_kernel/
Dgraph_kernel_pass_manager.h29 class GraphKernelPassManager : public PassManager {
32 : PassManager(name, true), stage_(stage), flags_(context::GraphKernelFlags::GetInstance()) {} in GraphKernelPassManager()
48 using PassManagerPtr = std::shared_ptr<PassManager>;
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/enhancer/
Dgetnext_tensor_move_elimination_test.cc42 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
57 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
72 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
87 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
Dinsert_tensor_move_for_hccl_op_test.cc68 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
92 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
114 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
141 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
168 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DLegacyPassManager.h48 class PassManager : public PassManagerBase {
51 PassManager();
52 ~PassManager() override;
/third_party/mindspore/tests/ut/cpp/pre_activate/ascend/ir_fission/
Daddn_fission_test.cc47 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
72 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
97 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
122 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
147 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
Dconcat_fission_test.cc47 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
72 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
97 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
122 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
147 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
/third_party/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/
Dconstant_folding_fusion_test.cc374 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
387 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
400 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
413 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
427 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
442 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
456 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
470 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
484 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
498 auto pm = std::make_shared<opt::PassManager>(); in TEST_F()
[all …]
/third_party/flutter/skia/third_party/externals/spirv-tools/test/opt/
Dpass_manager_test.cpp40 TEST(PassManager, Interface) { in TEST() argument
41 opt::PassManager manager; in TEST()
153 TEST(PassManager, RecomputeIdBoundAutomatically) { in TEST() argument
157 opt::PassManager manager; in TEST()
/third_party/spirv-tools/test/opt/
Dpass_manager_test.cpp44 TEST(PassManager, Interface) { in TEST() argument
45 PassManager manager; in TEST()
157 TEST(PassManager, RecomputeIdBoundAutomatically) { in TEST() argument
158 PassManager manager; in TEST()
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dpass_manager_test.cpp44 TEST(PassManager, Interface) { in TEST() argument
45 PassManager manager; in TEST()
157 TEST(PassManager, RecomputeIdBoundAutomatically) { in TEST() argument
158 PassManager manager; in TEST()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/opt/
Dpass_manager_test.cpp44 TEST(PassManager, Interface) { in TEST() argument
45 PassManager manager; in TEST()
157 TEST(PassManager, RecomputeIdBoundAutomatically) { in TEST() argument
158 PassManager manager; in TEST()

123456