Home
last modified time | relevance | path

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

/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/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.cpp305 Loop* parent_loop = loop->GetParent(); in SplitLoopHeader() local
306 if (parent_loop != nullptr) { in SplitLoopHeader()
307 parent_loop->AddBasicBlock(bb->id()); in SplitLoopHeader()
308 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.cpp305 Loop* parent_loop = loop->GetParent(); in SplitLoopHeader() local
306 if (parent_loop != nullptr) { in SplitLoopHeader()
307 parent_loop->AddBasicBlock(bb->id()); in SplitLoopHeader()
308 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/compiler/nir/
Dnir_to_lcssa.c175 nir_loop *parent_loop = state->loop; in convert_to_lcssa() local
181 state->loop = parent_loop; in convert_to_lcssa()