Project Alice
Loading...
Searching...
No Matches
fif::interpreter_stack Class Reference

#include <fif.hpp>

Inheritance diagram for fif::interpreter_stack:
Collaboration diagram for fif::interpreter_stack:

Public Member Functions

 interpreter_stack ()
 
virtual void pop_main () override
 
virtual void pop_return () override
 
virtual void resize (size_t main_sz, size_t return_sz) override
 
virtual int64_t main_data (size_t index) const override
 
virtual int64_t return_data (size_t index) const override
 
virtual LLVMValueRef main_ex (size_t index) const override
 
virtual LLVMValueRef return_ex (size_t index) const override
 
virtual int64_t main_data_back (size_t index) const override
 
virtual int64_t return_data_back (size_t index) const override
 
virtual LLVMValueRef main_ex_back (size_t index) const override
 
virtual LLVMValueRef return_ex_back (size_t index) const override
 
virtual void set_main_data (size_t index, int64_t value) override
 
virtual void set_return_data (size_t index, int64_t value) override
 
virtual void set_main_ex (size_t index, LLVMValueRef value) override
 
virtual void set_return_ex (size_t index, LLVMValueRef value) override
 
virtual void set_main_data_back (size_t index, int64_t value) override
 
virtual void set_return_data_back (size_t index, int64_t value) override
 
virtual void set_main_ex_back (size_t index, LLVMValueRef value) override
 
virtual void set_return_ex_back (size_t index, LLVMValueRef value) override
 
virtual stack_type get_type () const override
 
virtual void move_into (state_stack &&other) override
 
virtual void copy_into (state_stack const &other) override
 
virtual void push_back_main (int32_t type, int64_t data, LLVMValueRef expr) override
 
virtual void push_back_return (int32_t type, int64_t data, LLVMValueRef expr) override
 
virtual std::unique_ptr< state_stackcopy () const override
 
- Public Member Functions inherited from fif::state_stack
void mark_used_from_main (size_t count)
 
void mark_used_from_return (size_t count)
 
 state_stack ()=default
 
 state_stack (state_stack &&)=default
 
 state_stack (const state_stack &)=default
 
virtual ~state_stack ()=default
 
virtual void pop_main ()=0
 
virtual void pop_return ()=0
 
virtual int64_t main_data (size_t index) const =0
 
virtual int64_t return_data (size_t index) const =0
 
virtual LLVMValueRef main_ex (size_t index) const =0
 
virtual LLVMValueRef return_ex (size_t index) const =0
 
virtual int64_t main_data_back (size_t index) const =0
 
virtual int64_t return_data_back (size_t index) const =0
 
virtual LLVMValueRef main_ex_back (size_t index) const =0
 
virtual LLVMValueRef return_ex_back (size_t index) const =0
 
virtual void set_main_data (size_t index, int64_t value)=0
 
virtual void set_return_data (size_t index, int64_t value)=0
 
virtual void set_main_ex (size_t index, LLVMValueRef value)=0
 
virtual void set_return_ex (size_t index, LLVMValueRef value)=0
 
virtual void set_main_data_back (size_t index, int64_t value)=0
 
virtual void set_return_data_back (size_t index, int64_t value)=0
 
virtual void set_main_ex_back (size_t index, LLVMValueRef value)=0
 
virtual void set_return_ex_back (size_t index, LLVMValueRef value)=0
 
virtual stack_type get_type () const =0
 
virtual void move_into (state_stack &&other)=0
 
virtual void copy_into (state_stack const &other)=0
 
virtual void push_back_main (int32_t type, int64_t data, LLVMValueRef expr)=0
 
virtual void push_back_return (int32_t type, int64_t data, LLVMValueRef expr)=0
 
virtual std::unique_ptr< state_stackcopy () const =0
 
virtual void resize (size_t main_sz, size_t return_sz)=0
 
size_t main_size () const
 
size_t return_size () const
 
int32_t main_type (size_t index) const
 
int32_t return_type (size_t index) const
 
int32_t main_type_back (size_t index) const
 
int32_t return_type_back (size_t index) const
 
void set_main_type (size_t index, int32_t type)
 
void set_return_type (size_t index, int32_t type)
 
void set_main_type_back (size_t index, int32_t type)
 
void set_return_type_back (size_t index, int32_t type)
 

Public Attributes

std::vector< int64_t > main_datas
 
