Displaying 1 result from an estimated 1 matches for "_newfunction".
Did you mean:
newfunction
2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
...ValueToValueMapTy VMap;
Function *new_function = CloneFunction(&F, VMap, false);
new_function->setName(functionName + “_newfunction");
F.getParent()->getFunctionList().push_back(new_function);
Function::ArgumentListType::iterator it = F.getArgumentList(...