Home
last modified time | relevance | path

Searched refs:then_branch (Results 1 – 25 of 1310) sorted by relevance

12345678910>>...53

/dports/audio/faust/faust-2.37.3/compiler/generator/
H A Dinstructions_complexity.hh129 InstComplexityVisitor then_branch; in visit() local
130 inst->fThen->accept(&then_branch); in visit()
137 fLoad += then_branch.fLoad; in visit()
138 fStore += then_branch.fStore; in visit()
139 fBinop += then_branch.fBinop; in visit()
140 fMathop += then_branch.fMathop; in visit()
141 fNumbers += then_branch.fNumbers; in visit()
142 fDeclare += then_branch.fDeclare; in visit()
143 fCast += then_branch.fCast; in visit()
144 fSelect += then_branch.fSelect; in visit()
[all …]
/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/pass/
H A Dpass_util.h150 TreeNodePtr then_branch; member
154 TreeNodePtr then_branch, in TreeBranchNode()
156 : cond(cond), then_branch(then_branch), else_branch(else_branch) {} in TreeBranchNode()
160 TreeNodePtr then_branch, in Make()
162 return std::make_shared<TreeBranchNode>(cond, then_branch, else_branch); in Make()
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/pass/
H A Dpass_util.h150 TreeNodePtr then_branch; member
154 TreeNodePtr then_branch, in TreeBranchNode()
156 : cond(cond), then_branch(then_branch), else_branch(else_branch) {} in TreeBranchNode()
160 TreeNodePtr then_branch, in Make()
162 return std::make_shared<TreeBranchNode>(cond, then_branch, else_branch); in Make()
/dports/devel/rust-analyzer/rust-analyzer-2021-12-20/crates/ide_assists/src/handlers/
H A Dunwrap_block.rs52 let then_branch = if_expr.then_branch()?; in unwrap_block() localVariable
53 if then_branch == block { in unwrap_block()
56 let ancestor_then_branch = ancestor.then_branch()?; in unwrap_block()
64 then_branch.syntax().text_range().end(), in unwrap_block()
72 update_expr_string_without_newline(then_branch.to_string()), in unwrap_block()
79 then_branch.syntax().text_range().end(), in unwrap_block()
/dports/lang/rust/rustc-1.58.1-src/src/tools/rust-analyzer/crates/ide_assists/src/handlers/
H A Dunwrap_block.rs52 let then_branch = if_expr.then_branch()?; in unwrap_block() localVariable
53 if then_branch == block { in unwrap_block()
56 let ancestor_then_branch = ancestor.then_branch()?; in unwrap_block()
64 then_branch.syntax().text_range().end(), in unwrap_block()
72 update_expr_string_without_newline(then_branch.to_string()), in unwrap_block()
79 then_branch.syntax().text_range().end(), in unwrap_block()
H A Dconvert_while_to_loop.rs64 let then_branch = make::block_expr( in convert_while_to_loop() localVariable
69 make::expr_if(make::condition(cond, None), then_branch, None) in convert_while_to_loop()
/dports/math/geogram/geogram-1.7.7/src/bin/fpg/
H A DAST.cpp148 Statement *then_branch, in ConditionalStatement() argument
150 ) : cond(cond), then_branch(then_branch), else_branch(else_branch) in ConditionalStatement()
152 CompoundStatement *compound = dynamic_cast<CompoundStatement*>( then_branch ); in ConditionalStatement()
155 slist->add( then_branch ); in ConditionalStatement()
156 this->then_branch = new CompoundStatement( slist ); in ConditionalStatement()
158 this->then_branch = compound; in ConditionalStatement()
185 return then_branch->hasBreakOrReturnOnExit() && in hasBreakOrReturnOnExit()
188 return then_branch->hasBreakOrReturnOnExit(); in hasBreakOrReturnOnExit()
343 …return update_location( this, new ConditionalStatement( cond->clone( context ), then_branch->clone… in clone()
/dports/misc/mxnet/incubator-mxnet-1.9.0/3rdparty/tvm/src/relay/transforms/
H A Dpass_util.h180 TreeObjectPtr then_branch; member
183 TreeBranchNode(ConditionObjectPtr cond, TreeObjectPtr then_branch, TreeObjectPtr else_branch) in TreeBranchNode()
184 : cond(cond), then_branch(then_branch), else_branch(else_branch) {} in TreeBranchNode()
186 static TreeObjectPtr Make(ConditionObjectPtr cond, TreeObjectPtr then_branch, in Make()
188 return std::make_shared<TreeBranchNode>(cond, then_branch, else_branch); in Make()
/dports/lang/swi-pl/swipl-8.2.3/packages/xpce/src/msg/
H A Dif.c46 assign(i, then_branch, if_true); in initialiseIf()
56 { if ( notNil(i->then_branch) ) in ExecuteIf()
57 return executeCode(i->then_branch) ? SUCCEED : FAIL; in ExecuteIf()
H A Dwhen.c43 assign(w, then_branch, when_true); in initialiseWhen()
53 return expandCodeArgument(w->then_branch); in getExecuteWhen()
/dports/misc/py-onnx-tf/onnx-tf-1.6.0/onnx_tf/handlers/backend/
H A Dif.py17 then_branch = node.attrs["then_branch"]
23 subgraph=then_branch,
27 return [subgraph_tensor_dict[o.name] for o in then_branch.output]
/dports/devel/tigcc/tigcc-0.96.b8_10/gnu/gcc-4.1-20060728/gcc/
H A Dgimple-low.c387 tree then_branch, else_branch; in lower_cond_expr() local
390 then_branch = COND_EXPR_THEN (stmt); in lower_cond_expr()
393 lower_stmt_body (then_branch, data); in lower_cond_expr()
396 then_goto = expr_only (then_branch); in lower_cond_expr()
414 if (TREE_SIDE_EFFECTS (then_branch)) in lower_cond_expr()
446 bool may_fallthru = block_may_fallthru (then_branch); in lower_cond_expr()
449 tsi_link_after (tsi, then_branch, TSI_CONTINUE_LINKING); in lower_cond_expr()
/dports/math/py-theano/Theano-1.0.5/theano/
H A Difelse.py291 def ifelse(condition, then_branch, else_branch, name=None): argument
330 if type(then_branch) is list:
332 elif type(then_branch) is tuple:
335 if type(then_branch) not in (list, tuple):
336 then_branch = [then_branch]
344 for then_branch_elem, else_branch_elem in izip(then_branch, else_branch):
380 if len(then_branch) != len(else_branch):
384 '%d' % len(then_branch) + ', variables on `else` '
387 new_ifelse = IfElse(n_outs=len(then_branch),
/dports/emulators/mess/mame-mame0226/3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/
H A Dir_builder.cpp545 ir_instruction *then_branch) in if_tree() argument
547 assert(then_branch != NULL); in if_tree()
552 result->then_instructions.push_tail(then_branch); in if_tree()
558 ir_instruction *then_branch, in if_tree() argument
561 assert(then_branch != NULL); in if_tree()
567 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/emulators/mame/mame-mame0226/3rdparty/bgfx/3rdparty/glsl-optimizer/src/glsl/
H A Dir_builder.cpp545 ir_instruction *then_branch) in if_tree() argument
547 assert(then_branch != NULL); in if_tree()
552 result->then_instructions.push_tail(then_branch); in if_tree()
558 ir_instruction *then_branch, in if_tree() argument
561 assert(then_branch != NULL); in if_tree()
567 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/graphics/mesa-devel/mesa-22.0-branchpoint-2059-ge8a63cf61ec/src/compiler/glsl/
H A Dir_builder.cpp608 ir_instruction *then_branch) in if_tree() argument
610 assert(then_branch != NULL); in if_tree()
615 result->then_instructions.push_tail(then_branch); in if_tree()
621 ir_instruction *then_branch, in if_tree() argument
624 assert(then_branch != NULL); in if_tree()
630 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/misc/py-tvm/incubator-tvm-0.6.1/src/relay/backend/vm/
H A Dcompiler.cc154 TreeNodePtr then_branch, in BuildDecisionTreeFromPattern() argument
158 return then_branch; in BuildDecisionTreeFromPattern()
163 return TreeBranchNode::Make(cond, then_branch, else_branch); in BuildDecisionTreeFromPattern()
170 then_branch = BuildDecisionTreeFromPattern(d, p, then_branch, else_branch); in BuildDecisionTreeFromPattern()
174 return TreeBranchNode::Make(cond, then_branch, else_branch); in BuildDecisionTreeFromPattern()
181 then_branch = BuildDecisionTreeFromPattern(d, p, then_branch, else_branch); in BuildDecisionTreeFromPattern()
184 return then_branch; in BuildDecisionTreeFromPattern()
689 CompileTreeNode(node->then_branch); in CompileTreeNode()
705 CompileTreeNode(node->then_branch); in CompileTreeNode()
/dports/misc/tvm/incubator-tvm-0.6.1/src/relay/backend/vm/
H A Dcompiler.cc154 TreeNodePtr then_branch, in BuildDecisionTreeFromPattern() argument
158 return then_branch; in BuildDecisionTreeFromPattern()
163 return TreeBranchNode::Make(cond, then_branch, else_branch); in BuildDecisionTreeFromPattern()
170 then_branch = BuildDecisionTreeFromPattern(d, p, then_branch, else_branch); in BuildDecisionTreeFromPattern()
174 return TreeBranchNode::Make(cond, then_branch, else_branch); in BuildDecisionTreeFromPattern()
181 then_branch = BuildDecisionTreeFromPattern(d, p, then_branch, else_branch); in BuildDecisionTreeFromPattern()
184 return then_branch; in BuildDecisionTreeFromPattern()
689 CompileTreeNode(node->then_branch); in CompileTreeNode()
705 CompileTreeNode(node->then_branch); in CompileTreeNode()
/dports/www/firefox/firefox-99.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/lang/clover/mesa-21.3.6/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/graphics/libosmesa-gallium/mesa-21.3.6/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/graphics/mesa-libs/mesa-21.3.6/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/www/firefox-esr/firefox-91.8.0/third_party/rust/glslopt/glsl-optimizer/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()
/dports/graphics/mesa-gallium-va/mesa-21.3.6/src/compiler/glsl/
H A Dir_builder.cpp621 ir_instruction *then_branch) in if_tree() argument
623 assert(then_branch != NULL); in if_tree()
628 result->then_instructions.push_tail(then_branch); in if_tree()
634 ir_instruction *then_branch, in if_tree() argument
637 assert(then_branch != NULL); in if_tree()
643 result->then_instructions.push_tail(then_branch); in if_tree()

12345678910>>...53