Proteus
Programmable JIT compilation and optimization for C/C++ using LLVM
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
proteus::VarStorageOwner< StorageT > Struct Template Reference

#include <Var.hpp>

Collaboration diagram for proteus::VarStorageOwner< StorageT >:
Collaboration graph
[legend]

Public Member Functions

 VarStorageOwner (std::unique_ptr< StorageT > StorageIn, FuncBase &FnIn)
 
 VarStorageOwner (FuncBase &FnIn)
 
Value * loadValue () const
 
void storeValue (Value *Val)
 
Value * getSlot () const
 
Type * getValueType () const
 
Type * getAllocatedType () const
 

Public Attributes

FuncBaseFn
 
std::unique_ptr< StorageTStorage = nullptr
 

Constructor & Destructor Documentation

◆ VarStorageOwner() [1/2]

template<typename StorageT >
proteus::VarStorageOwner< StorageT >::VarStorageOwner ( std::unique_ptr< StorageT StorageIn,
FuncBase FnIn 
)
inline

◆ VarStorageOwner() [2/2]

template<typename StorageT >
proteus::VarStorageOwner< StorageT >::VarStorageOwner ( FuncBase FnIn)
inline

Member Function Documentation

◆ getAllocatedType()

template<typename StorageT >
Type * proteus::VarStorageOwner< StorageT >::getAllocatedType ( ) const
inline

◆ getSlot()

template<typename StorageT >
Value * proteus::VarStorageOwner< StorageT >::getSlot ( ) const
inline

◆ getValueType()

template<typename StorageT >
Type * proteus::VarStorageOwner< StorageT >::getValueType ( ) const
inline

◆ loadValue()

template<typename StorageT >
Value * proteus::VarStorageOwner< StorageT >::loadValue ( ) const
inline

◆ storeValue()

template<typename StorageT >
void proteus::VarStorageOwner< StorageT >::storeValue ( Value *  Val)
inline

Member Data Documentation

◆ Fn

◆ Storage

template<typename StorageT >
std::unique_ptr<StorageT> proteus::VarStorageOwner< StorageT >::Storage = nullptr

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