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

#include <JitEngineDevice.hpp>

Public Member Functions

 JITKernelInfo (void *Kernel, BinaryInfo &BinInfo, char const *Name, ArrayRef< RuntimeConstantInfo * > RCInfoArray)
 
 JITKernelInfo ()=default
 
void * getKernel () const
 
std::unique_ptr< LLVMContext > & getLLVMContext ()
 
const std::string & getName () const
 
ArrayRef< RuntimeConstantInfo * > getRCInfoArray () const
 
bool hasModule () const
 
Module & getModule () const
 
BinaryInfogetBinaryInfo () const
 
void setModule (std::unique_ptr< llvm::Module > Mod)
 
bool hasBitcode ()
 
void setBitcode (std::unique_ptr< MemoryBuffer > ExtractedBitcode)
 
MemoryBufferRef getBitcode ()
 
bool hasStaticHash () const
 
const HashT getStaticHash () const
 
void createStaticHash (HashT ModuleHash)
 
bool hasLambdaCalleeInfo ()
 
const auto & getLambdaCalleeInfo ()
 
void setLambdaCalleeInfo (SmallVector< std::pair< std::string, StringRef > > &&LambdaInfo)
 

Constructor & Destructor Documentation

◆ JITKernelInfo() [1/2]

proteus::JITKernelInfo::JITKernelInfo ( void *  Kernel,
BinaryInfo BinInfo,
char const *  Name,
ArrayRef< RuntimeConstantInfo * >  RCInfoArray 
)
inline

◆ JITKernelInfo() [2/2]

proteus::JITKernelInfo::JITKernelInfo ( )
default

Member Function Documentation

◆ createStaticHash()

void proteus::JITKernelInfo::createStaticHash ( HashT  ModuleHash)
inline

◆ getBinaryInfo()

BinaryInfo & proteus::JITKernelInfo::getBinaryInfo ( ) const
inline

◆ getBitcode()

MemoryBufferRef proteus::JITKernelInfo::getBitcode ( )
inline

◆ getKernel()

void * proteus::JITKernelInfo::getKernel ( ) const
inline

◆ getLambdaCalleeInfo()

const auto & proteus::JITKernelInfo::getLambdaCalleeInfo ( )
inline

◆ getLLVMContext()

std::unique_ptr< LLVMContext > & proteus::JITKernelInfo::getLLVMContext ( )
inline

◆ getModule()

Module & proteus::JITKernelInfo::getModule ( ) const
inline

◆ getName()

const std::string & proteus::JITKernelInfo::getName ( ) const
inline

◆ getRCInfoArray()

ArrayRef< RuntimeConstantInfo * > proteus::JITKernelInfo::getRCInfoArray ( ) const
inline

◆ getStaticHash()

const HashT proteus::JITKernelInfo::getStaticHash ( ) const
inline

◆ hasBitcode()

bool proteus::JITKernelInfo::hasBitcode ( )
inline

◆ hasLambdaCalleeInfo()

bool proteus::JITKernelInfo::hasLambdaCalleeInfo ( )
inline

◆ hasModule()

bool proteus::JITKernelInfo::hasModule ( ) const
inline

◆ hasStaticHash()

bool proteus::JITKernelInfo::hasStaticHash ( ) const
inline

◆ setBitcode()

void proteus::JITKernelInfo::setBitcode ( std::unique_ptr< MemoryBuffer >  ExtractedBitcode)
inline

◆ setLambdaCalleeInfo()

void proteus::JITKernelInfo::setLambdaCalleeInfo ( SmallVector< std::pair< std::string, StringRef > > &&  LambdaInfo)
inline

◆ setModule()

void proteus::JITKernelInfo::setModule ( std::unique_ptr< llvm::Module >  Mod)
inline

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