#include <llvmexpr/codegen/llvm/Math.hpp>
Definition at line 760 of file Math.hpp.
◆ MathLibraryManager()
| MathLibraryManager::MathLibraryManager |
( |
llvm::Module * | module, |
|
|
llvm::LLVMContext & | context ) |
|
inline |
Definition at line 762 of file Math.hpp.
763 : module(module), context(context) {}
◆ getFunction()
| llvm::Function * MathLibraryManager::getFunction |
( |
MathOp | op | ) |
|
|
inline |
Definition at line 765 of file Math.hpp.
765 {
766 if (auto it = func_cache.find(op); it != func_cache.end()) {
767 return it->second;
768 }
769 return generateAndCache(op);
770 }
The documentation for this class was generated from the following file: