Home
last modified time | relevance | path

Searched refs:header_block (Results 1 – 8 of 8) sorted by relevance

/external/mesa3d/src/compiler/nir/
Dnir_opt_if.c84 nir_block *header_block = nir_loop_first_block(loop); in opt_peel_loop_initial_if() local
89 assert(_mesa_set_search(header_block->predecessors, prev_block)); in opt_peel_loop_initial_if()
95 if (header_block->predecessors->entries != 2) in opt_peel_loop_initial_if()
100 set_foreach(header_block->predecessors, pred_entry) { in opt_peel_loop_initial_if()
105 nir_cf_node *if_node = nir_cf_node_next(&header_block->cf_node); in opt_peel_loop_initial_if()
117 if (cond->parent_instr->block != header_block) in opt_peel_loop_initial_if()
174 nir_lower_phis_to_regs_block(header_block); in opt_peel_loop_initial_if()
179 nir_lower_ssa_defs_to_regs_block(header_block); in opt_peel_loop_initial_if()
184 nir_cf_extract(&header, nir_before_block(header_block), in opt_peel_loop_initial_if()
185 nir_after_block(header_block)); in opt_peel_loop_initial_if()
/external/u-boot/lib/libavb/
Davb_vbmeta_image.c24 const uint8_t* header_block; in avb_vbmeta_image_verify() local
152 header_block = data; in avb_vbmeta_image_verify()
153 authentication_block = header_block + sizeof(AvbVBMetaImageHeader); in avb_vbmeta_image_verify()
163 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
174 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
/external/avb/libavb/
Davb_vbmeta_image.c43 const uint8_t* header_block; in avb_vbmeta_image_verify() local
171 header_block = data; in avb_vbmeta_image_verify()
172 authentication_block = header_block + sizeof(AvbVBMetaImageHeader); in avb_vbmeta_image_verify()
182 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
193 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dmerge_return_pass.cpp733 BasicBlock* header_block = &*pos.InsertBefore(std::move(block)); in CreateDummyLoop() local
734 context()->AnalyzeDefUse(header_block->GetLabelInst()); in CreateDummyLoop()
735 header_block->SetParent(function_); in CreateDummyLoop()
740 uint32_t continue_target = CreateContinueTarget(header_block->id())->id(); in CreateDummyLoop()
744 context(), header_block, in CreateDummyLoop()
754 builder2.AddBranch(header_block->id()); in CreateDummyLoop()
758 cfg()->RegisterBlock(header_block); in CreateDummyLoop()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dmerge_return_pass.cpp749 BasicBlock* header_block = &*pos.InsertBefore(std::move(block)); in CreateDummyLoop() local
750 context()->AnalyzeDefUse(header_block->GetLabelInst()); in CreateDummyLoop()
751 header_block->SetParent(function_); in CreateDummyLoop()
756 uint32_t continue_target = CreateContinueTarget(header_block->id())->id(); in CreateDummyLoop()
760 context(), header_block, in CreateDummyLoop()
770 builder2.AddBranch(header_block->id()); in CreateDummyLoop()
774 cfg()->RegisterBlock(header_block); in CreateDummyLoop()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp480 uint32_t header_block; in StructuredControlFlowChecks() local
481 std::tie(back_edge_block, header_block) = back_edge; in StructuredControlFlowChecks()
482 if (!function->IsBlockType(header_block, kBlockTypeLoop)) { in StructuredControlFlowChecks()
485 << _.getIdName(header_block) in StructuredControlFlowChecks()
488 loop_latch_blocks[header_block].insert(back_edge_block); in StructuredControlFlowChecks()
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp480 uint32_t header_block; in StructuredControlFlowChecks() local
481 std::tie(back_edge_block, header_block) = back_edge; in StructuredControlFlowChecks()
482 if (!function->IsBlockType(header_block, kBlockTypeLoop)) { in StructuredControlFlowChecks()
485 << _.getIdName(header_block) in StructuredControlFlowChecks()
488 loop_latch_blocks[header_block].insert(back_edge_block); in StructuredControlFlowChecks()
/external/v8/src/compiler/
Dscheduler.cc1552 if (BasicBlock* header_block = block->loop_header()) { in GetHoistBlock() local
1554 scheduler_->special_rpo_->GetOutgoingBlocks(header_block)) { in GetHoistBlock()
1559 return header_block->dominator(); in GetHoistBlock()