search for: setnameimpl

Displaying 1 result from an estimated 1 matches for "setnameimpl".

2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
...ate(new_function->getFunctionType(), new_function, args, functionName + "__swordomp__", &F.getEntryBlock().front()); } but I am getting the following error: void llvm::Value::setNameImpl(const llvm::Twine&): Assertion `!getType()->isVoidTy() && "Cannot assign a name to void values!"' failed. How should I fix it? Thanks. Best, Simone