Home
last modified time | relevance | path

Searched refs:parent_loop (Results 1 – 14 of 14) sorted by relevance

/external/angle/third_party/vulkan-deps/spirv-tools/src/test/opt/loop_optimizations/
Dnested_loops.cpp168 Loop& parent_loop = *ld[21]; in TEST_F() local
169 EXPECT_TRUE(parent_loop.HasNestedLoops()); in TEST_F()
170 EXPECT_FALSE(parent_loop.IsNested()); in TEST_F()
171 EXPECT_EQ(parent_loop.GetDepth(), 1u); in TEST_F()
172 EXPECT_EQ(std::distance(parent_loop.begin(), parent_loop.end()), 2u); in TEST_F()
173 EXPECT_EQ(parent_loop.GetHeaderBlock(), spvtest::GetBasicBlock(f, 21)); in TEST_F()
174 EXPECT_EQ(parent_loop.GetLatchBlock(), spvtest::GetBasicBlock(f, 23)); in TEST_F()
175 EXPECT_EQ(parent_loop.GetMergeBlock(), spvtest::GetBasicBlock(f, 22)); in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/test/opt/loop_optimizations/
Dnested_loops.cpp168 Loop& parent_loop = *ld[21]; in TEST_F() local
169 EXPECT_TRUE(parent_loop.HasNestedLoops()); in TEST_F()
170 EXPECT_FALSE(parent_loop.IsNested()); in TEST_F()
171 EXPECT_EQ(parent_loop.GetDepth(), 1u); in TEST_F()
172 EXPECT_EQ(std::distance(parent_loop.begin(), parent_loop.end()), 2u); in TEST_F()
173 EXPECT_EQ(parent_loop.GetHeaderBlock(), spvtest::GetBasicBlock(f, 21)); in TEST_F()
174 EXPECT_EQ(parent_loop.GetLatchBlock(), spvtest::GetBasicBlock(f, 23)); in TEST_F()
175 EXPECT_EQ(parent_loop.GetMergeBlock(), spvtest::GetBasicBlock(f, 22)); in TEST_F()
/external/deqp-deps/SPIRV-Tools/test/opt/loop_optimizations/
Dnested_loops.cpp168 Loop& parent_loop = *ld[21]; in TEST_F() local
169 EXPECT_TRUE(parent_loop.HasNestedLoops()); in TEST_F()
170 EXPECT_FALSE(parent_loop.IsNested()); in TEST_F()
171 EXPECT_EQ(parent_loop.GetDepth(), 1u); in TEST_F()
172 EXPECT_EQ(std::distance(parent_loop.begin(), parent_loop.end()), 2u); in TEST_F()
173 EXPECT_EQ(parent_loop.GetHeaderBlock(), spvtest::GetBasicBlock(f, 21)); in TEST_F()
174 EXPECT_EQ(parent_loop.GetLatchBlock(), spvtest::GetBasicBlock(f, 23)); in TEST_F()
175 EXPECT_EQ(parent_loop.GetMergeBlock(), spvtest::GetBasicBlock(f, 22)); in TEST_F()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/opt/
Dloop_fission.cpp279 Loop* parent_loop = loop_; in CanPerformSplit() local
280 while (parent_loop) { in CanPerformSplit()
281 loops.push_back(parent_loop); in CanPerformSplit()
282 parent_loop = parent_loop->GetParent(); in CanPerformSplit()
Dcfg.cpp326 Loop* parent_loop = loop->GetParent(); in SplitLoopHeader() local
327 if (parent_loop != nullptr) { in SplitLoopHeader()
328 parent_loop->AddBasicBlock(bb->id()); in SplitLoopHeader()
329 loop_desc->SetBasicBlockToLoop(bb->id(), parent_loop); in SplitLoopHeader()
Dloop_utils.cpp422 if (Loop* parent_loop = loop_desc[non_dedicate]) in CreateLoopDedicatedExits() local
423 parent_loop->AddBasicBlock(&exit); in CreateLoopDedicatedExits()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dloop_fission.cpp279 Loop* parent_loop = loop_; in CanPerformSplit() local
280 while (parent_loop) { in CanPerformSplit()
281 loops.push_back(parent_loop); in CanPerformSplit()
282 parent_loop = parent_loop->GetParent(); in CanPerformSplit()
Dcfg.cpp326 Loop* parent_loop = loop->GetParent(); in SplitLoopHeader() local
327 if (parent_loop != nullptr) { in SplitLoopHeader()
328 parent_loop->AddBasicBlock(bb->id()); in SplitLoopHeader()
329 loop_desc->SetBasicBlockToLoop(bb->id(), parent_loop); in SplitLoopHeader()
Dloop_utils.cpp422 if (Loop* parent_loop = loop_desc[non_dedicate]) in CreateLoopDedicatedExits() local
423 parent_loop->AddBasicBlock(&exit); in CreateLoopDedicatedExits()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dloop_fission.cpp279 Loop* parent_loop = loop_; in CanPerformSplit() local
280 while (parent_loop) { in CanPerformSplit()
281 loops.push_back(parent_loop); in CanPerformSplit()
282 parent_loop = parent_loop->GetParent(); in CanPerformSplit()
Dcfg.cpp326 Loop* parent_loop = loop->GetParent(); in SplitLoopHeader() local
327 if (parent_loop != nullptr) { in SplitLoopHeader()
328 parent_loop->AddBasicBlock(bb->id()); in SplitLoopHeader()
329 loop_desc->SetBasicBlockToLoop(bb->id(), parent_loop); in SplitLoopHeader()
Dloop_utils.cpp422 if (Loop* parent_loop = loop_desc[non_dedicate]) in CreateLoopDedicatedExits() local
423 parent_loop->AddBasicBlock(&exit); in CreateLoopDedicatedExits()
/external/mesa3d/src/amd/compiler/
Daco_instruction_selection.h74 } parent_loop; member
Daco_instruction_selection.cpp5357 ctx->cf_info.parent_loop.has_divergent_continue; in visit_discard()
5364 Block *linear_target = ctx->cf_info.parent_loop.exit; in visit_discard()
9468 lc->header_idx_old = std::exchange(ctx->cf_info.parent_loop.header_idx, loop_header->index); in begin_loop()
9469 lc->exit_old = std::exchange(ctx->cf_info.parent_loop.exit, &lc->loop_exit); in begin_loop()
9470 lc->divergent_cont_old = std::exchange(ctx->cf_info.parent_loop.has_divergent_continue, false); in begin_loop()
9471 lc->divergent_branch_old = std::exchange(ctx->cf_info.parent_loop.has_divergent_branch, false); in begin_loop()
9480 unsigned loop_header_idx = ctx->cf_info.parent_loop.header_idx; in end_loop()
9509 if (!ctx->cf_info.parent_loop.has_divergent_branch) in end_loop()
9514 if (!ctx->cf_info.parent_loop.has_divergent_branch) in end_loop()
9552 ctx->cf_info.parent_loop.header_idx = lc->header_idx_old; in end_loop()
[all …]