Searched refs:OldF (Results 1 - 7 of 7) sorted by relevance
/freebsd-current/contrib/llvm-project/llvm/lib/Target/SPIRV/ |
H A D | SPIRVRegularizer.cpp | 197 auto *OldF = CI->getCalledFunction(); 199 if (!Old2NewFuncs.count(OldF)) { 201 SmallVector<Type *, 2> ArgTypes = {OldF->getArg(0)->getType(), Arg0Ty}; 203 FunctionType::get(OldF->getReturnType(), ArgTypes, OldF->isVarArg()); 204 NewF = Function::Create(NewFTy, OldF->getLinkage(), OldF->getName(), 205 *OldF->getParent()); 208 for (auto &Arg : OldF->args()) { 214 CloneFunctionInto(NewF, OldF, VMa 251 Function *OldF = OldNew.first; local [all...] |
/freebsd-current/contrib/llvm-project/llvm/lib/Target/WebAssembly/ |
H A D | WebAssemblyAddMissingPrototypes.cpp | 143 Function *OldF = Pair.first; local 145 std::string Name = std::string(OldF->getName()); 147 OldF->replaceAllUsesWith( 148 ConstantExpr::getPointerBitCastOrAddrSpaceCast(NewF, OldF->getType())); 149 OldF->eraseFromParent();
|
/freebsd-current/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
H A D | MergeFunctions.cpp | 937 const FunctionNode &OldF = *Result.first; local 939 if (!isFuncOrderCorrect(OldF.getFunc(), NewFunction)) { 941 Function *F = OldF.getFunc(); 944 assert(OldF.getFunc() != F && "Must have swapped the functions."); 947 LLVM_DEBUG(dbgs() << " " << OldF.getFunc()->getName() 951 mergeTwoFunctions(OldF.getFunc(), DeleteF);
|
H A D | ArgumentPromotion.cpp | 818 Function &OldF = N.getFunction(); 819 Function *NewF = promoteArguments(&OldF, FAM, MaxElements, IsRecursive); 830 FAM.clear(OldF, OldF.getName()); 831 OldF.eraseFromParent();
|
/freebsd-current/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | LazyCallGraph.cpp | 1443 Function &OldF = N.getFunction(); 1460 assert(&OldF != &NewF && "Cannot replace a function with itself!"); 1461 assert(OldF.use_empty() && 1468 G->NodeMap.erase(&OldF); 1472 if (G->isLibFunction(OldF)) { 1473 G->LibFunctions.remove(&OldF);
|
/freebsd-current/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 509 auto *OldF = cast<llvm::Function>(Entry); local 523 OldF->replaceAllUsesWith(Replacement); 526 OldF->getParent()->getFunctionList().insertAfter(OldF->getIterator(), 529 OldF->eraseFromParent();
|
/freebsd-current/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaOverload.cpp | 1159 if (FunctionDecl *OldF = OldD->getAsFunction()) { 1160 if (!IsOverload(New, OldF, UseMemberUsingDeclRules)) { 1176 if (!getASTContext().canBuiltinBeRedeclared(OldF)) {
|
Completed in 322 milliseconds