OmniSciDB  72c90bc290
 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 override
 
- 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 281 of file CgenState.cpp.

Constructor & Destructor Documentation

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

Definition at line 282 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
inlineoverridevirtual

Implements anonymous_namespace{CgenState.cpp}::GpuFunctionDefinition.

Definition at line 284 of file CgenState.cpp.

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

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