Displaying 1 result from an estimated 1 matches for "__swordomp__".
2016 Mar 01
2
Insert CallInst within a function passing same parameters of the calling function.
...CallInst::Create(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() && "Ca...