Home
last modified time | relevance | path

Searched refs:NewRetBlock (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp88 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in runOnFunction() local
93 ReturnInst::Create(F.getContext(), nullptr, NewRetBlock); in runOnFunction()
98 NewRetBlock->getInstList().push_back(PN); in runOnFunction()
99 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction()
112 BranchInst::Create(NewRetBlock, BB); in runOnFunction()
114 ReturnBlock = NewRetBlock; in runOnFunction()
/external/swiftshader/third_party/LLVM/lib/Transforms/Utils/
DUnifyFunctionExitNodes.cpp111 BasicBlock *NewRetBlock = BasicBlock::Create(F.getContext(), in runOnFunction() local
116 ReturnInst::Create(F.getContext(), NULL, NewRetBlock); in runOnFunction()
121 NewRetBlock->getInstList().push_back(PN); in runOnFunction()
122 ReturnInst::Create(F.getContext(), PN, NewRetBlock); in runOnFunction()
138 BranchInst::Create(NewRetBlock, BB); in runOnFunction()
140 ReturnBlock = NewRetBlock; in runOnFunction()