Home
last modified time | relevance | path

Searched refs:loop_header (Results 1 – 25 of 44) sorted by relevance

12

/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_add_loop_preheader.cpp93 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()
Dtransformation_add_function.cpp493 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 …]
Dtransformation_add_dead_continue.cpp74 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()
Dtransformation_merge_function_returns.cpp711 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_add_loop_preheader.cpp93 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()
Dtransformation_add_dead_continue.cpp74 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()
Dtransformation_add_function.cpp498 for (auto loop_header : loop_headers) { in TryToAddLoopLimiters() local
502 GetBackEdgeBlockId(ir_context, loop_header->id()); in TryToAddLoopLimiters()
520 ->Dominates(loop_header->id(), loop_header->MergeBlockId())) { in TryToAddLoopLimiters()
529 if (info.loop_header_id() == loop_header->id()) { in TryToAddLoopLimiters()
603 loop_header->id() && in TryToAddLoopLimiters()
605 loop_header->MergeBlockId()) || in TryToAddLoopLimiters()
607 loop_header->id() && in TryToAddLoopLimiters()
609 loop_header->MergeBlockId())) && in TryToAddLoopLimiters()
614 loop_header->MergeBlockId(); in TryToAddLoopLimiters()
689 auto merge_block = ir_context->cfg()->block(loop_header->MergeBlockId()); in TryToAddLoopLimiters()
[all …]
Dtransformation_merge_function_returns.cpp712 uint32_t loop_header = in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local
723 assert((block->id() == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
725 block->id()) == loop_header) && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
729 block->WhileEachInst([ir_context, loop_header, in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
739 [ir_context, loop_header, merge_block]( in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
746 if (block_use == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_add_loop_preheader.cpp93 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()
Dtransformation_add_dead_continue.cpp74 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()
Dtransformation_add_function.cpp498 for (auto loop_header : loop_headers) { in TryToAddLoopLimiters() local
502 GetBackEdgeBlockId(ir_context, loop_header->id()); in TryToAddLoopLimiters()
520 ->Dominates(loop_header->id(), loop_header->MergeBlockId())) { in TryToAddLoopLimiters()
529 if (info.loop_header_id() == loop_header->id()) { in TryToAddLoopLimiters()
603 loop_header->id() && in TryToAddLoopLimiters()
605 loop_header->MergeBlockId()) || in TryToAddLoopLimiters()
607 loop_header->id() && in TryToAddLoopLimiters()
609 loop_header->MergeBlockId())) && in TryToAddLoopLimiters()
614 loop_header->MergeBlockId(); in TryToAddLoopLimiters()
689 auto merge_block = ir_context->cfg()->block(loop_header->MergeBlockId()); in TryToAddLoopLimiters()
[all …]
Dtransformation_merge_function_returns.cpp712 uint32_t loop_header = in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors() local
723 assert((block->id() == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
725 block->id()) == loop_header) && in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
729 block->WhileEachInst([ir_context, loop_header, in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
739 [ir_context, loop_header, merge_block]( in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
746 if (block_use == loop_header || in CheckDefinitionsStillDominateUsesAfterAddingNewPredecessors()
/external/llvm/test/CodeGen/Hexagon/vect/
Dvect-fma.ll11 br label %polly.loop_header
13 polly.loop_after: ; preds = %polly.loop_header
16 polly.loop_header: ; preds = %polly.loop_body, %entry
20 polly.loop_body: ; preds = %polly.loop_header
25 br label %polly.loop_header
Dvect-apint-truncate.ll11 br label %polly.loop_header
13 polly.loop_after: ; preds = %polly.loop_header
16 polly.loop_header: ; preds = %polly.loop_body, %entry
20 polly.loop_body: ; preds = %polly.loop_header
26 br label %polly.loop_header
Dvect-load-1.ll10 br label %polly.loop_header
12 polly.loop_after: ; preds = %polly.loop_header
15 polly.loop_header: ; preds = %polly.loop_body, %entry
19 polly.loop_body: ; preds = %polly.loop_header
25 br label %polly.loop_header
Dvect-truncate.ll15 do.cond: ; preds = %polly.loop_header
21 polly.loop_header: ; preds = %polly.loop_after45, %polly.loop_body
25 polly.loop_body: ; preds = %polly.loop_header
30 br label %polly.loop_header
33 br i1 undef, label %polly.loop_header, label %do.end
/external/llvm/test/Transforms/LoopVectorize/X86/
Dregister-assumption.ll14 br label %loop_header.dim.017.preheader
16 loop_header.dim.017.preheader: ; preds = %loop_exit.dim.016, %loop_exit.dim.11.c…
19 loop_body.dim.018: ; preds = %loop_body.dim.018, %loop_header.dim.01…
20 …%invar_address.dim.019.0135 = phi i64 [ 0, %loop_header.dim.017.preheader ], [ %0, %loop_body.dim.…
26 br i1 %1, label %loop_header.dim.017.preheader, label %loop_body.dim.018
/external/llvm/test/CodeGen/X86/
Dloop-blocks.ll15 ; CHECK-NEXT: callq loop_header
22 call void @loop_header()
141 ; CHECK-NEXT: callq loop_header
162 call void @loop_header()
209 ; CHECK-NEXT: callq loop_header
217 call void @loop_header()
237 declare void @loop_header() nounwind
/external/llvm/test/Transforms/LoopUnroll/
Dpr27157.ll9 br label %loop_header
10 loop_header:
22 br i1 %cmp, label %loop_header, label %exit2
/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/
Dcfg_test.cpp254 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()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/
Dcfg_test.cpp254 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()
/external/deqp-deps/SPIRV-Tools/test/opt/
Dcfg_test.cpp254 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()
/external/swiftshader/third_party/SPIRV-Tools/source/val/
Dfunction.cpp348 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()
/external/deqp-deps/SPIRV-Tools/source/val/
Dfunction.cpp348 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()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/val/
Dfunction.cpp347 BasicBlock* loop_header = loop_construct->entry_block(); in GetBlockDepth() local
351 if (loop_header == bb) { in GetBlockDepth()
354 block_depth_[bb] = 1 + GetBlockDepth(loop_header); in GetBlockDepth()

12