Searched refs:OldF (Results 1 – 4 of 4) sorted by relevance
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyAddMissingPrototypes.cpp | 133 Function *OldF = Pair.first; in runOnModule() local 135 std::string Name = OldF->getName(); in runOnModule() 137 OldF->replaceAllUsesWith( in runOnModule() 138 ConstantExpr::getPointerBitCastOrAddrSpaceCast(NewF, OldF->getType())); in runOnModule() 139 OldF->eraseFromParent(); in runOnModule()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | ArgumentPromotion.cpp | 1032 Function &OldF = N.getFunction(); in run() local 1039 assert(&F == &OldF && "Called with an unexpected function!"); in run() 1043 const TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(OldF); in run() 1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI); in run() 1056 OldF.eraseFromParent(); in run() 1134 Function *OldF = OldNode->getFunction(); in runOnSCC() local 1135 if (!OldF) in runOnSCC() 1149 getAnalysis<TargetTransformInfoWrapperPass>().getTTI(*OldF); in runOnSCC() 1150 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements, in runOnSCC() 1160 OldF->setLinkage(Function::ExternalLinkage); in runOnSCC()
|
D | MergeFunctions.cpp | 916 const FunctionNode &OldF = *Result.first; in insert() local 918 if (!isFuncOrderCorrect(OldF.getFunc(), NewFunction)) { in insert() 920 Function *F = OldF.getFunc(); in insert() 923 assert(OldF.getFunc() != F && "Must have swapped the functions."); in insert() 926 LLVM_DEBUG(dbgs() << " " << OldF.getFunc()->getName() in insert() 930 mergeTwoFunctions(OldF.getFunc(), DeleteF); in insert()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | LazyCallGraph.cpp | 1446 Function &OldF = N.getFunction(); in replaceNodeFunction() local 1464 assert(&OldF != &NewF && "Cannot replace a function with itself!"); in replaceNodeFunction() 1465 assert(OldF.use_empty() && in replaceNodeFunction() 1472 G->NodeMap.erase(&OldF); in replaceNodeFunction()
|