Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp581 Instruction *NewRet = RI->clone(); in FoldReturnIntoUncondBranch() local
582 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch()
586 for (User::op_iterator i = NewRet->op_begin(), e = NewRet->op_end(); in FoldReturnIntoUncondBranch()
595 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch()
612 return cast<ReturnInst>(NewRet); in FoldReturnIntoUncondBranch()
/external/llvm-project/llvm/lib/Transforms/Utils/
DCallPromotionUtils.cpp325 auto NewRet = Ret->clone(); in versionCallSite() local
327 NewRet->replaceUsesOfWith(Ret->getReturnValue(), NewRetVal); in versionCallSite()
328 NewRet->insertBefore(ThenTerm); in versionCallSite()
DBasicBlockUtils.cpp927 Instruction *NewRet = RI->clone(); in FoldReturnIntoUncondBranch() local
928 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch()
932 for (User::op_iterator i = NewRet->op_begin(), e = NewRet->op_end(); in FoldReturnIntoUncondBranch()
941 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch()
953 Pred->getInstList().insert(NewRet->getIterator(), NewEV); in FoldReturnIntoUncondBranch()
978 return cast<ReturnInst>(NewRet); in FoldReturnIntoUncondBranch()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBasicBlockUtils.cpp887 Instruction *NewRet = RI->clone(); in FoldReturnIntoUncondBranch() local
888 Pred->getInstList().push_back(NewRet); in FoldReturnIntoUncondBranch()
892 for (User::op_iterator i = NewRet->op_begin(), e = NewRet->op_end(); in FoldReturnIntoUncondBranch()
901 Pred->getInstList().insert(NewRet->getIterator(), NewBC); in FoldReturnIntoUncondBranch()
922 return cast<ReturnInst>(NewRet); in FoldReturnIntoUncondBranch()
/external/llvm-project/llvm/lib/Transforms/IPO/
DDeadArgumentElimination.cpp1067 auto *NewRet = ReturnInst::Create(F->getContext(), RetVal, RI); in RemoveDeadStuffFromFunction() local
1068 NewRet->setDebugLoc(RI->getDebugLoc()); in RemoveDeadStuffFromFunction()