[LLVMdev] Request for guidance calling math routines, e.g. log, tan
Bob Floyd
bobfloyd at comcast.net
Mon Mar 31 09:30:24 PDT 2014
I am populating llvm via. IRBuilder followed by JIT, and need to call math
functions, e.g. log, tan, but seem to be in outer space on how this is done
in llvm.
Is it as simple as a call to `Module::getFunction( "llvm.log.f128" )` for
the `Value*` required by `IRBuilder::CreateCall(Value*,..)` ?
Then, where is the definition of "llvm.log.f128"?
Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140331/d33032a2/attachment.html>
More information about the llvm-dev
mailing list