Home
last modified time | relevance | path

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

/llvm-project-15.0.7/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.cpp1322 Instruction *NewRet = RI->clone(); in FoldReturnIntoUncondBranch() local
1323 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch()
1327 for (Use &Op : NewRet->operands()) { in FoldReturnIntoUncondBranch()
1335 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch()
1347 Pred->getInstList().insert(NewRet->getIterator(), NewEV); in FoldReturnIntoUncondBranch()
1372 return cast<ReturnInst>(NewRet); in FoldReturnIntoUncondBranch()
/llvm-project-15.0.7/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp1057 auto *NewRet = ReturnInst::Create(F->getContext(), RetVal, RI); in removeDeadStuffFromFunction() local
1058 NewRet->setDebugLoc(RI->getDebugLoc()); in removeDeadStuffFromFunction()