Searched refs:then_branch (Results 1 – 6 of 6) sorted by relevance
/third_party/mindspore/mindspore/lite/tools/converter/parser/tf/ |
D | functionalize_cond.cc | 182 … FunctionalizeCond::CreateNewIf(const FuncGraphPtr &else_branch, const FuncGraphPtr &then_branch) { in CreateNewIf() argument 184 MS_CHECK_TRUE_RET(then_branch != nullptr, nullptr); in CreateNewIf() 195 auto then_value_node = NewValueNode(then_branch); in CreateNewIf() 234 auto then_branch = CreateBranchGraph(merge_node_->input(2), then_branch_name, kThenBranch); in Process() local 235 if (then_branch == nullptr) { in Process() 244 status = IdentifySubgraphInput(then_branch, then_branch_name); in Process() 254 auto if_node = CreateNewIf(else_branch, then_branch); in Process()
|
D | functionalize_cond.h | 49 CNodePtr CreateNewIf(const FuncGraphPtr &else_branch, const FuncGraphPtr &then_branch);
|
/third_party/mesa3d/src/compiler/glsl/ |
D | ir_builder.cpp | 621 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()
|
D | ir_builder.h | 236 ir_instruction *then_branch); 238 ir_instruction *then_branch,
|
/third_party/mesa3d/src/panfrost/midgard/ |
D | midgard_compile.c | 2832 midgard_instruction *then_branch = mir_last_in_block(ctx->current_block); in emit_if() local 2833 then_branch->src[0] = mir_get_branch_cond(&nif->condition, &inv); in emit_if() 2834 then_branch->src_types[0] = nir_type_uint32; in emit_if() 2835 then_branch->branch.invert_conditional = !inv; in emit_if() 2861 then_branch->branch.target_block = after_else_idx; in emit_if() 2863 then_branch->branch.target_block = else_idx; in emit_if()
|
/third_party/mesa3d/src/panfrost/bifrost/ |
D | bifrost_compile.c | 2957 bi_instr *then_branch = bi_branchz_i16(&_b, in emit_if() local 2978 then_branch->branch_target = ctx->after_block; in emit_if() 2981 then_branch->branch_target = else_block; in emit_if() 2992 bi_block_add_successor(before_block, then_branch->branch_target); /* then_branch */ in emit_if()
|