VapourSynth-llvmexpr
Loading...
Searching...
No Matches
MathFunctionGenerator< VectorWidth > Class Template Reference

#include <llvmexpr/codegen/llvm/Math.hpp>

Public Member Functions

 MathFunctionGenerator (llvm::Module *module, llvm::LLVMContext &context)
template<MathOp op>
llvm::Function * getOrCreate ()

Friends

template<int, MathOp>
struct MathFunctionImpl

Detailed Description

template<int VectorWidth>
class MathFunctionGenerator< VectorWidth >

Definition at line 122 of file Math.hpp.

Constructor & Destructor Documentation

◆ MathFunctionGenerator()

template<int VectorWidth>
MathFunctionGenerator< VectorWidth >::MathFunctionGenerator ( llvm::Module * module,
llvm::LLVMContext & context )
inline

Definition at line 124 of file Math.hpp.

125 : module(module), context(context), builder(context) {}

Member Function Documentation

◆ getOrCreate()

template<int VectorWidth>
template<MathOp op>
llvm::Function * MathFunctionGenerator< VectorWidth >::getOrCreate ( )

Definition at line 745 of file Math.hpp.

References MathFunctionImpl.

◆ MathFunctionImpl

template<int VectorWidth>
template<int, MathOp>
friend struct MathFunctionImpl
friend

Definition at line 130 of file Math.hpp.

References MathFunctionImpl.

Referenced by getOrCreate(), and MathFunctionImpl.


The documentation for this class was generated from the following file: