Searched refs:SquareSumFusion (Results 1 – 6 of 6) sorted by relevance
23 class SquareSumFusion : public PatternProcessPass {25 …explicit SquareSumFusion(bool multigraph = true) : PatternProcessPass("square_sum_fusion", multigr…26 ~SquareSumFusion() override = default;
93 const BaseRef SquareSumFusion::DefinePattern() const { in DefinePattern()99 const AnfNodePtr SquareSumFusion::Process(const FuncGraphPtr &graph, const AnfNodePtr &node, const … in Process()103 if (!LicManager::GetInstance().GetPassSwitch(OptPassEnum::SquareSumFusion)) { in Process()
45 pm->AddPass(std::make_shared<opt::SquareSumFusion>()); in TEST_F()65 pm->AddPass(std::make_shared<opt::SquareSumFusion>()); in TEST_F()
30 SquareSumFusion, enumerator
38 {std::to_string(27), OptPassEnum::SquareSumFusion},
170 ir_fusion_pm->AddPass(std::make_shared<SquareSumFusion>()); in AddAscendIRFusionRulesPass()