Home
last modified time | relevance | path

Searched refs:if_block (Results 1 – 17 of 17) sorted by relevance

/external/mesa3d/src/intel/compiler/
Dbrw_dead_control_flow.cpp65 bblock_t *const if_block = prev_block; in dead_control_flow_eliminate() local
71 if (if_block->start_ip == if_block->end_ip) { in dead_control_flow_eliminate()
72 earlier_block = if_block->prev(); in dead_control_flow_eliminate()
74 earlier_block = if_block; in dead_control_flow_eliminate()
76 if_inst->remove(if_block); in dead_control_flow_eliminate()
Dbrw_predicated_break.cpp82 bblock_t *if_block = jump_block->prev(); in opt_predicated_break() local
88 bblock_t *earlier_block = if_block; in opt_predicated_break()
89 if (if_block->start_ip == if_block->end_ip) { in opt_predicated_break()
90 earlier_block = if_block->prev(); in opt_predicated_break()
93 if_inst->remove(if_block); in opt_predicated_break()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp232 BasicBlock* if_block = loop_->GetPreHeaderBlock(); in PerformUnswitch() local
236 CreateBasicBlock(++FindBasicBlockPosition(if_block)); in PerformUnswitch()
242 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
245 if (Loop* ploop = loop_desc_[if_block]) { in PerformUnswitch()
253 cfg.AddEdge(if_block->id(), loop_pre_header->id()); in PerformUnswitch()
257 [loop_pre_header, if_block](Instruction* phi) { in PerformUnswitch()
258 phi->ForEachInId([loop_pre_header, if_block](uint32_t* id) { in PerformUnswitch()
259 if (*id == if_block->id()) { in PerformUnswitch()
269 DominatorTreeNode* if_block_dtn = dom_tree->GetTreeNode(if_block); in PerformUnswitch()
390 ++FindBasicBlockPosition(if_block)); in PerformUnswitch()
[all …]
Dloop_peeling.cpp398 BasicBlock* if_block = loop->GetOrCreatePreHeaderBlock(); in ProtectLoop() local
402 context_->KillInst(&*if_block->tail()); in ProtectLoop()
405 context_, if_block, in ProtectLoop()
411 return if_block; in ProtectLoop()
454 BasicBlock* if_block = in PeelBefore() local
458 [&clone_results, if_block, this](Instruction* phi) { in PeelBefore()
467 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {if_block->id()}}); in PeelBefore()
523 BasicBlock* if_block = ProtectLoop(cloned_loop_, has_remaining_iteration, in PeelAfter() local
533 [&clone_results, if_block, this](Instruction* phi) { in PeelAfter()
556 cloned_preheader_value, if_block->id()}); in PeelAfter()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_unswitch_pass.cpp201 BasicBlock* if_block = loop_->GetPreHeaderBlock(); in PerformUnswitch() local
205 CreateBasicBlock(++FindBasicBlockPosition(if_block)); in PerformUnswitch()
211 if_block->tail()->SetInOperand(0, {loop_pre_header->id()}); in PerformUnswitch()
214 if (Loop* ploop = loop_desc_[if_block]) { in PerformUnswitch()
222 cfg.AddEdge(if_block->id(), loop_pre_header->id()); in PerformUnswitch()
226 [loop_pre_header, if_block](Instruction* phi) { in PerformUnswitch()
227 phi->ForEachInId([loop_pre_header, if_block](uint32_t* id) { in PerformUnswitch()
228 if (*id == if_block->id()) { in PerformUnswitch()
238 DominatorTreeNode* if_block_dtn = dom_tree->GetTreeNode(if_block); in PerformUnswitch()
377 ++FindBasicBlockPosition(if_block)); in PerformUnswitch()
[all …]
Dloop_peeling.cpp398 BasicBlock* if_block = loop->GetOrCreatePreHeaderBlock(); in ProtectLoop() local
402 context_->KillInst(&*if_block->tail()); in ProtectLoop()
405 context_, if_block, in ProtectLoop()
411 return if_block; in ProtectLoop()
454 BasicBlock* if_block = in PeelBefore() local
458 [&clone_results, if_block, this](Instruction* phi) { in PeelBefore()
467 {spv_operand_type_t::SPV_OPERAND_TYPE_ID, {if_block->id()}}); in PeelBefore()
523 BasicBlock* if_block = ProtectLoop(cloned_loop_, has_remaining_iteration, in PeelAfter() local
533 [&clone_results, if_block, this](Instruction* phi) { in PeelAfter()
556 cloned_preheader_value, if_block->id()}); in PeelAfter()
/external/u-boot/scripts/kconfig/
Dzconf.y364 if_stmt: if_entry if_block if_end
367 if_block:
369 | if_block common_stmt
370 | if_block menu_stmt
371 | if_block choice_stmt
/external/tensorflow/tensorflow/compiler/xla/service/llvm_ir/
Dllvm_util.cc315 if_data.if_block = b->GetInsertBlock(); in EmitIfThenElse()
323 if (if_data.if_block->getTerminator() == nullptr) { in EmitIfThenElse()
324 b->SetInsertPoint(if_data.if_block); in EmitIfThenElse()
329 if_data.after_block = if_data.if_block->splitBasicBlock( in EmitIfThenElse()
335 if_data.if_block->getTerminator()->eraseFromParent(); in EmitIfThenElse()
337 b->SetInsertPoint(if_data.if_block); in EmitIfThenElse()
Dllvm_util.h193 llvm::BasicBlock* if_block; member
/external/mesa3d/src/gallium/drivers/freedreno/ir3/
Dir3_nir_lower_if_else.c159 flatten_block(nir_builder *bld, nir_block *if_block, nir_block *prev_block, in flatten_block() argument
162 nir_foreach_instr_safe(instr, if_block) { in flatten_block()
/external/v8/src/wasm/baseline/
Dliftoff-compiler.cc477 void If(FullDecoder* decoder, const Value& cond, Control* if_block) { in If() argument
478 DCHECK_EQ(if_block, decoder->control_at(0)); in If()
479 DCHECK(if_block->is_if()); in If()
481 if (if_block->start_merge.arity > 0 || if_block->end_merge.arity > 1) in If()
485 if_block->else_state = base::make_unique<ElseState>(); in If()
489 __ emit_cond_jump(kEqual, if_block->else_state->label.get(), kWasmI32, in If()
492 if_block->label_state.stack_base = __ cache_state()->stack_height(); in If()
494 if_block->else_state->state.Split(*__ cache_state()); in If()
1299 void Else(FullDecoder* decoder, Control* if_block) { in Else() argument
1300 if (if_block->reachable()) __ emit_jump(if_block->label.get()); in Else()
[all …]
/external/v8/src/wasm/
Dfunction-body-decoder.cc180 void If(FullDecoder* decoder, const Value& cond, Control* if_block) { in If() argument
189 if_block->end_env = end_env; in If()
190 if_block->false_env = false_env; in If()
337 void Else(FullDecoder* decoder, Control* if_block) { in Else() argument
338 SetEnv(if_block->false_env); in Else()
Dfunction-body-decoder-impl.h613 F(If, const Value& cond, Control* if_block) \
640 F(Else, Control* if_block) \
1549 auto* if_block = PushIf(); in DecodeFunctionBody() local
1550 SetBlockType(if_block, imm); in DecodeFunctionBody()
1551 CALL_INTERFACE_IF_REACHABLE(If, cond, if_block); in DecodeFunctionBody()
1553 PushMergeValues(if_block, &if_block->start_merge); in DecodeFunctionBody()
/external/mesa3d/src/amd/common/
Dac_llvm_build.c2052 LLVMBasicBlockRef if_block; in if_cond_emit() local
2054 if_block = append_basic_block(ctx, "IF"); in if_cond_emit()
2056 set_basicblock_name(if_block, "if", label_id); in if_cond_emit()
2057 LLVMBuildCondBr(ctx->builder, cond, if_block, flow->next_block); in if_cond_emit()
2058 LLVMPositionBuilderAtEnd(ctx->builder, if_block); in if_cond_emit()
/external/jsilver/src/com/google/clearsilver/jsilver/syntax/
Djsilver.sablecc335 | {if} if_block
336 {->if_block.command}
401 if_block {->command}
/external/curl/packages/vms/
Dconfig_h.com246 $if_block = 0
/external/toybox/kconfig/
Dzconf.tab.c_shipped520 "if_entry", "if_end", "if_stmt", "if_block", "menu", "menu_entry",