| 374 | } |
| 375 | |
| 376 | cg::OperatorNodeBase::NodeProp* LoopImpl::InputMaker::do_make_node_prop() const { |
| 377 | auto prop = Super::do_make_node_prop(); |
| 378 | if (m_param.has_assign) { |
| 379 | prop->add_flag(NodeProp::Flag::IMPURE_FUNC); |
| 380 | } else { |
| 381 | prop->add_flag(NodeProp::Flag::IMPURE_OUTPUT_MEM_PLAN); |
| 382 | } |
| 383 | return prop; |
| 384 | } |
| 385 | |
| 386 | void LoopImpl::InputMaker::init_output_mem_plan(bool dynamic) { |
| 387 | if (!m_param.has_assign) { |
nothing calls this directly
no test coverage detected