/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_add_loop_preheader.cpp | 93 opt::BasicBlock* loop_header = in Apply() local 97 ir_context->GetDominatorAnalysis(loop_header->GetParent()); in Apply() 104 loop_header->id(), in Apply() 105 [this, &ir_context, &dominator_analysis, &loop_header, in Apply() 107 if (dominator_analysis->Dominates(loop_header->GetLabelInst(), in Apply() 143 loop_header->ForEachPhiInst([this, &ir_context, &preheader, in Apply() 207 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {loop_header->id()})}))); in Apply() 210 loop_header->GetParent()->InsertBasicBlockBefore(std::move(preheader), in Apply() 211 loop_header); in Apply()
|
D | transformation_add_function.cpp | 493 for (auto loop_header : loop_headers) { in TryToAddLoopLimiters() local 497 GetBackEdgeBlockId(ir_context, loop_header->id()); in TryToAddLoopLimiters() 515 ->Dominates(loop_header->id(), loop_header->MergeBlockId())) { in TryToAddLoopLimiters() 524 if (info.loop_header_id() == loop_header->id()) { in TryToAddLoopLimiters() 597 loop_header->id() && in TryToAddLoopLimiters() 599 loop_header->MergeBlockId()) || in TryToAddLoopLimiters() 601 loop_header->id() && in TryToAddLoopLimiters() 603 loop_header->MergeBlockId())) && in TryToAddLoopLimiters() 608 loop_header->MergeBlockId(); in TryToAddLoopLimiters() 682 auto merge_block = ir_context->cfg()->block(loop_header->MergeBlockId()); in TryToAddLoopLimiters() [all …]
|
D | transformation_add_dead_continue.cpp | 74 auto loop_header = in IsApplicable() local 79 if (!loop_header) { in IsApplicable() 84 ir_context->cfg()->block(loop_header)->ContinueBlockId(); in IsApplicable() 94 ir_context, message_.from_block(), loop_header)) { in IsApplicable()
|
D | transformation_merge_function_returns.cpp | 711 uint32_t loop_header = in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local 722 assert((block->id() == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 724 block->id()) == loop_header) && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 728 block->WhileEachInst([ir_context, loop_header, in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 738 [ir_context, loop_header, merge_block]( in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 745 if (block_use == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
D | transformation_add_loop_preheader.cpp | 93 opt::BasicBlock* loop_header = in Apply() local 97 ir_context->GetDominatorAnalysis(loop_header->GetParent()); in Apply() 104 loop_header->id(), in Apply() 105 [this, &ir_context, &dominator_analysis, &loop_header, in Apply() 107 if (dominator_analysis->Dominates(loop_header->GetLabelInst(), in Apply() 143 loop_header->ForEachPhiInst([this, &ir_context, &preheader, in Apply() 207 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {loop_header->id()})}))); in Apply() 210 loop_header->GetParent()->InsertBasicBlockBefore(std::move(preheader), in Apply() 211 loop_header); in Apply()
|
D | transformation_add_function.cpp | 493 for (auto loop_header : loop_headers) { in TryToAddLoopLimiters() local 497 GetBackEdgeBlockId(ir_context, loop_header->id()); in TryToAddLoopLimiters() 515 ->Dominates(loop_header->id(), loop_header->MergeBlockId())) { in TryToAddLoopLimiters() 524 if (info.loop_header_id() == loop_header->id()) { in TryToAddLoopLimiters() 597 loop_header->id() && in TryToAddLoopLimiters() 599 loop_header->MergeBlockId()) || in TryToAddLoopLimiters() 601 loop_header->id() && in TryToAddLoopLimiters() 603 loop_header->MergeBlockId())) && in TryToAddLoopLimiters() 608 loop_header->MergeBlockId(); in TryToAddLoopLimiters() 682 auto merge_block = ir_context->cfg()->block(loop_header->MergeBlockId()); in TryToAddLoopLimiters() [all …]
|
D | transformation_add_dead_continue.cpp | 74 auto loop_header = in IsApplicable() local 79 if (!loop_header) { in IsApplicable() 84 ir_context->cfg()->block(loop_header)->ContinueBlockId(); in IsApplicable() 94 ir_context, message_.from_block(), loop_header)) { in IsApplicable()
|
D | transformation_merge_function_returns.cpp | 711 uint32_t loop_header = in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local 722 assert((block->id() == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 724 block->id()) == loop_header) && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 728 block->WhileEachInst([ir_context, loop_header, in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 738 [ir_context, loop_header, merge_block]( in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 745 if (block_use == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
|
/third_party/spirv-tools/source/fuzz/ |
D | transformation_add_loop_preheader.cpp | 93 opt::BasicBlock* loop_header = in Apply() local 97 ir_context->GetDominatorAnalysis(loop_header->GetParent()); in Apply() 104 loop_header->id(), in Apply() 105 [this, &ir_context, &dominator_analysis, &loop_header, in Apply() 107 if (dominator_analysis->Dominates(loop_header->GetLabelInst(), in Apply() 143 loop_header->ForEachPhiInst([this, &ir_context, &preheader, in Apply() 207 spv_operand_type_t::SPV_OPERAND_TYPE_ID, {loop_header->id()})}))); in Apply() 210 loop_header->GetParent()->InsertBasicBlockBefore(std::move(preheader), in Apply() 211 loop_header); in Apply()
|
D | transformation_add_function.cpp | 493 for (auto loop_header : loop_headers) { in TryToAddLoopLimiters() local 497 GetBackEdgeBlockId(ir_context, loop_header->id()); in TryToAddLoopLimiters() 515 ->Dominates(loop_header->id(), loop_header->MergeBlockId())) { in TryToAddLoopLimiters() 524 if (info.loop_header_id() == loop_header->id()) { in TryToAddLoopLimiters() 597 loop_header->id() && in TryToAddLoopLimiters() 599 loop_header->MergeBlockId()) || in TryToAddLoopLimiters() 601 loop_header->id() && in TryToAddLoopLimiters() 603 loop_header->MergeBlockId())) && in TryToAddLoopLimiters() 608 loop_header->MergeBlockId(); in TryToAddLoopLimiters() 682 auto merge_block = ir_context->cfg()->block(loop_header->MergeBlockId()); in TryToAddLoopLimiters() [all …]
|
D | transformation_add_dead_continue.cpp | 74 auto loop_header = in IsApplicable() local 79 if (!loop_header) { in IsApplicable() 84 ir_context->cfg()->block(loop_header)->ContinueBlockId(); in IsApplicable() 94 ir_context, message_.from_block(), loop_header)) { in IsApplicable()
|
D | transformation_merge_function_returns.cpp | 711 uint32_t loop_header = in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local 722 assert((block->id() == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 724 block->id()) == loop_header) && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 728 block->WhileEachInst([ir_context, loop_header, in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 738 [ir_context, loop_header, merge_block]( in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() 745 if (block_use == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
|
/third_party/node/deps/v8/src/compiler/ |
D | bytecode-analysis.cc | 489 int loop_header = iterator.GetJumpTargetOffset(); in Analyze() local 490 PushLoop(loop_header, loop_end); in Analyze() 493 osr_entry_point_ = loop_header; in Analyze() 715 void BytecodeAnalysis::PushLoop(int loop_header, int loop_end) { in PushLoop() argument 716 DCHECK_LT(loop_header, loop_end); in PushLoop() 717 DCHECK_LT(loop_stack_.top().header_offset, loop_header); in PushLoop() 719 DCHECK_EQ(header_to_info_.find(loop_header), header_to_info_.end()); in PushLoop() 723 end_to_header_.insert({loop_end, loop_header}); in PushLoop() 725 {loop_header, LoopInfo(parent_offset, bytecode_array_->parameter_count(), in PushLoop() 730 loop_stack_.push({loop_header, loop_info}); in PushLoop() [all …]
|
D | loop-analysis.cc | 554 Node* loop_header, Zone* zone, size_t max_size, bool calls_are_large) { in FindSmallInnermostLoopFromHeader() argument 558 DCHECK_EQ(loop_header->opcode(), IrOpcode::kLoop); in FindSmallInnermostLoopFromHeader() 560 queue.push_back(loop_header); in FindSmallInnermostLoopFromHeader() 579 if (node != loop_header) return nullptr; in FindSmallInnermostLoopFromHeader() 584 if (node->InputAt(1) != loop_header) return nullptr; in FindSmallInnermostLoopFromHeader() 591 if (NodeProperties::GetControlInput(node)->InputAt(1) != loop_header) { in FindSmallInnermostLoopFromHeader() 655 if (node == loop_header) continue; in FindSmallInnermostLoopFromHeader() 665 node->id(), node->op()->mnemonic(), loop_header->id(), input->id(), in FindSmallInnermostLoopFromHeader()
|
/third_party/node/deps/v8/src/interpreter/ |
D | bytecode-array-writer.h | 44 void WriteJumpLoop(BytecodeNode* node, BytecodeLoopHeader* loop_header); 47 void BindLoopHeader(BytecodeLoopHeader* loop_header); 99 void EmitJumpLoop(BytecodeNode* node, BytecodeLoopHeader* loop_header);
|
D | bytecode-array-writer.cc | 132 BytecodeLoopHeader* loop_header) { in WriteJumpLoop() argument 140 EmitJumpLoop(node, loop_header); in WriteJumpLoop() 164 void BytecodeArrayWriter::BindLoopHeader(BytecodeLoopHeader* loop_header) { in BindLoopHeader() argument 166 loop_header->bind_to(current_offset); in BindLoopHeader() 462 BytecodeLoopHeader* loop_header) { in EmitJumpLoop() argument 468 CHECK_GE(current_offset, loop_header->offset()); in EmitJumpLoop() 472 static_cast<uint32_t>(current_offset - loop_header->offset()); in EmitJumpLoop()
|
D | bytecode-array-builder.cc | 180 BytecodeLoopHeader* loop_header) { in WriteJumpLoop() argument 182 bytecode_array_writer_.WriteJumpLoop(node, loop_header); in WriteJumpLoop() 380 void BytecodeArrayBuilder::OutputJumpLoop(BytecodeLoopHeader* loop_header, in BYTECODE_LIST() 383 WriteJumpLoop(&node, loop_header); in BYTECODE_LIST() 1108 BytecodeLoopHeader* loop_header) { in Bind() argument 1112 bytecode_array_writer_.BindLoopHeader(loop_header); in Bind() 1260 BytecodeLoopHeader* loop_header, int loop_depth, int position) { in JumpLoop() argument 1273 OutputJumpLoop(loop_header, loop_depth); in JumpLoop()
|
/third_party/skia/third_party/externals/spirv-cross/shaders-hlsl/asm/frag/ |
D | implicit-read-dep-phi.asm.frag | 53 OpBranch %loop_header 54 %loop_header = OpLabel 78 OpBranch %loop_header
|
/third_party/skia/third_party/externals/spirv-cross/shaders-msl/asm/frag/ |
D | implicit-read-dep-phi.asm.frag | 53 OpBranch %loop_header 54 %loop_header = OpLabel 78 OpBranch %loop_header
|
/third_party/skia/third_party/externals/spirv-cross/shaders/asm/frag/ |
D | implicit-read-dep-phi.asm.frag | 53 OpBranch %loop_header 54 %loop_header = OpLabel 78 OpBranch %loop_header
|
/third_party/spirv-tools/test/opt/ |
D | cfg_test.cpp | 254 BasicBlock* loop_header = context->get_instr_block(8); in TEST_F() local 255 ASSERT_TRUE(loop_header->GetLoopMergeInst() != nullptr); in TEST_F() 258 cfg->SplitLoopHeader(loop_header); in TEST_F()
|
/third_party/skia/third_party/externals/spirv-tools/source/val/ |
D | function.cpp | 331 BasicBlock* loop_header = loop_construct->entry_block(); in GetBlockDepth() local 335 if (loop_header == bb) { in GetBlockDepth() 338 block_depth_[bb] = 1 + GetBlockDepth(loop_header); in GetBlockDepth()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/ |
D | function.cpp | 331 BasicBlock* loop_header = loop_construct->entry_block(); in GetBlockDepth() local 335 if (loop_header == bb) { in GetBlockDepth() 338 block_depth_[bb] = 1 + GetBlockDepth(loop_header); in GetBlockDepth()
|
/third_party/spirv-tools/source/val/ |
D | function.cpp | 348 BasicBlock* loop_header = loop_construct->entry_block(); in GetBlockDepth() local 352 if (loop_header == bb) { in GetBlockDepth() 355 block_depth_[bb] = 1 + GetBlockDepth(loop_header); in GetBlockDepth()
|
/third_party/node/deps/v8/src/compiler/backend/ |
D | spill-placer.cc | 270 while (block->loop_header().IsValid() && in SetSpillRequired() 271 block->loop_header() > top_start_block) { in SetSpillRequired() 272 block = data()->code()->InstructionBlockAt(block->loop_header()); in SetSpillRequired()
|