/external/deqp-deps/SPIRV-Tools/test/opt/ |
D | struct_cfg_analysis_test.cpp | 62 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 76 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 90 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 137 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 151 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 165 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 179 EXPECT_EQ(analysis.MergeBlock(4), 3); in TEST_F() 231 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 245 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 259 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() [all …]
|
/external/swiftshader/third_party/SPIRV-Tools/test/opt/ |
D | struct_cfg_analysis_test.cpp | 62 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 76 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 90 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 137 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 151 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 165 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() 179 EXPECT_EQ(analysis.MergeBlock(4), 3); in TEST_F() 231 EXPECT_EQ(analysis.MergeBlock(1), 0); in TEST_F() 245 EXPECT_EQ(analysis.MergeBlock(2), 3); in TEST_F() 259 EXPECT_EQ(analysis.MergeBlock(3), 0); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 48 BasicBlock *MergeBlock) { in fixupPHINodeForNormalDest() argument 53 Phi.setIncomingBlock(Idx, MergeBlock); in fixupPHINodeForNormalDest() 105 BasicBlock *MergeBlock, IRBuilder<> &Builder) { in createRetPHINode() argument 110 Builder.SetInsertPoint(&MergeBlock->front()); in createRetPHINode() 278 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() local 282 MergeBlock->setName("if.end.icp"); in versionCallSite() 300 Builder.SetInsertPoint(MergeBlock); in versionCallSite() 304 fixupPHINodeForNormalDest(OrigInvoke, OrigBlock, MergeBlock); in versionCallSite() 305 fixupPHINodeForUnwindDest(OrigInvoke, MergeBlock, ThenBlock, ElseBlock); in versionCallSite() 309 OrigInvoke->setNormalDest(MergeBlock); in versionCallSite() [all …]
|
/external/llvm-project/polly/lib/CodeGen/ |
D | Utils.cpp | 119 BasicBlock *MergeBlock = in executeScopConditionally() local 121 MergeBlock->setName("polly.merge_new_and_old"); in executeScopConditionally() 124 R.replaceExitRecursive(MergeBlock); in executeScopConditionally() 125 RI.setRegionFor(MergeBlock, R.getParent()); in executeScopConditionally() 181 Builder.CreateBr(MergeBlock); in executeScopConditionally() 182 DT.changeImmediateDominator(MergeBlock, SplitBlock); in executeScopConditionally()
|
D | CodeGeneration.cpp | 240 BasicBlock *MergeBlock = ExitBlock->getUniqueSuccessor(); in CodeGen() local 241 P.insertRegionEnd(MergeBlock->getTerminator()); in CodeGen() 261 auto *MergeBlock = ExitingBlock->getUniqueSuccessor(); in CodeGen() local 262 assert(MergeBlock); in CodeGen() 267 DT.changeImmediateDominator(MergeBlock, ExitingBB); in CodeGen()
|
D | PPCGCodeGeneration.cpp | 3501 auto *MergeBlock = ExitingBlock->getUniqueSuccessor(); in generateCode() local 3502 assert(MergeBlock); in generateCode() 3508 DT->changeImmediateDominator(MergeBlock, ExitingBB); in generateCode() 3526 BasicBlock *MergeBlock = ExitingBlock->getUniqueSuccessor(); in generateCode() local 3527 P.insertRegionEnd(MergeBlock->getTerminator()); in generateCode()
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | CallPromotionUtils.cpp | 51 BasicBlock *MergeBlock) { in fixupPHINodeForNormalDest() argument 56 Phi.setIncomingBlock(Idx, MergeBlock); in fixupPHINodeForNormalDest() 108 BasicBlock *MergeBlock, IRBuilder<> &Builder) { in createRetPHINode() argument 113 Builder.SetInsertPoint(&MergeBlock->front()); in createRetPHINode() 345 BasicBlock *MergeBlock = OrigInst->getParent(); in versionCallSite() local 349 MergeBlock->setName("if.end.icp"); in versionCallSite() 367 Builder.SetInsertPoint(MergeBlock); in versionCallSite() 371 fixupPHINodeForNormalDest(OrigInvoke, OrigBlock, MergeBlock); in versionCallSite() 372 fixupPHINodeForUnwindDest(OrigInvoke, MergeBlock, ThenBlock, ElseBlock); in versionCallSite() 376 OrigInvoke->setNormalDest(MergeBlock); in versionCallSite() [all …]
|
/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | struct_cfg_analysis.cpp | 120 uint32_t StructuredCFGAnalysis::MergeBlock(uint32_t bb_id) { in MergeBlock() function in spvtools::opt::StructuredCFGAnalysis 136 for (uint32_t merge_block_id = MergeBlock(bb_id); merge_block_id != 0; in NestingDepth() 137 merge_block_id = MergeBlock(merge_block_id)) { in NestingDepth()
|
D | struct_cfg_analysis.h | 54 uint32_t MergeBlock(uint32_t bb_id);
|
/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
D | struct_cfg_analysis.cpp | 120 uint32_t StructuredCFGAnalysis::MergeBlock(uint32_t bb_id) { in MergeBlock() function in spvtools::opt::StructuredCFGAnalysis 136 for (uint32_t merge_block_id = MergeBlock(bb_id); merge_block_id != 0; in NestingDepth() 137 merge_block_id = MergeBlock(merge_block_id)) { in NestingDepth()
|
D | struct_cfg_analysis.h | 54 uint32_t MergeBlock(uint32_t bb_id);
|
/external/swiftshader/third_party/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 97 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock()
|
/external/deqp-deps/SPIRV-Tools/source/reduce/ |
D | structured_loop_to_selection_reduction_opportunity.cpp | 97 new_merge_target = context_->GetStructuredCFGAnalysis()->MergeBlock(pred); in RedirectToClosestMergeBlock()
|
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
D | transformation_propagate_instruction_down.cpp | 530 : ir_context->GetStructuredCFGAnalysis()->MergeBlock(block_id); in GetOpPhiBlockId()
|
/external/deqp-deps/SPIRV-Tools/source/fuzz/ |
D | transformation_propagate_instruction_down.cpp | 530 : ir_context->GetStructuredCFGAnalysis()->MergeBlock(block_id); in GetOpPhiBlockId()
|