Home
last modified time | relevance | path

Searched refs:NewRet (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp321 auto NewRet = Ret->clone(); in versionCallSite() local
323 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSite()
324 NewRet->insertBefore(ThenTerm); in versionCallSite()
H A DBasicBlockUtils.cpp1296 Instruction *NewRet = RI->clone(); in FoldReturnIntoUncondBranch() local
1297 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch()
1301 for (Use &Op : NewRet->operands()) { in FoldReturnIntoUncondBranch()
1309 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch()
1321 Pred->getInstList().insert(NewRet->getIterator(), NewEV); in FoldReturnIntoUncondBranch()
1346 return cast<ReturnInst>(NewRet); in FoldReturnIntoUncondBranch()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp1070 auto *NewRet = ReturnInst::Create(F->getContext(), RetVal, RI); in RemoveDeadStuffFromFunction() local
1071 NewRet->setDebugLoc(RI->getDebugLoc()); in RemoveDeadStuffFromFunction()