/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | struct_cfg_analysis_test.cpp | 60 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 66 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 72 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 111 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 117 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 123 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 129 EXPECT_EQ(analysis.MergeBlock(4), 3); in TEST_F() 173 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 179 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 185 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | struct_cfg_analysis_test.cpp | 60 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 66 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 72 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 111 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 117 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 123 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 129 EXPECT_EQ(analysis.MergeBlock(4), 3); in TEST_F() 173 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 179 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 185 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 49 BasicBlock *MergeBlock) { in fixupPHINodeForNormalDest() argument 54 Phi.setIncomingBlock(Idx, MergeBlock); in fixupPHINodeForNormalDest() 106 BasicBlock *MergeBlock, IRBuilder<> &Builder) { in createRetPHINode() argument 111 Builder.SetInsertPoint(&MergeBlock->front()); in createRetPHINode() 279 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() local 283 MergeBlock->setName("if.end.icp"); in versionCallSite() 301 Builder.SetInsertPoint(MergeBlock); in versionCallSite() 305 fixupPHINodeForNormalDest(OrigInvoke, OrigBlock, MergeBlock); in versionCallSite() 306 fixupPHINodeForUnwindDest(OrigInvoke, MergeBlock, ThenBlock, ElseBlock); in versionCallSite() 310 OrigInvoke->setNormalDest(MergeBlock); in versionCallSite() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | struct_cfg_analysis.h | 48 uint32_t MergeBlock(uint32_t bb_id);
|
D | struct_cfg_analysis.cpp | 85 uint32_t StructuredCFGAnalysis::MergeBlock(uint32_t bb_id) { in MergeBlock() function in spvtools::opt::StructuredCFGAnalysis
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | struct_cfg_analysis.h | 48 uint32_t MergeBlock(uint32_t bb_id);
|
D | struct_cfg_analysis.cpp | 85 uint32_t StructuredCFGAnalysis::MergeBlock(uint32_t bb_id) { in MergeBlock() function in spvtools::opt::StructuredCFGAnalysis
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 100 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 98 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock()
|