/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | if_conversion.cpp | 225 void IfConversion::HoistInstruction(Instruction* inst, BasicBlock* target_block, in HoistInstruction() argument 233 if (dominators->Dominates(inst_block, target_block)) { in HoistInstruction() 244 [this, target_block, def_use_mgr, dominators](uint32_t* id) { in HoistInstruction() 246 HoistInstruction(operand_inst, target_block, dominators); in HoistInstruction() 249 Instruction* insertion_pos = target_block->terminator(); in HoistInstruction() 255 context()->set_instr_block(inst, target_block); in HoistInstruction() 259 BasicBlock* target_block, in CanHoistInstruction() argument 267 if (dominators->Dominates(inst_block, target_block)) { in CanHoistInstruction() 279 [this, target_block, def_use_mgr, dominators](uint32_t* id) { in CanHoistInstruction() 281 return CanHoistInstruction(operand_inst, target_block, dominators); in CanHoistInstruction()
|
D | if_conversion.h | 77 void HoistInstruction(Instruction* inst, BasicBlock* target_block, 82 bool CanHoistInstruction(Instruction* inst, BasicBlock* target_block,
|
D | merge_return_pass.cpp | 241 BasicBlock* target_block = context()->get_instr_block(target); in BranchToBlock() local 242 if (target_block->GetLoopMergeInst()) { in BranchToBlock() 243 cfg()->SplitLoopHeader(target_block); in BranchToBlock() 245 UpdatePhiNodes(block, target_block); in BranchToBlock() 251 new_edges_[target_block].insert(block->id()); in BranchToBlock()
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/ |
D | if_conversion.cpp | 225 void IfConversion::HoistInstruction(Instruction* inst, BasicBlock* target_block, in HoistInstruction() argument 233 if (dominators->Dominates(inst_block, target_block)) { in HoistInstruction() 244 [this, target_block, def_use_mgr, dominators](uint32_t* id) { in HoistInstruction() 246 HoistInstruction(operand_inst, target_block, dominators); in HoistInstruction() 249 Instruction* insertion_pos = target_block->terminator(); in HoistInstruction() 255 context()->set_instr_block(inst, target_block); in HoistInstruction() 259 BasicBlock* target_block, in CanHoistInstruction() argument 267 if (dominators->Dominates(inst_block, target_block)) { in CanHoistInstruction() 279 [this, target_block, def_use_mgr, dominators](uint32_t* id) { in CanHoistInstruction() 281 return CanHoistInstruction(operand_inst, target_block, dominators); in CanHoistInstruction()
|
D | if_conversion.h | 77 void HoistInstruction(Instruction* inst, BasicBlock* target_block, 82 bool CanHoistInstruction(Instruction* inst, BasicBlock* target_block,
|
D | merge_return_pass.cpp | 241 BasicBlock* target_block = context()->get_instr_block(target); in BranchToBlock() local 242 if (target_block->GetLoopMergeInst()) { in BranchToBlock() 243 cfg()->SplitLoopHeader(target_block); in BranchToBlock() 245 UpdatePhiNodes(block, target_block); in BranchToBlock() 251 new_edges_[target_block].insert(block->id()); in BranchToBlock()
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | if_conversion.cpp | 225 void IfConversion::HoistInstruction(Instruction* inst, BasicBlock* target_block, in HoistInstruction() argument 233 if (dominators->Dominates(inst_block, target_block)) { in HoistInstruction() 244 [this, target_block, def_use_mgr, dominators](uint32_t* id) { in HoistInstruction() 246 HoistInstruction(operand_inst, target_block, dominators); in HoistInstruction() 249 Instruction* insertion_pos = target_block->terminator(); in HoistInstruction() 255 context()->set_instr_block(inst, target_block); in HoistInstruction() 259 BasicBlock* target_block, in CanHoistInstruction() argument 267 if (dominators->Dominates(inst_block, target_block)) { in CanHoistInstruction() 279 [this, target_block, def_use_mgr, dominators](uint32_t* id) { in CanHoistInstruction() 281 return CanHoistInstruction(operand_inst, target_block, dominators); in CanHoistInstruction()
|
D | if_conversion.h | 77 void HoistInstruction(Instruction* inst, BasicBlock* target_block, 82 bool CanHoistInstruction(Instruction* inst, BasicBlock* target_block,
|
D | merge_return_pass.cpp | 241 BasicBlock* target_block = context()->get_instr_block(target); in BranchToBlock() local 242 if (target_block->GetLoopMergeInst()) { in BranchToBlock() 243 cfg()->SplitLoopHeader(target_block); in BranchToBlock() 245 UpdatePhiNodes(block, target_block); in BranchToBlock() 251 new_edges_[target_block].insert(block->id()); in BranchToBlock()
|
/external/deqp-deps/SPIRV-Tools/source/val/ |
D | validate_cfg.cpp | 449 ValidationState_t& _, BasicBlock* target_block, uint32_t* case_fall_through, in FindCaseFallThrough() argument 453 stack.push_back(target_block); in FindCaseFallThrough() 455 bool target_reachable = target_block->reachable(); in FindCaseFallThrough() 456 int target_depth = function->GetBlockDepth(target_block); in FindCaseFallThrough() 466 target_block->dominates(*block)) { in FindCaseFallThrough() 480 return _.diag(SPV_ERROR_INVALID_CFG, target_block->label()) in FindCaseFallThrough() 482 << _.getIdName(target_block->id()) in FindCaseFallThrough() 489 if (target_block != block) { in FindCaseFallThrough() 494 return _.diag(SPV_ERROR_INVALID_CFG, target_block->label()) in FindCaseFallThrough() 496 << _.getIdName(target_block->id()) in FindCaseFallThrough() [all …]
|
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/ |
D | validate_cfg.cpp | 449 ValidationState_t& _, BasicBlock* target_block, uint32_t* case_fall_through, in FindCaseFallThrough() argument 453 stack.push_back(target_block); in FindCaseFallThrough() 455 bool target_reachable = target_block->reachable(); in FindCaseFallThrough() 456 int target_depth = function->GetBlockDepth(target_block); in FindCaseFallThrough() 466 target_block->dominates(*block)) { in FindCaseFallThrough() 480 return _.diag(SPV_ERROR_INVALID_CFG, target_block->label()) in FindCaseFallThrough() 482 << _.getIdName(target_block->id()) in FindCaseFallThrough() 489 if (target_block != block) { in FindCaseFallThrough() 494 return _.diag(SPV_ERROR_INVALID_CFG, target_block->label()) in FindCaseFallThrough() 496 << _.getIdName(target_block->id()) in FindCaseFallThrough() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | validate_cfg.cpp | 449 ValidationState_t& _, BasicBlock* target_block, uint32_t* case_fall_through, in FindCaseFallThrough() argument 453 stack.push_back(target_block); in FindCaseFallThrough() 455 bool target_reachable = target_block->reachable(); in FindCaseFallThrough() 456 int target_depth = function->GetBlockDepth(target_block); in FindCaseFallThrough() 466 target_block->dominates(*block)) { in FindCaseFallThrough() 480 return _.diag(SPV_ERROR_INVALID_CFG, target_block->label()) in FindCaseFallThrough() 482 << _.getIdName(target_block->id()) in FindCaseFallThrough() 489 if (target_block != block) { in FindCaseFallThrough() 494 return _.diag(SPV_ERROR_INVALID_CFG, target_block->label()) in FindCaseFallThrough() 496 << _.getIdName(target_block->id()) in FindCaseFallThrough() [all …]
|
/external/mesa3d/src/compiler/spirv/ |
D | vtn_cfg.c | 346 struct vtn_block *target_block) in VTN_DECL_CF_NODE_FIND() 353 if (loop && target_block == loop->header_block) in VTN_DECL_CF_NODE_FIND() 357 if (target_block->switch_case) { in VTN_DECL_CF_NODE_FIND() 380 vtn_fail_if(target_block->switch_case == switch_case, in VTN_DECL_CF_NODE_FIND() 384 vtn_fail_if(target_block->switch_case->node.parent != in VTN_DECL_CF_NODE_FIND() 390 switch_case->fallthrough != target_block->switch_case, in VTN_DECL_CF_NODE_FIND() 394 switch_case->fallthrough = target_block->switch_case; in VTN_DECL_CF_NODE_FIND() 402 if (loop && target_block == loop->cont_block) in VTN_DECL_CF_NODE_FIND() 412 if (target_block->merge_cf_node != NULL && in VTN_DECL_CF_NODE_FIND() 413 target_block->merge_cf_node->parent != cf_parent) { in VTN_DECL_CF_NODE_FIND() [all …]
|
/external/tensorflow/tensorflow/compiler/mlir/hlo/lib/Dialect/mhlo/transforms/ |
D | legalize_control_flow.cc | 47 LogicalResult ReplaceTerminators(Region* region, Block* target_block, in ReplaceTerminators() argument 56 builder->create<mlir::BranchOp>(loc, target_block, return_op.getOperands()); in ReplaceTerminators()
|
/external/mesa3d/src/panfrost/midgard/ |
D | midgard_compile.c | 1363 br->branch.target_block = ctx->block_count - 1; in emit_fragment_store() 2459 ins.branch.target_block = ctx->block_count - 1; in emit_fragment_epilogue() 2466 return ins.branch.target_block; in emit_fragment_epilogue() 2542 then_branch->branch.target_block = after_else_idx; in emit_if() 2544 then_branch->branch.target_block = else_idx; in emit_if() 2545 then_exit->branch.target_block = after_else_idx; in emit_if() 2576 br_back.branch.target_block = start_idx; in emit_loop() 2606 ins->branch.target_block = break_block_idx; in emit_loop() 2688 unsigned popped = br->branch.target_block; in mir_add_writeout_loops() 2690 br->branch.target_block = emit_fragment_epilogue(ctx, rt); in mir_add_writeout_loops() [all …]
|
D | midgard_print.c | 199 ins->branch.target_block); in mir_print_instruction()
|
D | compiler.h | 69 int target_block; member
|
D | midgard_emit.c | 642 int target_number = ins->branch.target_block; in emit_branch()
|