Searched refs:OldF (Results 1 – 7 of 7) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 833 const FunctionNode &OldF = *Result.first; in insert() local 840 if ((OldF.getFunc()->isInterposable() && !NewFunction->isInterposable()) || in insert() 841 (OldF.getFunc()->isInterposable() == NewFunction->isInterposable() && in insert() 842 OldF.getFunc()->getName() > NewFunction->getName())) { in insert() 844 Function *F = OldF.getFunc(); in insert() 847 assert(OldF.getFunc() != F && "Must have swapped the functions."); in insert() 850 LLVM_DEBUG(dbgs() << " " << OldF.getFunc()->getName() in insert() 854 mergeTwoFunctions(OldF.getFunc(), DeleteF); in insert()
|
D | ArgumentPromotion.cpp | 971 Function &OldF = N.getFunction(); in run() local 978 assert(&F == &OldF && "Called with an unexpected function!"); in run() 982 Function *NewF = promoteArguments(&OldF, AARGetter, MaxElements, None); in run() 993 OldF.eraseFromParent(); in run() 1069 Function *OldF = OldNode->getFunction(); in runOnSCC() local 1070 if (!OldF) in runOnSCC() 1081 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements, in runOnSCC() 1091 OldF->setLinkage(Function::ExternalLinkage); in runOnSCC()
|
/external/llvm/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 1807 const FunctionNode &OldF = *Result.first; in insert() local 1826 if ((OldF.getFunc()->isInterposable() && !NewFunction->isInterposable()) || in insert() 1827 (OldF.getFunc()->isInterposable() == NewFunction->isInterposable() && in insert() 1828 OldF.getFunc()->getName() > NewFunction->getName())) { in insert() 1830 Function *F = OldF.getFunc(); in insert() 1833 assert(OldF.getFunc() != F && "Must have swapped the functions."); in insert() 1836 DEBUG(dbgs() << " " << OldF.getFunc()->getName() in insert() 1840 mergeTwoFunctions(OldF.getFunc(), DeleteF); in insert()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | MergeFunctions.cpp | 818 const ComparableFunction &OldF = *Result.first; in insert() local 821 assert(!OldF.getFunc()->mayBeOverridden() || in insert() 824 DEBUG(dbgs() << " " << OldF.getFunc()->getName() << " == " in insert() 829 mergeTwoFunctions(OldF.getFunc(), DeleteF); in insert()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | LazyCallGraph.cpp | 1433 Function &OldF = N.getFunction(); in replaceNodeFunction() local 1451 assert(&OldF != &NewF && "Cannot replace a function with itself!"); in replaceNodeFunction() 1452 assert(OldF.use_empty() && in replaceNodeFunction() 1459 G->NodeMap.erase(&OldF); in replaceNodeFunction()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 219 auto *OldF = cast<llvm::Function>(Entry); in applyReplacements() local 233 OldF->replaceAllUsesWith(Replacement); in applyReplacements() 236 OldF->getParent()->getFunctionList().insertAfter(OldF->getIterator(), in applyReplacements() 239 OldF->eraseFromParent(); in applyReplacements()
|
/external/clang/lib/Sema/ |
D | SemaOverload.cpp | 958 if (FunctionDecl *OldF = OldD->getAsFunction()) { in CheckOverload() local 959 if (!IsOverload(New, OldF, UseMemberUsingDeclRules)) { in CheckOverload()
|