Searched refs:OldF (Results 1 - 6 of 6) sorted by relevance

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyAddMissingPrototypes.cpp133 Function *OldF = Pair.first; local
135 std::string Name = OldF->getName();
137 OldF->replaceAllUsesWith(
138 ConstantExpr::getPointerBitCastOrAddrSpaceCast(NewF, OldF->getType()));
139 OldF->eraseFromParent();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DArgumentPromotion.cpp1032 Function &OldF = N.getFunction(); local
1039 assert(&F == &OldF && "Called with an unexpected function!");
1043 const TargetTransformInfo &TTI = FAM.getResult<TargetIRAnalysis>(OldF);
1045 promoteArguments(&OldF, AARGetter, MaxElements, None, TTI);
1056 OldF.eraseFromParent();
1134 Function *OldF = OldNode->getFunction(); local
1135 if (!OldF)
1149 getAnalysis<TargetTransformInfoWrapperPass>().getTTI(*OldF);
1150 if (Function *NewF = promoteArguments(OldF, AARGetter, MaxElements,
1160 OldF
[all...]
H A DMergeFunctions.cpp916 const FunctionNode &OldF = *Result.first; local
918 if (!isFuncOrderCorrect(OldF.getFunc(), NewFunction)) {
920 Function *F = OldF.getFunc();
923 assert(OldF.getFunc() != F && "Must have swapped the functions.");
926 LLVM_DEBUG(dbgs() << " " << OldF.getFunc()->getName()
930 mergeTwoFunctions(OldF.getFunc(), DeleteF);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
H A DLazyCallGraph.cpp1446 Function &OldF = N.getFunction();
1464 assert(&OldF != &NewF && "Cannot replace a function with itself!");
1465 assert(OldF.use_empty() &&
1472 G->NodeMap.erase(&OldF);
/freebsd-12-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenModule.cpp247 auto *OldF = cast<llvm::Function>(Entry); local
261 OldF->replaceAllUsesWith(Replacement);
264 OldF->getParent()->getFunctionList().insertAfter(OldF->getIterator(),
267 OldF->eraseFromParent();
/freebsd-12-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaOverload.cpp1058 if (FunctionDecl *OldF = OldD->getAsFunction()) {
1059 if (!IsOverload(New, OldF, UseMemberUsingDeclRules)) {
1075 if (!getASTContext().canBuiltinBeRedeclared(OldF)) {

Completed in 299 milliseconds