Home
last modified time | relevance | path

Searched refs:true_block (Results 1 – 20 of 20) sorted by relevance

/third_party/skia/third_party/externals/spirv-cross/
Dspirv_cfg.cpp131 if (post_order_visit(block.true_block)) in post_order_visit()
132 add_branch(block_id, block.true_block); in post_order_visit()
309 auto &true_block = compiler.get<SPIRBlock>(dom.true_block); in node_terminates_control_flow_in_sub_graph() local
312 true_path_ignore = compiler.execution_is_branchless(true_block, ignore_block); in node_terminates_control_flow_in_sub_graph()
319 (dom.terminator == SPIRBlock::Select && dom.true_block == to && false_path_ignore) || in node_terminates_control_flow_in_sub_graph()
381 if (cfg.get_visit_order(block.true_block) > post_order) in lift_continue_block_dominator()
Dspirv_cross.cpp1436 const auto *true_block = maybe_get<SPIRBlock>(block.true_block); in block_is_loop_candidate() local
1442 bool true_block_is_merge = block.true_block == block.merge_block || in block_is_loop_candidate()
1443 … (true_block && merge_block && execution_is_noop(*true_block, *merge_block)); in block_is_loop_candidate()
1446 … block.true_block != block.merge_block && block.true_block != block.self && false_block_is_merge; in block_is_loop_candidate()
1455 ret = block.true_block == block.continue_block; in block_is_loop_candidate()
1488 const auto *true_block = maybe_get<SPIRBlock>(child.true_block); in block_is_loop_candidate() local
1494 bool true_block_is_merge = child.true_block == block.merge_block || in block_is_loop_candidate()
1495 … (true_block && merge_block && execution_is_noop(*true_block, *merge_block)); in block_is_loop_candidate()
1498 … child.true_block != block.merge_block && child.true_block != block.self && false_block_is_merge; in block_is_loop_candidate()
1602 const auto *true_block = maybe_get<SPIRBlock>(block.true_block); in continue_block_type() local
[all …]
Dspirv_glsl.cpp14127 void CompilerGLSL::branch(BlockID from, uint32_t cond, BlockID true_block, BlockID false_block) in branch() argument
14133 bool true_block_needs_code = true_block != merge_block || flush_phi_required(from, true_block); in branch()
14148 branch(from, true_block); in branch()
14199 else if (block->true_block && follow_true_block) in emit_continue_block()
14201 flush_phi(continue_block, block->true_block); in emit_continue_block()
14202 block = &get<SPIRBlock>(block->true_block); in emit_continue_block()
14369 if (execution_is_noop(get<SPIRBlock>(block.true_block), get<SPIRBlock>(block.merge_block))) in attempt_emit_loop_header()
14392 if (execution_is_noop(get<SPIRBlock>(block.true_block), get<SPIRBlock>(block.merge_block))) in attempt_emit_loop_header()
14435 uint32_t target_block = child.true_block; in attempt_emit_loop_header()
14447 if (execution_is_noop(get<SPIRBlock>(child.true_block), get<SPIRBlock>(block.merge_block))) in attempt_emit_loop_header()
[all …]
Dspirv_parser.cpp960 current_block->true_block = ops[1]; in parse()
Dspirv_common.hpp809 BlockID true_block = 0; member
Dspirv_glsl.hpp619 void branch(BlockID from, uint32_t cond, BlockID true_block, BlockID false_block);
/third_party/node/deps/v8/src/compiler/
Draw-machine-assembler.cc182 BasicBlock* true_block = block->SuccessorAt(0); in OptimizeControlFlow() local
184 DCHECK_EQ(true_block->NodeAt(0)->opcode(), IrOpcode::kIfTrue); in OptimizeControlFlow()
186 (*true_block->begin())->Kill(); in OptimizeControlFlow()
187 true_block->RemoveNode(true_block->begin()); in OptimizeControlFlow()
190 true_block->ClearPredecessors(); in OptimizeControlFlow()
208 schedule->AddGoto(new_true_block, true_block); in OptimizeControlFlow()
546 BasicBlock* true_block = schedule()->NewBasicBlock(); in Branch() local
548 schedule()->AddBranch(CurrentBlock(), branch, true_block, false_block); in Branch()
550 true_block->AddNode(MakeNode(common()->IfTrue(), 1, &branch)); in Branch()
551 schedule()->AddGoto(true_block, Use(true_val)); in Branch()
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
Dlp_bld_flow.c419 ifthen->true_block = in lp_build_if()
425 LLVMPositionBuilderAtEnd(gallivm->builder, ifthen->true_block); in lp_build_if()
471 ifthen->true_block, ifthen->false_block); in lp_build_endif()
476 ifthen->true_block, ifthen->merge_block); in lp_build_endif()
Dlp_bld_flow.h186 LLVMBasicBlockRef true_block; member
Dlp_bld_coro.c197 LLVMAddIncoming(phi, &alloc_mem, &if_state_coro.true_block, 1); in lp_build_coro_begin_alloc_mem()
/third_party/node/deps/v8/src/compiler/backend/
Dinstruction-selector.h52 BasicBlock* true_block, in ForBranch() argument
54 return FlagsContinuation(kFlags_branch, condition, true_block, false_block); in ForBranch()
125 BasicBlock* true_block() const { in true_block() function
191 BasicBlock* true_block, BasicBlock* false_block) in FlagsContinuation() argument
194 true_block_(true_block), in FlagsContinuation()
197 DCHECK_NOT_NULL(true_block); in FlagsContinuation()
Dinstruction-selector.cc435 cont->true_block()->PredecessorAt(0)->control_input()) in GetEffectLevel()
854 continuation_inputs_.push_back(g.Label(cont->true_block())); in EmitWithContinuation()
/third_party/node/deps/v8/src/torque/
Dimplementation-visitor.cc787 Block* true_block = assembler().NewBlock(assembler().CurrentStack()); in Visit() local
791 GenerateExpressionBranch(expr->condition, true_block, false_block); in Visit()
801 assembler().Bind(true_block); in Visit()
842 Block* true_block = assembler().NewBlock(); in Visit() local
847 GenerateBranch(left_result, true_block, false_block); in Visit()
849 assembler().Bind(true_block); in Visit()
883 Block* true_block = assembler().NewBlock(); in Visit() local
888 GenerateBranch(left_result, true_block, false_block); in Visit()
890 assembler().Bind(true_block); in Visit()
1057 Block* true_block = assembler().NewBlock(); in Visit() local
[all …]
Dimplementation-visitor.h749 void GenerateBranch(const VisitResult& condition, Block* true_block,
754 void GenerateExpressionBranch(Expression* expression, Block* true_block,
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_module.h442 unsigned true_block, unsigned false_block);
Ddxil_module.c2708 unsigned true_block, unsigned false_block) in dxil_emit_branch() argument
2718 instr->br.succ[0] = true_block; in dxil_emit_branch()
Dnir_to_dxil.c4526 int true_block, int false_block) in emit_cond_branch() argument
4529 assert(true_block >= 0); in emit_cond_branch()
4531 return dxil_emit_branch(&ctx->mod, cond, true_block, false_block); in emit_cond_branch()
/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder.cc3498 auto true_block = result_op(); in GenerateConditionalBlock() local
3499 auto true_block_id = true_block.to_i(); in GenerateConditionalBlock()
/third_party/node/deps/v8/src/compiler/backend/arm64/
Dinstruction-selector-arm64.cc2956 g.UseRegister(value), g.Label(cont->true_block()), in VisitWordCompareZero()
/third_party/node/deps/v8/src/compiler/backend/x64/
Dinstruction-selector-x64.cc752 inputs[input_count++] = g.Label(cont->true_block()); in VisitBinop()