/third_party/skia/third_party/externals/spirv-tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 121 uint32_t header_id = ContainingConstruct(bb_id); in MergeBlock() local 122 if (header_id == 0) { in MergeBlock() 126 BasicBlock* header = context_->cfg()->block(header_id); in MergeBlock() 145 uint32_t header_id = ContainingLoop(bb_id); in LoopMergeBlock() local 146 if (header_id == 0) { in LoopMergeBlock() 150 BasicBlock* header = context_->cfg()->block(header_id); in LoopMergeBlock() 156 uint32_t header_id = ContainingLoop(bb_id); in LoopContinueBlock() local 157 if (header_id == 0) { in LoopContinueBlock() 161 BasicBlock* header = context_->cfg()->block(header_id); in LoopContinueBlock() 180 uint32_t header_id in SwitchMergeBlock() local [all...] |
H A D | dead_branch_elim_pass.cpp | 162 uint32_t header_id = struct_cfg_analysis->ContainingLoop(block->id()); in MarkLiveBlocks() local 163 if (live_lab_id == header_id) { in MarkLiveBlocks() 607 uint32_t cont_id, uint32_t header_id, uint32_t merge_id, in AddBlocksWithBackEdge() 611 visited.insert(header_id); in AddBlocksWithBackEdge() 624 bb->ForEachSuccessorLabel([header_id, &visited, &work_list, in AddBlocksWithBackEdge() 629 if (*succ_label_id == header_id) { in AddBlocksWithBackEdge() 606 AddBlocksWithBackEdge( uint32_t cont_id, uint32_t header_id, uint32_t merge_id, std::unordered_set<BasicBlock*>* blocks_with_back_edges) AddBlocksWithBackEdge() argument
|
H A D | dead_branch_elim_pass.h | 154 // basic block |cont_id| to |header_id| and |merge_id|. The intention is that 155 // |cond_id| is a the continue target of a loop, |header_id| is the header of 158 uint32_t cont_id, uint32_t header_id, uint32_t merge_id,
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 121 uint32_t header_id = ContainingConstruct(bb_id); in MergeBlock() local 122 if (header_id == 0) { in MergeBlock() 126 BasicBlock* header = context_->cfg()->block(header_id); in MergeBlock() 145 uint32_t header_id = ContainingLoop(bb_id); in LoopMergeBlock() local 146 if (header_id == 0) { in LoopMergeBlock() 150 BasicBlock* header = context_->cfg()->block(header_id); in LoopMergeBlock() 156 uint32_t header_id = ContainingLoop(bb_id); in LoopContinueBlock() local 157 if (header_id == 0) { in LoopContinueBlock() 161 BasicBlock* header = context_->cfg()->block(header_id); in LoopContinueBlock() 180 uint32_t header_id in SwitchMergeBlock() local [all...] |
H A D | dead_branch_elim_pass.cpp | 162 uint32_t header_id = struct_cfg_analysis->ContainingLoop(block->id()); in MarkLiveBlocks() local 163 if (live_lab_id == header_id) { in MarkLiveBlocks() 607 uint32_t cont_id, uint32_t header_id, uint32_t merge_id, in AddBlocksWithBackEdge() 611 visited.insert(header_id); in AddBlocksWithBackEdge() 624 bb->ForEachSuccessorLabel([header_id, &visited, &work_list, in AddBlocksWithBackEdge() 629 if (*succ_label_id == header_id) { in AddBlocksWithBackEdge() 606 AddBlocksWithBackEdge( uint32_t cont_id, uint32_t header_id, uint32_t merge_id, std::unordered_set<BasicBlock*>* blocks_with_back_edges) AddBlocksWithBackEdge() argument
|
H A D | dead_branch_elim_pass.h | 154 // basic block |cont_id| to |header_id| and |merge_id|. The intention is that 155 // |cond_id| is a the continue target of a loop, |header_id| is the header of 158 uint32_t cont_id, uint32_t header_id, uint32_t merge_id,
|
/third_party/spirv-tools/source/opt/ |
H A D | struct_cfg_analysis.cpp | 120 uint32_t header_id = ContainingConstruct(bb_id); in MergeBlock() local 121 if (header_id == 0) { in MergeBlock() 125 BasicBlock* header = context_->cfg()->block(header_id); in MergeBlock() 144 uint32_t header_id = ContainingLoop(bb_id); in LoopMergeBlock() local 145 if (header_id == 0) { in LoopMergeBlock() 149 BasicBlock* header = context_->cfg()->block(header_id); in LoopMergeBlock() 155 uint32_t header_id = ContainingLoop(bb_id); in LoopContinueBlock() local 156 if (header_id == 0) { in LoopContinueBlock() 160 BasicBlock* header = context_->cfg()->block(header_id); in LoopContinueBlock() 179 uint32_t header_id in SwitchMergeBlock() local [all...] |
H A D | dead_branch_elim_pass.cpp | 158 uint32_t header_id = struct_cfg_analysis->ContainingLoop(block->id()); in MarkLiveBlocks() local 159 if (live_lab_id == header_id) { in MarkLiveBlocks() 595 uint32_t cont_id, uint32_t header_id, uint32_t merge_id, in AddBlocksWithBackEdge() 599 visited.insert(header_id); in AddBlocksWithBackEdge() 612 bb->ForEachSuccessorLabel([header_id, &visited, &work_list, in AddBlocksWithBackEdge() 617 if (*succ_label_id == header_id) { in AddBlocksWithBackEdge() 594 AddBlocksWithBackEdge( uint32_t cont_id, uint32_t header_id, uint32_t merge_id, std::unordered_set<BasicBlock*>* blocks_with_back_edges) AddBlocksWithBackEdge() argument
|
H A D | dead_branch_elim_pass.h | 154 // basic block |cont_id| to |header_id| and |merge_id|. The intention is that 155 // |cond_id| is a the continue target of a loop, |header_id| is the header of 158 uint32_t cont_id, uint32_t header_id, uint32_t merge_id,
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_loop_preheaders.cpp | 56 for (uint32_t header_id : loop_header_ids_to_consider) { in Apply() 59 GetOrCreateSimpleLoopPreheader(header_id); in Apply()
|
H A D | fuzzer_pass.cpp | 618 uint32_t header_id) { in GetOrCreateSimpleLoopPreheader() 619 auto header_block = fuzzerutil::MaybeFindBlock(GetIRContext(), header_id); in GetOrCreateSimpleLoopPreheader() 622 "|header_id| should be the label id of a loop header"); in GetOrCreateSimpleLoopPreheader() 624 auto predecessors = GetIRContext()->cfg()->preds(header_id); in GetOrCreateSimpleLoopPreheader() 627 "The block |header_id| should be reachable."); in GetOrCreateSimpleLoopPreheader() 638 header_id, predecessors[0])) { in GetOrCreateSimpleLoopPreheader() 672 TransformationAddLoopPreheader(header_id, preheader_id, phi_ids)); in GetOrCreateSimpleLoopPreheader() 617 GetOrCreateSimpleLoopPreheader( uint32_t header_id) GetOrCreateSimpleLoopPreheader() argument
|
H A D | fuzzer_pass.h | 284 // Returns the preheader of the loop with header |header_id|, which satisfies 290 // Requires |header_id| to be the label id of a loop header block that is 292 opt::BasicBlock* GetOrCreateSimpleLoopPreheader(uint32_t header_id);
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | fuzzer_pass_add_loop_preheaders.cpp | 56 for (uint32_t header_id : loop_header_ids_to_consider) { in Apply() 59 GetOrCreateSimpleLoopPreheader(header_id); in Apply()
|
H A D | fuzzer_pass.cpp | 618 uint32_t header_id) { in GetOrCreateSimpleLoopPreheader() 619 auto header_block = fuzzerutil::MaybeFindBlock(GetIRContext(), header_id); in GetOrCreateSimpleLoopPreheader() 622 "|header_id| should be the label id of a loop header"); in GetOrCreateSimpleLoopPreheader() 624 auto predecessors = GetIRContext()->cfg()->preds(header_id); in GetOrCreateSimpleLoopPreheader() 627 "The block |header_id| should be reachable."); in GetOrCreateSimpleLoopPreheader() 638 header_id, predecessors[0])) { in GetOrCreateSimpleLoopPreheader() 672 TransformationAddLoopPreheader(header_id, preheader_id, phi_ids)); in GetOrCreateSimpleLoopPreheader() 617 GetOrCreateSimpleLoopPreheader( uint32_t header_id) GetOrCreateSimpleLoopPreheader() argument
|
H A D | fuzzer_pass.h | 284 // Returns the preheader of the loop with header |header_id|, which satisfies 290 // Requires |header_id| to be the label id of a loop header block that is 292 opt::BasicBlock* GetOrCreateSimpleLoopPreheader(uint32_t header_id);
|
/third_party/spirv-tools/source/fuzz/ |
H A D | fuzzer_pass_add_loop_preheaders.cpp | 56 for (uint32_t header_id : loop_header_ids_to_consider) { in Apply() 59 GetOrCreateSimpleLoopPreheader(header_id); in Apply()
|
H A D | fuzzer_pass.cpp | 620 uint32_t header_id) { in GetOrCreateSimpleLoopPreheader() 621 auto header_block = fuzzerutil::MaybeFindBlock(GetIRContext(), header_id); in GetOrCreateSimpleLoopPreheader() 624 "|header_id| should be the label id of a loop header"); in GetOrCreateSimpleLoopPreheader() 626 auto predecessors = GetIRContext()->cfg()->preds(header_id); in GetOrCreateSimpleLoopPreheader() 629 "The block |header_id| should be reachable."); in GetOrCreateSimpleLoopPreheader() 640 header_id, predecessors[0])) { in GetOrCreateSimpleLoopPreheader() 674 TransformationAddLoopPreheader(header_id, preheader_id, phi_ids)); in GetOrCreateSimpleLoopPreheader() 619 GetOrCreateSimpleLoopPreheader( uint32_t header_id) GetOrCreateSimpleLoopPreheader() argument
|
H A D | fuzzer_pass.h | 284 // Returns the preheader of the loop with header |header_id|, which satisfies 290 // Requires |header_id| to be the label id of a loop header block that is 292 opt::BasicBlock* GetOrCreateSimpleLoopPreheader(uint32_t header_id);
|
/third_party/mesa3d/src/gallium/drivers/zink/nir_to_spirv/ |
H A D | nir_to_spirv.c | 3901 SpvId header_id = spirv_builder_new_id(&ctx->builder); in emit_if() local 3913 start_block(ctx, header_id); in emit_if() 3933 SpvId header_id = spirv_builder_new_id(&ctx->builder); in emit_loop() local 3939 start_block(ctx, header_id); in emit_loop() 3957 branch(ctx, header_id); in emit_loop()
|
/third_party/skia/third_party/externals/tint/src/reader/spirv/ |
H A D | function.cc | 2023 const uint32_t header_id = continue_target->header_for_continue; in SiblingLoopConstruct() local 2024 if (continue_target_id == header_id) { in SiblingLoopConstruct() 2028 const auto* candidate = GetBlockInfo(header_id)->construct; in SiblingLoopConstruct()
|