OmniSciDB  a987f07e93
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
anonymous_namespace{CgenState.cpp}::GpuFunction< TYPES > Struct Template Referencefinal
+ Inheritance diagram for anonymous_namespace{CgenState.cpp}::GpuFunction< TYPES >:
+ Collaboration diagram for anonymous_namespace{CgenState.cpp}::GpuFunction< TYPES >:

Public Member Functions

 GpuFunction (char const *name)
 
llvm::FunctionCallee getFunction (llvm::Module *llvm_module, llvm::LLVMContext &context) const
 
- Public Member Functions inherited from anonymous_namespace{CgenState.cpp}::GpuFunctionDefinition
 GpuFunctionDefinition (char const *name)
 
virtual ~GpuFunctionDefinition ()=default
 

Additional Inherited Members

- Public Attributes inherited from anonymous_namespace{CgenState.cpp}::GpuFunctionDefinition
char const *const name_
 

Detailed Description

template<typename... TYPES>
struct anonymous_namespace{CgenState.cpp}::GpuFunction< TYPES >

Definition at line 280 of file CgenState.cpp.

Constructor & Destructor Documentation

template<typename... TYPES>
anonymous_namespace{CgenState.cpp}::GpuFunction< TYPES >::GpuFunction ( char const *  name)
inline

Definition at line 281 of file CgenState.cpp.

Member Function Documentation

template<typename... TYPES>
llvm::FunctionCallee anonymous_namespace{CgenState.cpp}::GpuFunction< TYPES >::getFunction ( llvm::Module *  llvm_module,
llvm::LLVMContext &  context 
) const
inlinevirtual

Implements anonymous_namespace{CgenState.cpp}::GpuFunctionDefinition.

Definition at line 283 of file CgenState.cpp.

284  {
285  return llvm_module->getOrInsertFunction(name_, getTy<TYPES>(context)...);
286  }

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