Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCallPromotionUtils.cpp322 auto NewRet = Ret->clone(); in versionCallSite() local
324 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSite()
325 NewRet->insertBefore(ThenTerm); in versionCallSite()
H A DBasicBlockUtils.cpp1543 Instruction *NewRet = RI->clone(); in FoldReturnIntoUncondBranch() local
1544 NewRet->insertInto(Pred, Pred->end()); in FoldReturnIntoUncondBranch()
1548 for (Use &Op : NewRet->operands()) { in FoldReturnIntoUncondBranch()
1556 NewBC->insertInto(Pred, NewRet->getIterator()); in FoldReturnIntoUncondBranch()
1568 NewEV->insertInto(Pred, NewRet->getIterator()); in FoldReturnIntoUncondBranch()
1593 return cast<ReturnInst>(NewRet); in FoldReturnIntoUncondBranch()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DDeadArgumentElimination.cpp1073 auto *NewRet = ReturnInst::Create(F->getContext(), RetVal, RI); in removeDeadStuffFromFunction() local
1074 NewRet->setDebugLoc(RI->getDebugLoc()); in removeDeadStuffFromFunction()