Home
last modified time | relevance | path

Searched refs:op_node (Results 1 – 25 of 123) sorted by relevance

12345

/dports/www/chromium-legacy/chromium-88.0.4324.182/tools/gn/src/gn/
H A Doperators.cc27 const BinaryOpNode* op_node,
210 Err result(op_node->left()->GetRange(), in MakeOverwriteError()
338 Value ExecutePlus(const BinaryOpNode* op_node, in ExecutePlus() argument
446 op_node); in ExecutePlusEquals()
457 op_node); in ExecutePlusEquals()
503 dest->SetValue(ExecuteMinus(op_node, *existing_value, right, err), op_node); in ExecuteMinusEquals()
519 return Value(op_node, true); in ExecuteEqualsEquals()
520 return Value(op_node, false); in ExecuteEqualsEquals()
588 const BinaryOpNode* op_node, in ExecuteOr() argument
618 const BinaryOpNode* op_node, in ExecuteAnd() argument
[all …]
/dports/devel/gn/gn-1962/src/gn/
H A Doperators.cc27 const BinaryOpNode* op_node,
210 Err result(op_node->left()->GetRange(), in MakeOverwriteError()
338 Value ExecutePlus(const BinaryOpNode* op_node, in ExecutePlus() argument
446 op_node); in ExecutePlusEquals()
457 op_node); in ExecutePlusEquals()
503 dest->SetValue(ExecuteMinus(op_node, *existing_value, right, err), op_node); in ExecuteMinusEquals()
519 return Value(op_node, true); in ExecuteEqualsEquals()
520 return Value(op_node, false); in ExecuteEqualsEquals()
588 const BinaryOpNode* op_node, in ExecuteOr() argument
618 const BinaryOpNode* op_node, in ExecuteAnd() argument
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/gn/tools/gn/
H A Doperators.cc29 const BinaryOpNode* op_node,
229 Err result(op_node->left()->GetRange(), in MakeOverwriteError()
367 Value ExecutePlus(const BinaryOpNode* op_node, in ExecutePlus() argument
475 op_node); in ExecutePlusEquals()
486 op_node); in ExecutePlusEquals()
544 dest->SetValue(ExecuteMinus(op_node, *existing_value, right, err), op_node); in ExecuteMinusEquals()
560 return Value(op_node, true); in ExecuteEqualsEquals()
561 return Value(op_node, false); in ExecuteEqualsEquals()
629 const BinaryOpNode* op_node, in ExecuteOr() argument
659 const BinaryOpNode* op_node, in ExecuteAnd() argument
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/node/
H A Ddeg_node_component.cc122 node = op_node; in find_operation()
177 if (!op_node) { in add_operation()
193 op_node); in add_operation()
200 op_node->name = name; in add_operation()
203 return op_node; in add_operation()
222 delete op_node; in clear_operations()
227 delete op_node; in clear_operations()
258 op_node = tmp; in get_entry_operation()
262 return op_node; in get_entry_operation()
279 op_node = tmp; in get_exit_operation()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/
H A Ddepsgraph_query_foreach.cc89 queue.push_back(op_node); in deg_foreach_dependent_operation()
90 scheduled.add(op_node); in deg_foreach_dependent_operation()
96 OperationNode *op_node = queue.front(); in deg_foreach_dependent_operation() local
99 callback(op_node, user_data); in deg_foreach_dependent_operation()
101 if (op_node->outlinks.size() == 1) { in deg_foreach_dependent_operation()
105 op_node = to_node; in deg_foreach_dependent_operation()
135 ComponentNode *comp_node = op_node->owner; in deg_foreach_dependent_component_callback()
211 queue.push_back(op_node); in deg_foreach_ancestor_ID()
212 scheduled.add(op_node); in deg_foreach_ancestor_ID()
232 if (op_node->inlinks.size() == 1) { in deg_foreach_ancestor_ID()
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/builder/
H A Ddeg_builder_nodes_rig.cc149 OperationNode *op_node; in build_rig() local
196 op_node->set_as_entry(); in build_rig()
212 op_node->set_as_exit(); in build_rig()
217 op_node = add_operation_node( in build_rig()
219 op_node->set_as_entry(); in build_rig()
246 op_node->set_as_exit(); in build_rig()
295 OperationNode *op_node; in build_proxy_rig() local
310 op_node->set_as_entry(); in build_proxy_rig()
316 op_node->set_as_entry(); in build_proxy_rig()
326 op_node->set_as_exit(); in build_proxy_rig()
[all …]
H A Ddeg_builder.cc165 op_node->custom_flags = 0; in deg_graph_build_flush_visibility()
166 op_node->num_links_pending = 0; in deg_graph_build_flush_visibility()
167 for (Relation *rel : op_node->outlinks) { in deg_graph_build_flush_visibility()
169 ++op_node->num_links_pending; in deg_graph_build_flush_visibility()
172 if (op_node->num_links_pending == 0) { in deg_graph_build_flush_visibility()
173 BLI_stack_push(stack, &op_node); in deg_graph_build_flush_visibility()
174 op_node->custom_flags |= DEG_NODE_VISITED; in deg_graph_build_flush_visibility()
178 OperationNode *op_node; in deg_graph_build_flush_visibility() local
179 BLI_stack_pop(stack, &op_node); in deg_graph_build_flush_visibility()
181 for (Relation *rel : op_node->inlinks) { in deg_graph_build_flush_visibility()
[all …]
H A Ddeg_builder_nodes.cc215 if (op_node == nullptr) { in add_operation_node()
224 op_node); in add_operation_node()
227 return op_node; in add_operation_node()
814 OperationNode *op_node; in build_object_transform() local
848 op_node->set_as_exit(); in build_object_transform()
1043 OperationNode *op_node; in build_parameters() local
1051 op_node->set_as_exit(); in build_parameters()
1185 OperationNode *op_node; in build_particle_systems() local
1223 op_node->set_as_exit(); in build_particle_systems()
1238 OperationNode *op_node; in build_particle_settings() local
[all …]
H A Ddeg_builder_remove_noop.cc39 static inline bool is_unused_noop(OperationNode *op_node) in is_unused_noop() argument
41 if (op_node == nullptr) { in is_unused_noop()
44 if (op_node->flag & OperationFlag::DEPSOP_FLAG_PINNED) { in is_unused_noop()
47 return op_node->is_noop() && op_node->outlinks.is_empty(); in is_unused_noop()
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/eval/
H A Ddeg_eval_flush.cc119 for (OperationNode *op_node : graph->entry_tags) { in flush_schedule_entrypoints()
120 queue->push_back(op_node); in flush_schedule_entrypoints()
121 op_node->scheduled = true; in flush_schedule_entrypoints()
174 if (op_node->flag & DEPSOP_FLAG_USER_MODIFIED) { in flush_schedule_children()
175 IDNode *id_node = op_node->owner->owner; in flush_schedule_children()
180 for (Relation *rel : op_node->outlinks) { in flush_schedule_children()
379 OperationNode *op_node = queue.front(); in deg_graph_flush_updates() local
381 while (op_node != nullptr) { in deg_graph_flush_updates()
383 op_node->flag |= DEPSOP_FLAG_NEEDS_UPDATE; in deg_graph_flush_updates()
385 ComponentNode *comp_node = op_node->owner; in deg_graph_flush_updates()
[all …]
H A Ddeg_eval_stats.cc50 for (OperationNode *op_node : graph->operations) { in deg_eval_stats_aggregate()
51 ComponentNode *comp_node = op_node->owner; in deg_eval_stats_aggregate()
53 id_node->stats.current_time += op_node->stats.current_time; in deg_eval_stats_aggregate()
54 comp_node->stats.current_time += op_node->stats.current_time; in deg_eval_stats_aggregate()
/dports/science/py-chainer/chainer-7.8.0/chainerx_cc/chainerx/
H A Dbackward.cc116 if (op_node != nullptr) { in CreateSubgraph()
124 OpNode* op_node = candidate_op_nodes.back(); in CreateSubgraph() local
163 OpNode* op_node = it_op_node->second; in CreateSubgraph() local
166 flags.resize(op_node->input_array_node_count()); in CreateSubgraph()
295 op_node->Unchain(); in Run()
327 CHAINERX_ASSERT(op_node != nullptr); in ComputeInputGradients()
371 input_grads.resize(op_node->input_array_node_count()); in ComputeInputGradients()
422 output_array_node_keeper_.erase(op_node.get()); in ComputeInputGradients()
429 const std::shared_ptr<OpNode>& op_node, in CallBackwardForSubsetOfInputGradients() argument
440 BackwardContext bctx{op_node, in CallBackwardForSubsetOfInputGradients()
[all …]
H A Dop_node.cc28 CHAINERX_ASSERT(output_array_node_index < op_node->output_array_node_count()); in FabricateOutputArrayNode()
29 CHAINERX_ASSERT(op_node->output_array_nodes()[output_array_node_index].has_value()); in FabricateOutputArrayNode()
30 CHAINERX_ASSERT(op_node->output_array_nodes()[output_array_node_index]->expired()); in FabricateOutputArrayNode()
32 const ArrayProps& props = op_node->GetOutputArrayProps(output_array_node_index); in FabricateOutputArrayNode()
37 output_array_node->set_creator_op_node(std::move(op_node)); in FabricateOutputArrayNode()
55 op_node->output_array_props_.emplace_back(*out_body); in CreateWithOutputArrayNodes()
59 op_node->output_array_nodes_.emplace_back(output_array_node); in CreateWithOutputArrayNodes()
60 output_array_node->set_creator_op_node(op_node); in CreateWithOutputArrayNodes()
62 op_node->output_array_nodes_.emplace_back(absl::nullopt); in CreateWithOutputArrayNodes()
65 op_node->AssertConsistency(); in CreateWithOutputArrayNodes()
[all …]
H A Dbackward_context.cc68 const std::shared_ptr<OpNode>& op_node, in BackwardContext() argument
74 : op_node_{op_node}, in BackwardContext()
80 CHAINERX_ASSERT(op_node.get() == &backward_entry.op_node());
82 CHAINERX_ASSERT(input_grads_.size() == op_node->input_array_node_count());
91 retained_input_array_bodies_.resize(op_node->input_array_node_count());
93 retained_output_array_bodies_.resize(op_node->output_array_node_count());
126 std::vector<const std::shared_ptr<ArrayNode>*> GetInputArrayNodesForIndex(const OpNode& op_node, si… in GetInputArrayNodesForIndex() argument
129 input_array_nodes.reserve(1 + op_node.outer_graphs_input_array_nodes().size()); in GetInputArrayNodesForIndex()
130 input_array_nodes.emplace_back(&op_node.input_array_nodes()[input_index]); in GetInputArrayNodesForIndex()
133 op_node.outer_graphs_input_array_nodes().begin(), in GetInputArrayNodesForIndex()
[all …]
/dports/textproc/p5-Perl-Critic/Perl-Critic-1.140/lib/Perl/Critic/Policy/RegularExpressions/
H A DProhibitUselessTopic.pm28 my $op_node = $elem->snext_sibling;
29 if ( $op_node && $op_node->isa('PPI::Token::Operator') ) {
31 my $op = $op_node->content;
33 my $target_node = $op_node->snext_sibling;
/dports/lang/ptoc/ptoc/
H A Dparser.y508 | expr OR expr { $$ = new op_node(tn_or, $1, $2, $3); }
512 | expr GT expr { $$ = new op_node(tn_gt, $1, $2, $3); }
513 | expr LT expr { $$ = new op_node(tn_lt, $1, $2, $3); }
514 | expr LE expr { $$ = new op_node(tn_le, $1, $2, $3); }
515 | expr GE expr { $$ = new op_node(tn_ge, $1, $2, $3); }
516 | expr EQ expr { $$ = new op_node(tn_eq, $1, $2, $3); }
517 | expr NE expr { $$ = new op_node(tn_ne, $1, $2, $3); }
518 | expr IN expr { $$ = new op_node(tn_in, $1, $2, $3); }
523 $$ = new op_node(tn_plus, NULL, $1, $2); }
525 { $$ = new op_node(tn_minus, NULL, $1, $2); }
[all …]
H A Dparser.cxx2308 … { (yyval.n_expr) = new op_node(tn_or, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2318 … { (yyval.n_expr) = new op_node(tn_gt, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2323 … { (yyval.n_expr) = new op_node(tn_lt, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2328 … { (yyval.n_expr) = new op_node(tn_le, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2333 … { (yyval.n_expr) = new op_node(tn_ge, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2338 … { (yyval.n_expr) = new op_node(tn_eq, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2343 … { (yyval.n_expr) = new op_node(tn_ne, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2348 … { (yyval.n_expr) = new op_node(tn_in, (yyvsp[-2].n_expr), (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2354 (yyval.n_expr) = new op_node(tn_plus, NULL, (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
2359 { (yyval.n_expr) = new op_node(tn_minus, NULL, (yyvsp[-1].tok), (yyvsp[0].n_expr)); ;}
[all …]
/dports/graphics/blender/blender-2.91.0/source/blender/depsgraph/intern/debug/
H A Ddeg_debug_relations_graphviz.cc126 OperationNode *op_node = (OperationNode *)node; in deg_debug_node_color_index() local
127 if (op_node->is_noop()) { in deg_debug_node_color_index()
225 OperationNode *op_node = (OperationNode *)node; in deg_debug_graphviz_node_color() local
226 if (op_node->flag & DEPSOP_FLAG_DIRECTLY_MODIFIED) { in deg_debug_graphviz_node_color()
229 else if (op_node->flag & DEPSOP_FLAG_NEEDS_UPDATE) { in deg_debug_graphviz_node_color()
247 OperationNode *op_node = (OperationNode *)node; in deg_debug_graphviz_node_penwidth() local
248 if (op_node->flag & DEPSOP_FLAG_DIRECTLY_MODIFIED) { in deg_debug_graphviz_node_penwidth()
251 else if (op_node->flag & DEPSOP_FLAG_NEEDS_UPDATE) { in deg_debug_graphviz_node_penwidth()
323 OperationNode *op_node = (OperationNode *)node; in deg_debug_graphviz_node_style() local
437 for (Node *op_node : comp_node->operations) { in deg_debug_graphviz_node()
[all …]
/dports/devel/godot-tools/godot-3.2.3-stable/drivers/gles2/
H A Dshader_compiler_gles2.cpp607 SL::OperatorNode *op_node = (SL::OperatorNode *)p_node; in _dump_node_code() local
609 switch (op_node->op) { in _dump_node_code()
622 code += _opstr(op_node->op); in _dump_node_code()
642 code += _opstr(op_node->op); in _dump_node_code()
649 code += _opstr(op_node->op); in _dump_node_code()
658 if (op_node->op == SL::OP_CONSTRUCT) { in _dump_node_code()
666 op_node->arguments[1]->get_datatype() == SL::TYPE_SAMPLEREXT) { in _dump_node_code()
683 switch (op_node->arguments[3]->get_datatype()) { in _dump_node_code()
706 SL::DataType type = op_node->arguments[3]->get_datatype(); in _dump_node_code()
723 for (int i = 1; i < op_node->arguments.size(); i++) { in _dump_node_code()
[all …]
/dports/devel/godot/godot-3.2.3-stable/drivers/gles2/
H A Dshader_compiler_gles2.cpp607 SL::OperatorNode *op_node = (SL::OperatorNode *)p_node; in _dump_node_code() local
609 switch (op_node->op) { in _dump_node_code()
622 code += _opstr(op_node->op); in _dump_node_code()
642 code += _opstr(op_node->op); in _dump_node_code()
649 code += _opstr(op_node->op); in _dump_node_code()
658 if (op_node->op == SL::OP_CONSTRUCT) { in _dump_node_code()
666 op_node->arguments[1]->get_datatype() == SL::TYPE_SAMPLEREXT) { in _dump_node_code()
683 switch (op_node->arguments[3]->get_datatype()) { in _dump_node_code()
706 SL::DataType type = op_node->arguments[3]->get_datatype(); in _dump_node_code()
723 for (int i = 1; i < op_node->arguments.size(); i++) { in _dump_node_code()
[all …]
/dports/textproc/p5-Perl-Critic/Perl-Critic-1.140/lib/Perl/Critic/Policy/BuiltinFunctions/
H A DProhibitUselessTopic.pm59 my $op_node = $elem->snext_sibling;
60 if ( $op_node && $op_node->isa('PPI::Token::Magic') ) {
61 my $op = $op_node->content;
/dports/net-mgmt/crmsh/crmsh-4.3.1/crmsh/
H A Dui_resource.py660 for op_node in op_nodes:
670 for op_node in op_nodes:
674 op_node = xmlutil.find_operation(rsc.node, op, interval)
675 if op_node is None and utils.crm_msec(interval) != 0:
677 if op_node is None:
713 def _remove_trace(self, rsc, op_node): argument
716 op_node = rsc.del_op_attr(op_node, constants.trace_ra_attr)
717 if rsc.is_dummy_operation(op_node):
718 rsc.del_operation(op_node)
739 if op_node is None:
[all …]
/dports/misc/glow/glow-f24d960e3cc80db95ac0bc17b1900dbf60ca044a/thirdparty/onnx/onnx/tools/
H A Dnet_drawer.py81 op_node = node_producer(op, op_id)
82 pydot_graph.add_node(op_node)
95 pydot_graph.add_edge(pydot.Edge(input_node, op_node))
107 pydot_graph.add_edge(pydot.Edge(op_node, output_node))
/dports/misc/py-onnx/onnx-1.10.2/onnx/tools/
H A Dnet_drawer.py83 op_node = node_producer(op, op_id)
84 pydot_graph.add_node(op_node)
97 pydot_graph.add_edge(pydot.Edge(input_node, op_node))
109 pydot_graph.add_edge(pydot.Edge(op_node, output_node))
/dports/devel/radare2/radare2-5.1.1/libr/anal/
H A Desil_dfg.c566 r_graph_add_edge (edf->flow, dst_node, op_node); in _edf_consume_2_set_reg()
567 r_graph_add_edge (edf->flow, src_node, op_node); in _edf_consume_2_set_reg()
574 r_graph_add_edge (edf->flow, op_node, dst_node); in _edf_consume_2_set_reg()
684 r_graph_add_edge (edf->flow, src_node, op_node); in edf_consume_1_push_1()
758 r_graph_add_edge (edf->flow, dst_node, op_node); in edf_consume_2_set_mem()
759 r_graph_add_edge (edf->flow, src_node, op_node); in edf_consume_2_set_mem()
765 r_graph_add_edge (edf->flow, op_node, dst_node); in edf_consume_2_set_mem()
786 r_graph_add_edge (edf->flow, latest_new, op_node); in edf_use_new_push_1()
820 r_graph_add_edge (edf->flow, src_node, op_node); in edf_consume_1_use_old_new_push_1()
836 r_graph_add_edge (edf->flow, latest_new, op_node); in edf_consume_1_use_old_new_push_1()
[all …]

12345