Lines Matching refs:NewF
167 Function *NewF = in cloneFunctionDecl() local
170 NewF->copyAttributesFrom(&F); in cloneFunctionDecl()
173 (*VMap)[&F] = NewF; in cloneFunctionDecl()
174 auto NewArgI = NewF->arg_begin(); in cloneFunctionDecl()
180 return NewF; in cloneFunctionDecl()
185 Function *NewF) { in moveFunctionBody() argument
187 if (!NewF) in moveFunctionBody()
188 NewF = cast<Function>(VMap[&OrigF]); in moveFunctionBody()
190 assert(VMap[&OrigF] == NewF && "Incorrect function mapping in VMap."); in moveFunctionBody()
191 assert(NewF && "Function mapping missing from VMap."); in moveFunctionBody()
192 assert(NewF->getParent() != OrigF.getParent() && in moveFunctionBody()
197 CloneFunctionInto(NewF, &OrigF, VMap, /*ModuleLevelChanges=*/true, Returns, in moveFunctionBody()