Home
last modified time | relevance | path

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

12

/external/angle/third_party/vulkan-deps/spirv-tools/src/source/reduce/
Dstructured_construct_to_block_reduction_opportunity.cpp25 auto header_block = context_->cfg()->block(construct_header_); in Apply() local
26 auto merge_block = context_->cfg()->block(header_block->MergeBlockId()); in Apply()
28 auto* enclosing_function = header_block->GetParent(); in Apply()
39 if (header_block != &*block_it && merge_block != &*block_it && in Apply()
40 dominators->Dominates(header_block, &*block_it) && in Apply()
54 context_->KillInst(header_block->GetMergeInst()); in Apply()
58 header_block->terminator()->SetOpcode(SpvOpBranch); in Apply()
59 header_block->terminator()->SetInOperands( in Apply()
Dremove_selection_reduction_opportunity_finder.cpp72 opt::IRContext* context, const opt::BasicBlock& header_block, in CanOpSelectionMergeBeRemoved() argument
75 assert(header_block.GetMergeInst() == merge_instruction && in CanOpSelectionMergeBeRemoved()
96 header_block.ForEachSuccessorLabel( in CanOpSelectionMergeBeRemoved()
Dremove_selection_reduction_opportunity.h31 RemoveSelectionReductionOpportunity(opt::BasicBlock* header_block) in RemoveSelectionReductionOpportunity() argument
32 : header_block_(header_block) {} in RemoveSelectionReductionOpportunity()
Dremove_selection_reduction_opportunity_finder.h41 opt::IRContext* context, const opt::BasicBlock& header_block,
/external/rust/crates/quiche/src/h3/
Dframe.rs50 header_block: Vec<u8>,
66 header_block: Vec<u8>,
93 header_block: b.get_bytes(payload_length as usize)?.to_vec(), in from_bytes()
131 Frame::Headers { header_block } => { in to_bytes()
133 b.put_varint(header_block.len() as u64)?; in to_bytes()
135 b.put_bytes(header_block.as_ref())?; in to_bytes()
199 header_block, in to_bytes()
201 let len = octets::varint_len(*push_id) + header_block.len(); in to_bytes()
206 b.put_bytes(header_block.as_ref())?; in to_bytes()
237 Frame::Headers { header_block } => { in fmt()
[all …]
Dstream.rs671 let header_block = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; in control_bad_frame() localVariable
672 let hdrs = frame::Frame::Headers { header_block }; in control_bad_frame()
734 let header_block = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; in request_good() localVariable
736 let hdrs = frame::Frame::Headers { header_block }; in request_good()
806 let header_block = vec![1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12]; in push_good() localVariable
808 let hdrs = frame::Frame::Headers { header_block }; in push_good()
Dmod.rs786 let mut header_block = vec![0; headers_len]; in encode_header_block() localVariable
789 .encode(&headers, &mut header_block) in encode_header_block()
792 header_block.truncate(len); in encode_header_block()
794 Ok(header_block) in encode_header_block()
811 let header_block = self.encode_header_block(headers)?; in send_headers() localVariable
814 octets::varint_len(header_block.len() as u64); in send_headers()
816 if stream_cap < overhead + header_block.len() { in send_headers()
824 header_block.len(), in send_headers()
829 b.put_varint(header_block.len() as u64)?; in send_headers()
834 conn.stream_send(stream_id, &header_block, fin)?; in send_headers()
[all …]
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_flatten_conditional_branch.cpp46 auto header_block = in IsApplicable() local
50 if (!header_block || !header_block->GetMergeInst() || in IsApplicable()
51 header_block->GetMergeInst()->opcode() != SpvOpSelectionMerge) { in IsApplicable()
56 if (header_block->terminator()->opcode() != SpvOpBranchConditional) { in IsApplicable()
65 header_block->terminator()->GetSingleWordInOperand(0))) { in IsApplicable()
92 ir_context, header_block, transformation_context, in IsApplicable()
156 FindConvergenceBlock(ir_context, *header_block); in IsApplicable()
231 auto header_block = ir_context->cfg()->block(message_.header_block_id()); in Apply() local
236 auto branch_instruction = header_block->terminator(); in Apply()
243 FindConvergenceBlock(ir_context, *header_block); in Apply()
[all …]
Dtransformation_flatten_conditional_branch.h103 const opt::BasicBlock& header_block);
136 const opt::BasicBlock& header_block, uint32_t convergence_block_id,
Dfuzzer_pass.cpp602 auto header_block = fuzzerutil::MaybeFindBlock(GetIRContext(), header_id); in GetOrCreateSimpleLoopPreheader() local
604 assert(header_block && header_block->IsLoopHeader() && in GetOrCreateSimpleLoopPreheader()
612 auto function = header_block->GetParent(); in GetOrCreateSimpleLoopPreheader()
647 header_block->ForEachPhiInst( in GetOrCreateSimpleLoopPreheader()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_flatten_conditional_branch.cpp46 auto header_block = in IsApplicable() local
50 if (!header_block || !header_block->GetMergeInst() || in IsApplicable()
51 header_block->GetMergeInst()->opcode() != SpvOpSelectionMerge) { in IsApplicable()
56 if (header_block->terminator()->opcode() != SpvOpBranchConditional) { in IsApplicable()
65 header_block->terminator()->GetSingleWordInOperand(0))) { in IsApplicable()
92 ir_context, header_block, transformation_context, in IsApplicable()
156 FindConvergenceBlock(ir_context, *header_block); in IsApplicable()
231 auto header_block = ir_context->cfg()->block(message_.header_block_id()); in Apply() local
236 auto branch_instruction = header_block->terminator(); in Apply()
243 FindConvergenceBlock(ir_context, *header_block); in Apply()
[all …]
Dtransformation_flatten_conditional_branch.h103 const opt::BasicBlock& header_block);
136 const opt::BasicBlock& header_block, uint32_t convergence_block_id,
Dfuzzer_pass.cpp575 auto header_block = fuzzerutil::MaybeFindBlock(GetIRContext(), header_id); in GetOrCreateSimpleLoopPreheader() local
577 assert(header_block && header_block->IsLoopHeader() && in GetOrCreateSimpleLoopPreheader()
585 auto function = header_block->GetParent(); in GetOrCreateSimpleLoopPreheader()
620 header_block->ForEachPhiInst( in GetOrCreateSimpleLoopPreheader()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_flatten_conditional_branch.cpp46 auto header_block = in IsApplicable() local
50 if (!header_block || !header_block->GetMergeInst() || in IsApplicable()
51 header_block->GetMergeInst()->opcode() != SpvOpSelectionMerge) { in IsApplicable()
56 if (header_block->terminator()->opcode() != SpvOpBranchConditional) { in IsApplicable()
65 header_block->terminator()->GetSingleWordInOperand(0))) { in IsApplicable()
92 ir_context, header_block, transformation_context, in IsApplicable()
156 FindConvergenceBlock(ir_context, *header_block); in IsApplicable()
231 auto header_block = ir_context->cfg()->block(message_.header_block_id()); in Apply() local
236 auto branch_instruction = header_block->terminator(); in Apply()
243 FindConvergenceBlock(ir_context, *header_block); in Apply()
[all …]
Dtransformation_flatten_conditional_branch.h103 const opt::BasicBlock& header_block);
136 const opt::BasicBlock& header_block, uint32_t convergence_block_id,
Dfuzzer_pass.cpp575 auto header_block = fuzzerutil::MaybeFindBlock(GetIRContext(), header_id); in GetOrCreateSimpleLoopPreheader() local
577 assert(header_block && header_block->IsLoopHeader() && in GetOrCreateSimpleLoopPreheader()
585 auto function = header_block->GetParent(); in GetOrCreateSimpleLoopPreheader()
620 header_block->ForEachPhiInst( in GetOrCreateSimpleLoopPreheader()
/external/mesa3d/src/compiler/nir/
Dnir_opt_if.c41 nir_block *header_block = nir_loop_first_block(loop); in find_continue_block() local
45 assert(header_block->predecessors->entries == 2); in find_continue_block()
47 set_foreach(header_block->predecessors, pred_entry) { in find_continue_block()
141 nir_block *header_block = nir_loop_first_block(loop); in opt_peel_loop_initial_if() local
146 assert(_mesa_set_search(header_block->predecessors, prev_block)); in opt_peel_loop_initial_if()
152 if (header_block->predecessors->entries != 2) in opt_peel_loop_initial_if()
155 nir_cf_node *if_node = nir_cf_node_next(&header_block->cf_node); in opt_peel_loop_initial_if()
167 if (cond->parent_instr->block != header_block) in opt_peel_loop_initial_if()
220 nir_lower_phis_to_regs_block(header_block); in opt_peel_loop_initial_if()
225 nir_lower_ssa_defs_to_regs_block(header_block); in opt_peel_loop_initial_if()
[all …]
/external/avb/libavb/
Davb_vbmeta_image.c43 const uint8_t* header_block; in avb_vbmeta_image_verify() local
172 header_block = data; in avb_vbmeta_image_verify()
173 authentication_block = header_block + sizeof(AvbVBMetaImageHeader); in avb_vbmeta_image_verify()
183 &sha256_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
194 &sha512_ctx, header_block, sizeof(AvbVBMetaImageHeader)); in avb_vbmeta_image_verify()
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/
Dremove_selection_reduction_opportunity_finder.cpp72 opt::IRContext* context, const opt::BasicBlock& header_block, in CanOpSelectionMergeBeRemoved() argument
75 assert(header_block.GetMergeInst() == merge_instruction && in CanOpSelectionMergeBeRemoved()
96 header_block.ForEachSuccessorLabel( in CanOpSelectionMergeBeRemoved()
Dremove_selection_reduction_opportunity.h31 RemoveSelectionReductionOpportunity(opt::BasicBlock* header_block) in RemoveSelectionReductionOpportunity() argument
32 : header_block_(header_block) {} in RemoveSelectionReductionOpportunity()
Dremove_selection_reduction_opportunity_finder.h41 opt::IRContext* context, const opt::BasicBlock& header_block,
/external/deqp-deps/SPIRV-Tools/source/reduce/
Dremove_selection_reduction_opportunity_finder.cpp72 opt::IRContext* context, const opt::BasicBlock& header_block, in CanOpSelectionMergeBeRemoved() argument
75 assert(header_block.GetMergeInst() == merge_instruction && in CanOpSelectionMergeBeRemoved()
96 header_block.ForEachSuccessorLabel( in CanOpSelectionMergeBeRemoved()
Dremove_selection_reduction_opportunity.h31 RemoveSelectionReductionOpportunity(opt::BasicBlock* header_block) in RemoveSelectionReductionOpportunity() argument
32 : header_block_(header_block) {} in RemoveSelectionReductionOpportunity()
Dremove_selection_reduction_opportunity_finder.h41 opt::IRContext* context, const opt::BasicBlock& header_block,
/external/deqp-deps/SPIRV-Tools/source/val/
Dvalidate_cfg.cpp687 uint32_t header_block; in StructuredControlFlowChecks() local
688 std::tie(back_edge_block, header_block) = back_edge; in StructuredControlFlowChecks()
689 if (!function->IsBlockType(header_block, kBlockTypeLoop)) { in StructuredControlFlowChecks()
692 << _.getIdName(header_block) in StructuredControlFlowChecks()
695 loop_latch_blocks[header_block].insert(back_edge_block); in StructuredControlFlowChecks()

12