Lines Matching defs:oldFunction
820 Function *oldFunction,
883 RetTy, ParamTy, AllowVarArgs && oldFunction->isVarArg());
891 funcType, GlobalValue::InternalLinkage, oldFunction->getAddressSpace(),
892 oldFunction->getName() + "." + SuffixToUse, M);
893 newFunction->IsNewDbgInfoFormat = oldFunction->IsNewDbgInfoFormat;
902 for (const auto &Attr : oldFunction->getAttributes().getFnAttrs()) {
1078 if (I->isTerminator() && I->getFunction() == oldFunction &&
1725 Function *oldFunction = header->getParent();
1786 "codeRepl", oldFunction,
1788 codeReplacer->IsNewDbgInfoFormat = oldFunction->IsNewDbgInfoFormat;
1794 newFuncRoot->IsNewDbgInfoFormat = oldFunction->IsNewDbgInfoFormat;
1801 if (oldFunction->getSubprogram()) {
1861 oldFunction, oldFunction->getParent());
1880 oldFunction->getParent(), LifetimesStart.getArrayRef(), {}, TheCall);
1883 if (oldFunction->hasPersonalityFn())
1884 newFunction->setPersonalityFn(oldFunction->getPersonalityFn());
1917 fixupDebugInfoPostExtraction(*oldFunction, *newFunction, *TheCall);
1923 LLVM_DEBUG(if (verifyFunction(*oldFunction))
1924 report_fatal_error("verification of oldFunction failed!"));
1925 LLVM_DEBUG(if (AC && verifyAssumptionCache(*oldFunction, *newFunction, AC))