[LLVMdev] Request for guidance calling math routines, e.g. log, tan

Bob Floyd
2014-03-31T16:30:24Z

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>