Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
proteus::JitModule Class Reference

#include <JitFrontend.h>

Public Member Functions

 JitModule (const std::string &Target="host")
 
 JitModule (const JitModule &)=delete
 
JitModuleoperator= (const JitModule &)=delete
 
 JitModule (JitModule &&)=delete
 
JitModuleoperator= (JitModule &&)=delete
 
 ~JitModule ()
 
template<typename Sig >
auto & addFunction (const std::string &Name)
 
bool isCompiled () const
 
template<typename Sig >
auto addKernel (const std::string &Name)
 
void compile (bool Verify=false)
 
const HashTgetModuleHash () const
 
DispatchergetDispatcher () const
 
TargetModelType getTargetModel () const
 
CompiledLibrarygetLibrary ()
 
void print ()
 

Constructor & Destructor Documentation

◆ JitModule() [1/3]

proteus::JitModule::JitModule ( const std::string &  Target = "host")

◆ JitModule() [2/3]

proteus::JitModule::JitModule ( const JitModule )
delete

◆ JitModule() [3/3]

proteus::JitModule::JitModule ( JitModule &&  )
delete

◆ ~JitModule()

proteus::JitModule::~JitModule ( )
default

Member Function Documentation

◆ addFunction()

template<typename Sig >
auto & proteus::JitModule::addFunction ( const std::string &  Name)
inline

◆ addKernel()

template<typename Sig >
auto proteus::JitModule::addKernel ( const std::string &  Name)
inline

◆ compile()

void proteus::JitModule::compile ( bool  Verify = false)

◆ getDispatcher()

Dispatcher & proteus::JitModule::getDispatcher ( ) const
inline

◆ getLibrary()

CompiledLibrary & proteus::JitModule::getLibrary ( )
inline

◆ getModuleHash()

const HashT & proteus::JitModule::getModuleHash ( ) const

◆ getTargetModel()

TargetModelType proteus::JitModule::getTargetModel ( ) const
inline

◆ isCompiled()

bool proteus::JitModule::isCompiled ( ) const
inline

◆ operator=() [1/2]

JitModule & proteus::JitModule::operator= ( const JitModule )
delete

◆ operator=() [2/2]

JitModule & proteus::JitModule::operator= ( JitModule &&  )
delete

◆ print()

void proteus::JitModule::print ( )

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