Searched refs:RetBlockPHI (Results 1 – 3 of 3) sorted by relevance
/external/llvm/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 105 PHINode *RetBlockPHI = dyn_cast<PHINode>(RetBlock->begin()); in mergeEmptyReturnBlocks() local 106 if (!RetBlockPHI) { in mergeEmptyReturnBlocks() 109 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in mergeEmptyReturnBlocks() 114 RetBlockPHI->addIncoming(InVal, *PI); in mergeEmptyReturnBlocks() 115 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks() 121 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in mergeEmptyReturnBlocks()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 122 PHINode *RetBlockPHI = dyn_cast<PHINode>(RetBlock->begin()); in mergeEmptyReturnBlocks() local 123 if (!RetBlockPHI) { in mergeEmptyReturnBlocks() 126 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in mergeEmptyReturnBlocks() 131 RetBlockPHI->addIncoming(InVal, *PI); in mergeEmptyReturnBlocks() 132 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in mergeEmptyReturnBlocks() 138 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in mergeEmptyReturnBlocks()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/ |
D | SimplifyCFGPass.cpp | 260 PHINode *RetBlockPHI = dyn_cast<PHINode>(RetBlock->begin()); in MergeEmptyReturnBlocks() local 261 if (RetBlockPHI == 0) { in MergeEmptyReturnBlocks() 264 RetBlockPHI = PHINode::Create(Ret->getOperand(0)->getType(), in MergeEmptyReturnBlocks() 269 RetBlockPHI->addIncoming(InVal, *PI); in MergeEmptyReturnBlocks() 270 RetBlock->getTerminator()->setOperand(0, RetBlockPHI); in MergeEmptyReturnBlocks() 276 RetBlockPHI->addIncoming(Ret->getOperand(0), &BB); in MergeEmptyReturnBlocks()
|