Home
last modified time | relevance | path

Searched refs:continue_block (Results 1 – 25 of 37) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_dead_continue.cpp83 auto continue_block = in IsApplicable() local
86 if (!ir_context->IsReachable(*ir_context->cfg()->block(continue_block))) { in IsApplicable()
99 if (ir_context->GetStructuredCFGAnalysis()->IsMergeBlock(continue_block)) { in IsApplicable()
108 ir_context->cfg()->block(continue_block), in IsApplicable()
118 ir_context, message_.from_block(), continue_block, bool_id)); in IsApplicable()
125 auto continue_block = in Apply() local
130 assert(continue_block && "message_.from_block must be in a loop."); in Apply()
132 ir_context, bb_from, ir_context->cfg()->block(continue_block), in Apply()
Dfuzzer_pass_add_dead_continues.cpp49 auto* continue_block = in Apply() local
51 assert(continue_block && "Continue block is null"); in Apply()
58 if (!block.IsSuccessor(continue_block)) { in Apply()
59 continue_block->ForEachPhiInst([this, &phi_ids](opt::Instruction* phi) { in Apply()
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/
Dtransformation_add_dead_continue.cpp83 auto continue_block = in IsApplicable() local
86 if (!ir_context->IsReachable(*ir_context->cfg()->block(continue_block))) { in IsApplicable()
99 if (ir_context->GetStructuredCFGAnalysis()->IsMergeBlock(continue_block)) { in IsApplicable()
108 ir_context->cfg()->block(continue_block), in IsApplicable()
118 ir_context, message_.from_block(), continue_block, bool_id)); in IsApplicable()
125 auto continue_block = in Apply() local
130 assert(continue_block && "message_.from_block must be in a loop."); in Apply()
132 ir_context, bb_from, ir_context->cfg()->block(continue_block), in Apply()
Dfuzzer_pass_add_dead_continues.cpp49 auto* continue_block = in Apply() local
51 assert(continue_block && "Continue block is null"); in Apply()
58 if (!block.IsSuccessor(continue_block)) { in Apply()
59 continue_block->ForEachPhiInst([this, &phi_ids](opt::Instruction* phi) { in Apply()
/third_party/spirv-tools/source/fuzz/
Dtransformation_add_dead_continue.cpp83 auto continue_block = in IsApplicable() local
87 ir_context, ir_context->cfg()->block(continue_block))) { in IsApplicable()
100 if (ir_context->GetStructuredCFGAnalysis()->IsMergeBlock(continue_block)) { in IsApplicable()
109 ir_context->cfg()->block(continue_block), in IsApplicable()
119 ir_context, message_.from_block(), continue_block, bool_id)); in IsApplicable()
126 auto continue_block = in Apply() local
131 assert(continue_block && "message_.from_block must be in a loop."); in Apply()
133 ir_context, bb_from, ir_context->cfg()->block(continue_block), in Apply()
Dfuzzer_pass_add_dead_continues.cpp48 auto* continue_block = in Apply() local
50 assert(continue_block && "Continue block is null"); in Apply()
57 if (!block.IsSuccessor(continue_block)) { in Apply()
58 continue_block->ForEachPhiInst([this, &phi_ids](opt::Instruction* phi) { in Apply()
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/asm/frag/
Dimplicit-read-dep-phi.asm.frag55 %phi = OpPhi %float %float_1 %5 %phi_plus_2 %continue_block
56 %tex_phi = OpPhi %v4float %float_1_vec %5 %texture_load_result %continue_block
57 OpLoopMerge %merge_block %continue_block None
69 OpBranchConditional %31 %continue_block %merge_block
70 %continue_block = OpLabel
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/asm/frag/
Dimplicit-read-dep-phi.asm.frag55 %phi = OpPhi %float %float_1 %5 %phi_plus_2 %continue_block
56 %tex_phi = OpPhi %v4float %float_1_vec %5 %texture_load_result %continue_block
57 OpLoopMerge %merge_block %continue_block None
69 OpBranchConditional %31 %continue_block %merge_block
70 %continue_block = OpLabel
/third_party/skia/third_party/externals/spirv-cross/shaders/asm/frag/
Dimplicit-read-dep-phi.asm.frag55 %phi = OpPhi %float %float_1 %5 %phi_plus_2 %continue_block
56 %tex_phi = OpPhi %v4float %float_1_vec %5 %texture_load_result %continue_block
57 OpLoopMerge %merge_block %continue_block None
69 OpBranchConditional %31 %continue_block %merge_block
70 %continue_block = OpLabel
/third_party/mesa3d/src/compiler/nir/
Dnir_opt_if.c256 nir_block *continue_block = find_continue_block(loop); in opt_peel_loop_initial_if() local
259 nir_instr *last_instr = nir_block_last_instr(continue_block); in opt_peel_loop_initial_if()
265 nir_after_block_before_jump(continue_block)); in opt_peel_loop_initial_if()
410 nir_block *continue_block = find_continue_block(loop); in opt_split_alu_of_phi() local
411 if (continue_block == header_block) in opt_split_alu_of_phi()
514 b->cursor = nir_after_block_before_jump(continue_block); in opt_split_alu_of_phi()
524 nir_phi_instr_add_src(phi, continue_block, nir_src_for_ssa(alu_copy)); in opt_split_alu_of_phi()
678 nir_block *continue_block = find_continue_block(loop); in opt_simplify_bcsel_of_phi() local
684 nir_phi_instr_add_src(phi, continue_block, in opt_simplify_bcsel_of_phi()
686 continue_block)->src); in opt_simplify_bcsel_of_phi()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dloop_fusion.cpp87 auto continue_block = loop->GetContinueBlock()->id(); in UsedInContinueOrConditionBlock() local
90 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_descriptor.cpp286 void Loop::SetContinueBlock(BasicBlock* continue_block) { in SetContinueBlock() argument
287 assert(IsInsideLoop(continue_block)); in SetContinueBlock()
288 loop_continue_ = continue_block; in SetContinueBlock()
Dloop_descriptor.h104 void SetContinueBlock(BasicBlock* continue_block);
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_fusion.cpp87 auto continue_block = loop->GetContinueBlock()->id(); in UsedInContinueOrConditionBlock() local
90 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_descriptor.cpp286 void Loop::SetContinueBlock(BasicBlock* continue_block) { in SetContinueBlock() argument
287 assert(IsInsideLoop(continue_block)); in SetContinueBlock()
288 loop_continue_ = continue_block; in SetContinueBlock()
Dloop_descriptor.h104 void SetContinueBlock(BasicBlock* continue_block);
/third_party/spirv-tools/source/opt/
Dloop_fusion.cpp87 auto continue_block = loop->GetContinueBlock()->id(); in UsedInContinueOrConditionBlock() local
90 [this, condition_block, continue_block](Instruction* instruction) { in UsedInContinueOrConditionBlock()
92 return block_id != condition_block && block_id != continue_block; in UsedInContinueOrConditionBlock()
Dloop_descriptor.cpp286 void Loop::SetContinueBlock(BasicBlock* continue_block) { in SetContinueBlock() argument
287 assert(IsInsideLoop(continue_block)); in SetContinueBlock()
288 loop_continue_ = continue_block; in SetContinueBlock()
Dloop_descriptor.h104 void SetContinueBlock(BasicBlock* continue_block);
/third_party/flutter/skia/third_party/externals/spirv-tools/source/
Dvalidate_cfg.cpp366 uint32_t continue_block = inst->words[inst->operands[1].offset]; in CfgPass() local
370 continue_block)) in CfgPass()
/third_party/mesa3d/src/asahi/compiler/
Dagx_compile.c1021 agx_block_add_successor(ctx->current_block, ctx->continue_block); in agx_emit_jump()
1214 agx_block *popped_continue = ctx->continue_block; in emit_loop()
1217 ctx->continue_block = agx_create_block(ctx); in emit_loop()
1225 agx_block_add_successor(ctx->current_block, ctx->continue_block); in emit_loop()
1228 ctx->after_block = ctx->continue_block; in emit_loop()
1238 agx_block_add_successor(ctx->current_block, ctx->continue_block); in emit_loop()
1243 ctx->continue_block = popped_continue; in emit_loop()
/third_party/skia/third_party/externals/spirv-cross/
Dspirv_parser.cpp1066 current_block->continue_block = ops[1]; in parse()
1072 ir.continue_block_to_loop_header[current_block->continue_block] = BlockID(current_block->self); in parse()
1077 if (current_block->continue_block != BlockID(current_block->self)) in parse()
1078 ir.block_meta[current_block->continue_block] |= ParsedIR::BLOCK_META_CONTINUE_BIT; in parse()
Dspirv_glsl.cpp14172 string CompilerGLSL::emit_continue_block(uint32_t continue_block, bool follow_true_block, bool foll… in emit_continue_block() argument
14174 auto *block = &get<SPIRBlock>(continue_block); in emit_continue_block()
14195 flush_phi(continue_block, block->next_block); in emit_continue_block()
14201 flush_phi(continue_block, block->true_block); in emit_continue_block()
14206 flush_phi(continue_block, block->false_block); in emit_continue_block()
14341 …Block::ContinueBlockType continue_type = continue_block_type(get<SPIRBlock>(block.continue_block)); in attempt_emit_loop_header()
14375 auto continue_block = emit_continue_block(block.continue_block, false, false); in attempt_emit_loop_header() local
14376 statement("for (", initializer, "; ", condition, "; ", continue_block, ")"); in attempt_emit_loop_header()
14453 auto continue_block = emit_continue_block(block.continue_block, false, false); in attempt_emit_loop_header() local
14455 statement("for (", initializer, "; ", condition, "; ", continue_block, ")"); in attempt_emit_loop_header()
[all …]
Dspirv_cross.hpp686 return block.merge == SPIRBlock::MergeLoop && block.continue_block == ID(next); in is_single_block_loop()
730 SPIRBlock::ContinueBlockType continue_block_type(const SPIRBlock &continue_block) const;
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_cfg.cpp952 uint32_t continue_block = inst->GetOperandAs<uint32_t>(1); in CfgPass() local
956 continue_block)) in CfgPass()

12