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

#include <JitEngineDevice.hpp>

Public Member Functions

 BinaryInfo ()=default
 
 BinaryInfo (FatbinWrapperT *FatbinWrapper, SmallVector< std::string > &&LinkedModuleIds)
 
FatbinWrapperTgetFatbinWrapper () const
 
std::unique_ptr< LLVMContext > & getLLVMContext ()
 
bool hasLinkedModule () const
 
Module & getLinkedModule ()
 
bool hasExtractedModules () const
 
const SmallVector< std::reference_wrapper< Module > > getExtractedModules () const
 
void setExtractedModules (SmallVector< std::unique_ptr< Module > > &Modules)
 
bool hasModuleHash () const
 
HashT getModuleHash () const
 
void setModuleHash (HashT HashValue)
 
void updateModuleHash (HashT HashValue)
 
CallGraph & getCallGraph ()
 
bool hasDeviceBinary ()
 
MemoryBufferRef getDeviceBinary ()
 
void setDeviceBinary (std::unique_ptr< MemoryBuffer > DeviceBinaryBuffer)
 
void addModuleId (const char *ModuleId)
 
auto & getModuleIds ()
 

Constructor & Destructor Documentation

◆ BinaryInfo() [1/2]

proteus::BinaryInfo::BinaryInfo ( )
default

◆ BinaryInfo() [2/2]

proteus::BinaryInfo::BinaryInfo ( FatbinWrapperT FatbinWrapper,
SmallVector< std::string > &&  LinkedModuleIds 
)
inline

Member Function Documentation

◆ addModuleId()

void proteus::BinaryInfo::addModuleId ( const char *  ModuleId)
inline

◆ getCallGraph()

CallGraph & proteus::BinaryInfo::getCallGraph ( )
inline

◆ getDeviceBinary()

MemoryBufferRef proteus::BinaryInfo::getDeviceBinary ( )
inline

◆ getExtractedModules()

const SmallVector< std::reference_wrapper< Module > > proteus::BinaryInfo::getExtractedModules ( ) const
inline

◆ getFatbinWrapper()

FatbinWrapperT * proteus::BinaryInfo::getFatbinWrapper ( ) const
inline

◆ getLinkedModule()

Module & proteus::BinaryInfo::getLinkedModule ( )
inline

◆ getLLVMContext()

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

◆ getModuleHash()

HashT proteus::BinaryInfo::getModuleHash ( ) const
inline

◆ getModuleIds()

auto & proteus::BinaryInfo::getModuleIds ( )
inline

◆ hasDeviceBinary()

bool proteus::BinaryInfo::hasDeviceBinary ( )
inline

◆ hasExtractedModules()

bool proteus::BinaryInfo::hasExtractedModules ( ) const
inline

◆ hasLinkedModule()

bool proteus::BinaryInfo::hasLinkedModule ( ) const
inline

◆ hasModuleHash()

bool proteus::BinaryInfo::hasModuleHash ( ) const
inline

◆ setDeviceBinary()

void proteus::BinaryInfo::setDeviceBinary ( std::unique_ptr< MemoryBuffer >  DeviceBinaryBuffer)
inline

◆ setExtractedModules()

void proteus::BinaryInfo::setExtractedModules ( SmallVector< std::unique_ptr< Module > > &  Modules)
inline

◆ setModuleHash()

void proteus::BinaryInfo::setModuleHash ( HashT  HashValue)
inline

◆ updateModuleHash()

void proteus::BinaryInfo::updateModuleHash ( HashT  HashValue)
inline

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