Searched refs:setCalledFunction (Results 1 – 20 of 20) sorted by relevance
139 cast<CallInst>(Retain)->setCalledFunction(Decl); in optimizeRetainCall()187 Retain->setCalledFunction(Decl); in contractAutorelease()
633 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall()669 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()
459 CI->setCalledFunction(DirectCallee); in createDirectCallInst()468 II->setCalledFunction(DirectCallee); in createDirectCallInst()
1417 CS.setCalledFunction(F); in visitCallSite()1424 CS.setCalledFunction(F); in visitCallSite()1429 CS.setCalledFunction(F); in visitCallSite()
100 void setCalledFunction(Value *V) { in setCalledFunction() function
222 CI.setCalledFunction(Intrinsic::getDeclaration(M, MemCpyID, Tys)); in visitCallInst()930 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite()1390 CS.setCalledFunction(NewCallee); in transformCallThroughTrampoline()
1914 cast<CallInst>(Retain)->setCalledFunction(getRetainRVCallee(F.getParent())); in OptimizeRetainCall()1953 cast<CallInst>(RetainRV)->setCalledFunction(getRetainCallee(F.getParent())); in OptimizeRetainRVCall()1980 setCalledFunction(getAutoreleaseCallee(F.getParent())); in OptimizeAutoreleaseRVCall()3195 Autorelease->setCalledFunction(getAutoreleaseRVCallee(F.getParent())); in OptimizeReturns()3487 Retain->setCalledFunction(getRetainAutoreleaseRVCallee(F.getParent())); in ContractAutorelease()3489 Retain->setCalledFunction(getRetainAutoreleaseCallee(F.getParent())); in ContractAutorelease()
1172 New->setCalledFunction(IPrintFFn); in CallOptimizer()1266 New->setCalledFunction(SIPrintFFn); in CallOptimizer()1404 New->setCalledFunction(FIPrintFFn); in CallOptimizer()
846 M->setCalledFunction(Intrinsic::getDeclaration(Mod, Intrinsic::memcpy, in processMemMove()
107 void setCalledFunction(Value *V) { in setCalledFunction() function
1819 void setCalledFunction(Value* Fn) {1820 setCalledFunction(1824 void setCalledFunction(FunctionType *FTy, Value *Fn) {3783 void setCalledFunction(Value* Fn) {3784 setCalledFunction(3788 void setCalledFunction(FunctionType *FTy, Value *Fn) {
788 Call->setCalledFunction(NewF); in handleAlloca()
1653 New->setCalledFunction(IPrintFFn); in optimizePrintF()1734 New->setCalledFunction(SIPrintFFn); in optimizeSPrintF()1804 New->setCalledFunction(FIPrintFFn); in optimizeFPrintF()
407 VCallSite.CS.setCalledFunction(ConstantExpr::getBitCast( in trySingleImplDevirt()
657 CS.setCalledFunction(NewV); in OptimizeAwayTrappingUsesOfValue()
1296 CI.setCalledFunction(Intrinsic::getDeclaration(M, MemCpyID, Tys)); in visitCallInst()2547 cast<InvokeInst>(OldCall)->setCalledFunction( in visitCallSite()3047 CS.setCalledFunction(NewCallee); in transformCallThroughTrampoline()
1251 M->setCalledFunction(Intrinsic::getDeclaration(M->getModule(), in processMemMove()
1336 void setCalledFunction(Value* Fn) {2808 void setCalledFunction(Value* Fn) {
723 CS.setCalledFunction(NewV); in OptimizeAwayTrappingUsesOfValue()
5714 CallSite(*UI++).setCalledFunction(I.second); in materialize()