std::vector< int64_t > return_datas
 
- Public Attributes inherited from fif::state_stack
size_t min_main_depth = 0
 
size_t min_return_depth = 0
 

Additional Inherited Members

- Protected Attributes inherited from fif::state_stack
std::vector< int32_t > main_types
 
std::vector< int32_t > return_types
 

Detailed Description

Definition at line 887 of file fif.hpp.

Constructor & Destructor Documentation

◆ interpreter_stack()

fif::interpreter_stack::interpreter_stack ( )
inline

Definition at line 892 of file fif.hpp.

Member Function Documentation

◆ copy()

virtual std::unique_ptr< state_stack > fif::interpreter_stack::copy ( ) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 1011 of file fif.hpp.

◆ copy_into()

virtual void fif::interpreter_stack::copy_into ( state_stack const &  other)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 992 of file fif.hpp.

◆ get_type()

virtual stack_type fif::interpreter_stack::get_type ( ) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 973 of file fif.hpp.

◆ main_data()

virtual int64_t fif::interpreter_stack::main_data ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 921 of file fif.hpp.

Here is the caller graph for this function:

◆ main_data_back()

virtual int64_t fif::interpreter_stack::main_data_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 933 of file fif.hpp.

◆ main_ex()

virtual LLVMValueRef fif::interpreter_stack::main_ex ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 927 of file fif.hpp.

◆ main_ex_back()

virtual LLVMValueRef fif::interpreter_stack::main_ex_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 939 of file fif.hpp.

◆ move_into()

virtual void fif::interpreter_stack::move_into ( state_stack &&  other)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 976 of file fif.hpp.

Here is the caller graph for this function:

◆ pop_main()

virtual void fif::interpreter_stack::pop_main ( )
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 894 of file fif.hpp.

◆ pop_return()

virtual void fif::interpreter_stack::pop_return ( )
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 903 of file fif.hpp.

◆ push_back_main()

virtual void fif::interpreter_stack::push_back_main ( int32_t  type,
int64_t  data,
LLVMValueRef  expr 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 1003 of file fif.hpp.

◆ push_back_return()

virtual void fif::interpreter_stack::push_back_return ( int32_t  type,
int64_t  data,
LLVMValueRef  expr 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 1007 of file fif.hpp.

◆ resize()

virtual void fif::interpreter_stack::resize ( size_t  main_sz,
size_t  return_sz 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 912 of file fif.hpp.

◆ return_data()

virtual int64_t fif::interpreter_stack::return_data ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 924 of file fif.hpp.

◆ return_data_back()

virtual int64_t fif::interpreter_stack::return_data_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 936 of file fif.hpp.

◆ return_ex()

virtual LLVMValueRef fif::interpreter_stack::return_ex ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 930 of file fif.hpp.

◆ return_ex_back()

virtual LLVMValueRef fif::interpreter_stack::return_ex_back ( size_t  index) const
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 942 of file fif.hpp.

◆ set_main_data()

virtual void fif::interpreter_stack::set_main_data ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 945 of file fif.hpp.

◆ set_main_data_back()

virtual void fif::interpreter_stack::set_main_data_back ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 959 of file fif.hpp.

◆ set_main_ex()

virtual void fif::interpreter_stack::set_main_ex ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 953 of file fif.hpp.

◆ set_main_ex_back()

virtual void fif::interpreter_stack::set_main_ex_back ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 967 of file fif.hpp.

◆ set_return_data()

virtual void fif::interpreter_stack::set_return_data ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 949 of file fif.hpp.

◆ set_return_data_back()

virtual void fif::interpreter_stack::set_return_data_back ( size_t  index,
int64_t  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 963 of file fif.hpp.

◆ set_return_ex()

virtual void fif::interpreter_stack::set_return_ex ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 956 of file fif.hpp.

◆ set_return_ex_back()

virtual void fif::interpreter_stack::set_return_ex_back ( size_t  index,
LLVMValueRef  value 
)
inlineoverridevirtual

Implements fif::state_stack.

Definition at line 970 of file fif.hpp.

Member Data Documentation

◆ main_datas

std::vector<int64_t> fif::interpreter_stack::main_datas

Definition at line 889 of file fif.hpp.

◆ return_datas

std::vector<int64_t> fif::interpreter_stack::return_datas

Definition at line 890 of file fif.hpp.


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