Lines Matching refs:NewF
289 Function *NewF = in cloneFunctionDecl() local
292 NewF->copyAttributesFrom(&F); in cloneFunctionDecl()
295 (*VMap)[&F] = NewF; in cloneFunctionDecl()
296 auto NewArgI = NewF->arg_begin(); in cloneFunctionDecl()
302 return NewF; in cloneFunctionDecl()
307 Function *NewF) { in moveFunctionBody() argument
309 if (!NewF) in moveFunctionBody()
310 NewF = cast<Function>(VMap[&OrigF]); in moveFunctionBody()
312 assert(VMap[&OrigF] == NewF && "Incorrect function mapping in VMap."); in moveFunctionBody()
313 assert(NewF && "Function mapping missing from VMap."); in moveFunctionBody()
314 assert(NewF->getParent() != OrigF.getParent() && in moveFunctionBody()
319 CloneFunctionInto(NewF, &OrigF, VMap, /*ModuleLevelChanges=*/true, Returns, in moveFunctionBody()