Searched refs:NewDecl (Results 1 – 4 of 4) sorted by relevance
1431 auto NewDecl = Intrinsic::getDeclaration(F->getParent(), ID, ArgTys); in remangleIntrinsicFunction() local1432 NewDecl->setCallingConv(F->getCallingConv()); in remangleIntrinsicFunction()1433 assert(NewDecl->getFunctionType() == FTy && "Shouldn't change the signature"); in remangleIntrinsicFunction()1434 return NewDecl; in remangleIntrinsicFunction()
684 Function *NewDecl = in rewriteIntrinsicWithAddressSpace() local687 II->setCalledFunction(NewDecl); in rewriteIntrinsicWithAddressSpace()
272 Function *NewDecl = in rewriteIntrinsicOperands() local275 II->setCalledFunction(NewDecl); in rewriteIntrinsicOperands()
643 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Retain); in OptimizeRetainRVCall() local644 cast<CallInst>(RetainRV)->setCalledFunction(NewDecl); in OptimizeRetainRVCall()748 Function *NewDecl = EP.get(ARCRuntimeEntryPointKind::Autorelease); in OptimizeAutoreleaseRVCall() local749 AutoreleaseRVCI->setCalledFunction(NewDecl); in OptimizeAutoreleaseRVCall()